-
Anomaly detection
- vanilla CNN (supervised)
- resnet18 (supervised)
-
Dependencies
- Python 3.6+
- PyTorch==1.3
- Dataset: MVTec Anomaly Detection Dataset
./data
│
├── bottle
│ ├── ground_truth
│ ├── train
│ └── test
│
├── carpet
├── leather
├── grid
- Run the following command.
python train.py --target bottle --model resnet18 -c 0 --lr 0.001