Home

Awesome

This project is an unofficial implementation of "EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latencies".

PWC

PWC

Datasets

./data

Quick start

1. Install PyTorch environment

conda activate <your_env>
pip install -r requirements.txt

1. Distill a PDN architecture teacher network from wide_resnet101

python distillaion_training.py

2. train the student network and autoencoder network

python train_reduced_student.py  -c configs/mvtec_train.yaml

Pretrain Weights

Download pretrain weights from release page.

Some results

ModelDatasetOfficial Paperours
EfficientAD-MVisA98.197.54
EfficientAD-MMvtec LOCO90.7pending
EfficientAD-MMvtec AD99.199.36
EfficientAD-SVisA97.597.20
EfficientAD-SMvtec LOCO90.0pending
EfficientAD-SMvtec AD98.898.51

MVTec bottle