MVTec-Anomaly-Detection
MVTec-Anomaly-Detection copied to clipboard
No such file or directory, when test.py with -s for save segmented images
When using -s or --save (without any further information of a path), the script tells me, that the path ...MVTec-Anomaly-Detection-master\results\mvtec/bottle\baselineCAE\l2\04-10-2021_09-32-18\test\ssim_float64\segmentation\broken_large\000_seg.png' is not availible. When I use the -s with a path to any folder (eg. to ...\results\mvtec\bottle\baselineCAE\l2\04-10-2021_09-32-18\test\ssim_float64\segmentation) the script tells me, that there are unrecognized arguments. How to properly use the image segmentation?
Kindly asking for help.
You don't need any further input, just use -s
.
Did you call the finetuning.py
script before? The test script can only be run afterwards.