Views
No views yet
1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4model_path = hf_hub_download(repo_id="industoai/Egg-Instance-Segmentation", filename="model/egg_segmentor.pt")
5model = YOLO(model_path)
6result = model("path/to/image")