Instructions to use JcProg/PCBInspect-BodyDefect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use JcProg/PCBInspect-BodyDefect 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("JcProg/PCBInspect-BodyDefect", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Download labels.json from JcProg/PCBInspect-BodyDefect: direct link, hf CLI and curl.
- Browser
- Download file 132 Bytes
-
https://huggingface.co/JcProg/PCBInspect-BodyDefect/resolve/main/labels.json
- Command line
-
hf download hf://JcProg/PCBInspect-BodyDefect/labels.json
-
curl -L -o labels.json https://huggingface.co/JcProg/PCBInspect-BodyDefect/resolve/main/labels.json
132 Bytes
| { | |
| "0": "ForeignMaterial", | |
| "1": "Golden", | |
| "2": "MissingPart", | |
| "3": "Shift", | |
| "4": "Tombstone", | |
| "5": "WrongPart" | |
| } | |