AdneneBoumessouer / MVTec-Anomaly-Detection

This project proposes an end-to-end framework for semi-supervised Anomaly Detection and Segmentation in images based on Deep Learning.
274 stars 59 forks source link

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

Open hammerarthur1 opened 2 years ago

hammerarthur1 commented 2 years ago

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.

burn4science commented 9 months ago

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.