GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ChungKein4320/pcb-defect-detection-benchmark: Source-wise PCB defect detection benchmark with YOLOv11s, RT-DETR, Faster R-CNN, and a cleaned 6-class merged dataset.

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
configs
configs
 
 
data
data
 
 
docs
docs
 
 
notebooks
notebooks
 
 
reports
reports
 
 
scripts
scripts
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Semi-Supervised Deformable DETR and a Multi-Source PCB Benchmark

Repository checks

This repository studies PCB defect localization in two settings. A university team project tests whether unlabeled images help Deformable DETR when few images have annotations. A separate public benchmark compares five detectors on a merged dataset from three sources.

Semi-Supervised Deformable DETR Research

The supervised baseline fine-tunes Deformable DETR on 5% or 10% of the training images. In the semi-supervised recipes, an exponential moving average (EMA) of the student acts as a teacher. It predicts boxes on unlabeled images, and the student learns from those pseudo-labels alongside ground-truth boxes.

The recipes adapt three ideas from Semi-DETR. SHM duplicates pseudo-targets within the existing one-to-one matcher. CQC matches predictions and penalizes class and box disagreement as a proxy for the paper's decoder-level consistency. CPM uses assignment costs and a Gaussian mixture with a quantile fallback to filter the boxes used for consistency. Semi-DETR (CVPR 2023)

Training recipe Test AP50–95 at 5% labeled Test AP50–95 at 10% labeled
Supervised Deformable DETR 0.5422 0.6007
Vanilla DETR-SSOD 0.5383 0.6116
SHM approximation 0.5621 0.6151
SHM + CQC proxy 0.5545 0.6191
SHM + CQC + CPM 0.5439 0.6211

The table reports historical test scores on the five-class coursework split (2,518 train, 840 validation, 838 test). SHM led at 5% labeling, where vanilla SSOD trailed the supervised baseline. SHM + CQC + CPM led at 10%. Each recipe used one seed. Changes in pseudo-label generation and sampling limit attribution to individual components, and a filename audit flagged possible train/test image-family overlap.

Results and analysis · Training implementations · Evidence provenance and limitations · Reproduction and local verification

Public Six-Class Detection Benchmark

The benchmark standardizes DeepPCB, DsPCBSD+, and HRIPCB into one taxonomy. The merged dataset contains 9,448 images (6,624 train, 937 validation, 1,887 test). The detector comparison covers one-stage, two-stage, and transformer models plus two custom recipes.

Detector Merged-test mAP50–95
YOLOv11s 0.5761
RT-DETR-L 0.6595
Faster R-CNN ResNet50-FPN 0.5918
YOLOv11s + CBAMLite + BiFPNLite + P2 0.5764
RT-DETR-L HybridOpt 0.6112

RT-DETR-L led the merged test and all three source subsets. Those subsets come from sources represented in training. The custom YOLO recipe moved merged AP by just 0.0003, and HybridOpt scored below stock RT-DETR-L. Spur had the lowest average AP across the five detectors.

See the benchmark guide and notebooks, merged results, source breakdown, and evaluation protocol. The protocol explains the evaluator and timing differences.

Historical Experiments and Notebook Outputs

The original experiments ran on Kaggle and in the coursework research environment. The public training notebooks are sanitized, with saved execution outputs removed for publication safety. The reported metrics were extracted and checked against saved outputs from the original notebooks. Intact copies are kept in a private local archive for local review only. Full independent reproduction through a new training or inference run remains unverified.

Inspect and reproduce

python -m pip install Pillow
python -m unittest discover -s tests -v
python scripts/validate_reproducibility.py
python scripts/check_semidetr_public_safety.py

These checks use committed artifacts and need no GPU or dataset. See the reproducibility guide for dataset audits, an offline benchmark notebook, and the requirements for training or verifying the original coursework evidence.

About

Source-wise PCB defect detection benchmark with YOLOv11s, RT-DETR, Faster R-CNN, and a cleaned 6-class merged dataset.

Topics

computer-visiondeep-learningfaster-rcnnkaggleobject-detectionpcb-defect-detectionpytorchrtdetrultralyticsyolo

Resources

Readme
Activity

Stars

5 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.