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
Upload labels.json with huggingface_hub
Browse files- labels.json +8 -0
labels.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"0": "ForeignMaterial",
|
| 3 |
+
"1": "Golden",
|
| 4 |
+
"2": "MissingPart",
|
| 5 |
+
"3": "Shift",
|
| 6 |
+
"4": "Tombstone",
|
| 7 |
+
"5": "WrongPart"
|
| 8 |
+
}
|