anomaly-detection

Dataset structure

./data   
│
├── bottle
│   ├── ground_truth
│   ├── train
│   └── test
│
├── carpet
├── leather
├── grid

Train model

  • Run the following command.
python train.py --target bottle --model resnet18 -c 0 --lr 0.001

Reference

  1. bayesian-optimization python library