File size: 515 Bytes
7587ba5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
model_type: object-detection
model:
  name: Doors_YOLOv8
  path: yolov8n.pt

labels:
  - door

inference:
  tokenizer:
    class: transformers.PreTrainedTokenizerFast
    pretrained: 'ultralytics/yolov8'
  model:
    class: torch.hub.load
    path: 'Madronus/Doors_YOLOv8:master', 'yolov8n.pt' # Assuming using the Ultralytics' hub reference for YOLOv8
    force_download: true

pip_dependencies:
  # - yolov8 # Assuming there's a pip package named 'yolov8', you might need to change this to the correct dependency