Prepare datasets for SuperSimpleNet
mainDatasets must be prepared and stored in a specific directory structure. You can use the provided scripts in ./datamodules/setup/ to automate the download and extraction for MVTec, VisA, and KSDD2.
Dataset Preparation Steps:
- Navigate to
./datamodules/setup/. - Run
prepare_mvtec.py(MVTec). - Run
prepare_visa.py(VisA - handles splits automatically). - Run
prepare_ksdd2.py(KSDD2). - SensumSODF (Manual):
- Request a link from the official site.
- Download and extract to the dataset folder.
- Download the 3-fold CV split files and place the
sensum_splitsfolder inside the SensumSODF root.
Required Directory Structure:
datasets/
KolektorSDD2/
train/...
test/...
SensumSODF/
capsule/...
softgel/...
sensum_splits/
capsule/...
softgel/...
mvtec/
bottle/...
visa/
visa_pytorch/
candle/...