Instructions to use Ashgibbs/Cosmetic_Defect_Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Ashgibbs/Cosmetic_Defect_Detection 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("Ashgibbs/Cosmetic_Defect_Detection", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Upload best_detect.pt with huggingface_hub
Browse files- best_detect.pt +3 -0
best_detect.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1964839ef9ced15585c359e471d0f650bf8dbfc5076c969826a34030d40a0ffa
|
| 3 |
+
size 44036569
|