ultralytics 8.3.0 YOLO11 Models Release (#16539)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Laughing-q <1185102784@qq.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
efb0c17881
commit
6e43d1e1e5
50 changed files with 1154 additions and 407 deletions
|
|
@ -30,7 +30,7 @@ def test_similarity():
|
|||
@pytest.mark.skipif(not TORCH_1_13, reason="Explorer requires torch>=1.13")
|
||||
def test_det():
|
||||
"""Test detection functionalities and verify embedding table includes bounding boxes."""
|
||||
exp = Explorer(data="coco8.yaml", model="yolov8n.pt")
|
||||
exp = Explorer(data="coco8.yaml", model="yolo11n.pt")
|
||||
exp.create_embeddings_table(force=True)
|
||||
assert len(exp.table.head()["bboxes"]) > 0
|
||||
similar = exp.get_similar(idx=[1, 2], limit=10)
|
||||
|
|
@ -44,7 +44,7 @@ def test_det():
|
|||
@pytest.mark.skipif(not TORCH_1_13, reason="Explorer requires torch>=1.13")
|
||||
def test_seg():
|
||||
"""Test segmentation functionalities and ensure the embedding table includes segmentation masks."""
|
||||
exp = Explorer(data="coco8-seg.yaml", model="yolov8n-seg.pt")
|
||||
exp = Explorer(data="coco8-seg.yaml", model="yolo11n-seg.pt")
|
||||
exp.create_embeddings_table(force=True)
|
||||
assert len(exp.table.head()["masks"]) > 0
|
||||
similar = exp.get_similar(idx=[1, 2], limit=10)
|
||||
|
|
@ -57,7 +57,7 @@ def test_seg():
|
|||
@pytest.mark.skipif(not TORCH_1_13, reason="Explorer requires torch>=1.13")
|
||||
def test_pose():
|
||||
"""Test pose estimation functionality and verify the embedding table includes keypoints."""
|
||||
exp = Explorer(data="coco8-pose.yaml", model="yolov8n-pose.pt")
|
||||
exp = Explorer(data="coco8-pose.yaml", model="yolo11n-pose.pt")
|
||||
exp.create_embeddings_table(force=True)
|
||||
assert len(exp.table.head()["keypoints"]) > 0
|
||||
similar = exp.get_similar(idx=[1, 2], limit=10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue