You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detection_model = AutoDetectionModel.from_pretrained(
model_type="yoloe",
model_path=MODEL_PATH,
confidence_threshold=0.35,
device="cpu", # or 'cuda:0' if GPU is available
)
I got such error, any idea how can I use yolo-world?
----> 9 detection_model = AutoDetectionModel.from_pretrained(
10 model_type="yoloe",
11 model_path="/content/runs/detect/train/weights/best.pt", # any yolov8/yolov9/yolo11/yolo12/rt-detr det model is supported
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I saw the corresponding model class are added. In colab, I clone and installed version 0.11.36
!git clone https://github.com/obss/sahi.git
!cd sahi && pip install -e .
However, when I use
detection_model = AutoDetectionModel.from_pretrained(
model_type="yoloe",
model_path=MODEL_PATH,
confidence_threshold=0.35,
device="cpu", # or 'cuda:0' if GPU is available
)
I got such error, any idea how can I use yolo-world?
----> 9 detection_model = AutoDetectionModel.from_pretrained(
10 model_type="yoloe",
11 model_path="/content/runs/detect/train/weights/best.pt", # any yolov8/yolov9/yolo11/yolo12/rt-detr det model is supported
/usr/local/lib/python3.12/dist-packages/sahi/auto_model.py in from_pretrained(model_type, model_path, model, config_path, device, mask_threshold, confidence_threshold, category_mapping, category_remapping, load_at_init, image_size, **kwargs)
KeyError: 'yoloe'
Beta Was this translation helpful? Give feedback.
All reactions