Instructions to use Ultralytics/YOLOv5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Ultralytics/YOLOv5 with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("Ultralytics/YOLOv5", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Commit History
-
Enable download stats
Verified signature@muhammadrizwanmunawar @fcakyon we added ultralytics as a library to HF Hub so this PR enables download stats (also opened it to other models). it would be great if you could host all the models in this repository in separate model repositories with one model per each, so people don't have to download all the models when they clone this repo and you can track download stats of each model separately, and have one descriptive model card per model to make the distinction between models. let us know if you need any help!6c617b2
-
Update README.md
Muhammad Rizwan MunawarVerified signature73fb27f
-
Update README.md
Muhammad Rizwan MunawarVerified signature14f6f61
-
Upload yolov5l6.pt
Muhammad Rizwan MunawarVerified signature4c01f33 -
Upload yolov5m6.pt
Muhammad Rizwan MunawarVerified signaturebe18ceb -
Upload model files
Muhammad Rizwan MunawarVerified signatureUpload model files553ca28 -
initial commit
Muhammad Rizwan MunawarVerified signature1c328ae