Instructions to use DevendraG1/Annotra-YOLO11n-DeepPCB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use DevendraG1/Annotra-YOLO11n-DeepPCB 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("DevendraG1/Annotra-YOLO11n-DeepPCB", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Annotra β YOLO11n DeepPCB
Model Overview
This is an optional specialist object detection model developed for Annotra, a general-purpose AI-assisted image annotation platform, as part of the AI Vision course at SRH University Heidelberg.
The model is based on Ultralytics YOLO11n and was fine-tuned on the DeepPCB dataset for PCB defect annotation.
Training Dataset
- Dataset: DeepPCB
- Training images: 850
- Validation images: 150
- Test images: 500
Dataset source: https://github.com/tangsanli5201/DeepPCB
Supported Classes
| Class ID | Category |
|---|---|
| 0 | Open |
| 1 | Short |
| 2 | Mousebite |
| 3 | Spur |
| 4 | Copper |
| 5 | Pin-hole |
Evaluation Results
Evaluated on the official 500-image DeepPCB test split containing 3,140 reference defects.
| Metric | Result |
|---|---|
| mAP@50 | 97.32% |
| mAP@50:95 | 76.37% |
| Precision | 93.65% |
| Recall | 94.87% |
| Micro-F1 | 94.26% |
| True positives | 2979 |
| False positives | 202 |
| False negatives | 161 |
Precision, recall and F1 were measured at confidence 0.55 and IoU 0.50. The confidence threshold was selected using validation data.
Model Configuration
- Architecture: YOLO11n
- Input size: 640 pixels
- Checkpoint: best.pt
- File size: 5,479,258 bytes
- Evaluation confidence: 0.55
- Application confidence: 0.25
- NMS IoU: 0.70
SHA-256
40c370c9958d83e5a3e0d3573bb8541b7dced8eb088ff7b23029e8141b06da35
Integration with Annotra
Download best.pt and place it in the application's model_weights directory.
The checkpoint enables the optional PCB specialist workflow. The main general-purpose annotation workflow uses YOLO-World v2 and CLIP independently.
Intended Use and Limitations
This model is intended for educational and research use in human-reviewed PCB defect annotation.
It has not been validated for production quality-control decisions or unrelated image domains. Performance may degrade on unseen board designs and imaging conditions.
Human review remains necessary.
Source Code and Reproducibility
License and Attribution
AGPL-3.0, subject to applicable upstream terms.
The model was fine-tuned using DeepPCB, which carries a research-use notice. No DeepPCB images are redistributed in this repository. Independent authorization concerning checkpoint redistribution has not been confirmed.
Author
Devendra Santosh Ghawat
M.Sc. Applied AI and Data Science
SRH University Heidelberg
AI Vision Project β November 2026
- Downloads last month
- 86