Restrict ONNX ExecutionProviders (#18400)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
9935b45377
commit
c9a48b281e
6 changed files with 23 additions and 20 deletions
|
|
@ -576,11 +576,11 @@ def test_model_embeddings():
|
|||
@pytest.mark.skipif(checks.IS_PYTHON_3_12, reason="YOLOWorld with CLIP is not supported in Python 3.12")
|
||||
def test_yolo_world():
|
||||
"""Tests YOLO world models with CLIP support, including detection and training scenarios."""
|
||||
model = YOLO("yolov8s-world.pt") # no YOLO11n-world model yet
|
||||
model = YOLO(WEIGHTS_DIR / "yolov8s-world.pt") # no YOLO11n-world model yet
|
||||
model.set_classes(["tree", "window"])
|
||||
model(SOURCE, conf=0.01)
|
||||
|
||||
model = YOLO("yolov8s-worldv2.pt") # no YOLO11n-world model yet
|
||||
model = YOLO(WEIGHTS_DIR / "yolov8s-worldv2.pt") # no YOLO11n-world model yet
|
||||
# Training from a pretrained model. Eval is included at the final stage of training.
|
||||
# Use dota8.yaml which has fewer categories to reduce the inference time of CLIP model
|
||||
model.train(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue