hcw-00 / PatchCore_anomaly_detection

Unofficial implementation of PatchCore anomaly detection
Apache License 2.0
317 stars 95 forks source link

Traceback (most recent call last): File "train.py", line 434, in <module> #23

Open valadad opened 2 years ago

valadad commented 2 years ago

Hello, I have try to run your code by your sample cmd

python train.py --phase train or test --dataset_path .../mvtec_anomaly_detection --category carpet --project_root_path path/to/save/results --coreset_sampling_ratio 0.01 --n_neighbors 9

image

Fantasy1120 commented 2 years ago

You can try to install torch==1.7.1