Instructions to use mozilla-ai/swimming-pool-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use mozilla-ai/swimming-pool-detector 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("mozilla-ai/swimming-pool-detector", "<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
-
Update README.md
Verified signature2e02a9f
-
Upload val_batch0_pred.jpg with huggingface_hub
Verified signaturea307a06 -
Upload model.pt with huggingface_hub
Verified signaturead9ed9c
-
Upload val_batch0_pred.jpg with huggingface_hub
Verified signature998e0f3 -
Upload README.md with huggingface_hub
Verified signature6e74b0c -
Upload README.md with huggingface_hub
Verified signaturec177940 -
Upload model.pt with huggingface_hub
Verified signature419c9f7 -
initial commit
Verified signature8756d02