Update sam.md and sam-2.md (#17286)

This commit is contained in:
Muhammad Rizwan Munawar 2024-10-31 16:42:05 +05:00 committed by GitHub
parent 9c72d94ba4
commit bfa6f9a8e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ from pathlib import Path
from ultralytics import SAM, YOLO
def auto_annotate(data, det_model="yolov8x.pt", sam_model="sam_b.pt", device="", output_dir=None):
def auto_annotate(data, det_model="yolo11x.pt", sam_model="sam_b.pt", device="", output_dir=None):
"""
Automatically annotates images using a YOLO object detection model and a SAM segmentation model.