Skip to content

THUSIGSICLAB/ETDNet

Repository files navigation

[IEEE TIM] ETDNet for Surface Defect Detection

📢 Introduction

This is the official implementation of our paper titled "ETDNet: Efficient Transformer-Based Detection Network for Surface Defect Detection". This paper has been accepted by IEEE Transactions on Instrumentation and Measurement (IEEE TIM).

For more details, please refer to our paper. This repo is based on PyTorch.

📂 Datasets and Weight

We release Sewer Defect Detection Dataset (SEDD) dataset used in this paper. The SEDD contains 7563 images with a resolution of 1920 × 1080. It collects sewer pipeline images of three typical surface defects crack, root, and deposit. One distinct characteristic of SEDD is that it has a high proportion of defect-free images (nearly two-thirds), which makes the detection scene more consistent with the real world.

Download the dataset from corresponding link below.

We also release NEU-DET dataset used in this paper, including VOC style and COCO style. Note that five-flod cross-validation is used to divide the dataset.

Download the dataset(s) from corresponding links below.

The COCO pretrained weight of our ETDNet:

🚀 Training

More configuration please see tools/mytrain.py and exps/neu_det/etdnet_neu_flod1.py, where you can set device num, dataset path, batch size, weight path, and so on.

python3 tools/mytrain.py -f exps/neu_det/etdnet_neu_flod1.py -d 4 -b 16 -c weigth/etdnet.pth --fp16

🏆 Result

Our ETDNet achieves excellent performance on the NEU-DET dataset and is more lightweight and efficient.

The detection accuracy of our method is much higher than that of the yolo series.

🎡 Visualization

Examples of detection results obtained by the proposed ETDNet on NEU-DET dataset. (a) Ground truth; (b) Prediction images by ETDNet.

📚 Citation

Please cite our work if you find our work and codes helpful for your research.

@article{zhou2023etdnet,
  title={ETDNet: Efficient Transformer-based Detection Network for Surface Defect Detection},
  author={Zhou, Hantao and Yang, Rui and Hu, Runze and Shu, Chang and Tang, Xiaochu and Li, Xiu},
  journal={IEEE Transactions on Instrumentation and Measurement},
  year={2023},
  publisher={IEEE}
}

Acknowledgement

This project is built upon numerous previous projects. We'd like to thank the contributors of YOLOX.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published