MVTec-Anomaly-Detection icon indicating copy to clipboard operation
MVTec-Anomaly-Detection copied to clipboard

No such file or directory, when test.py with -s for save segmented images

Open hammerarthur1 opened this issue 3 years ago • 1 comments

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.

hammerarthur1 avatar Oct 04 '21 08:10 hammerarthur1

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.

burn4science avatar Nov 22 '23 15:11 burn4science