Add Docs build to Ultralytics CI (#10388)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
99f8e863ed
commit
156b6be8d3
4 changed files with 19 additions and 2 deletions
|
|
@ -637,6 +637,7 @@ 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 different configurations, including classes, detection, and training scenarios."""
|
||||
model = YOLO("yolov8s-world.pt") # no YOLOv8n-world model yet
|
||||
model.set_classes(["tree", "window"])
|
||||
model(ASSETS / "bus.jpg", conf=0.01)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue