Instructions to use JcProg/PCBInspect-LeadDefect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use JcProg/PCBInspect-LeadDefect 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-LeadDefect", "<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-LeadDefect: direct link, hf CLI and curl.
- Browser
- Download file 53 Bytes
-
https://huggingface.co/JcProg/PCBInspect-LeadDefect/resolve/main/labels.json
- Command line
-
hf download hf://JcProg/PCBInspect-LeadDefect/labels.json
-
curl -L -o labels.json https://huggingface.co/JcProg/PCBInspect-LeadDefect/resolve/main/labels.json
53 Bytes
| { | |
| "0": "Golden", | |
| "1": "SolderInsufficient" | |
| } | |