YoojLee / Uniformaly

Uniformaly: Towards Task-Agnostic Unified Anomaly Detection
Apache License 2.0
12 stars 1 forks source link

how to slove this error? #3

Open baoyuchen opened 2 months ago

baoyuchen commented 2 months ago

I wrote two sh files based on your run_defect.sh file from the author. One is the file for training 6afa15017dd4226a96e27c0355eb4e4 After the training was completed, I verified the images with a validation file. Here I have validated only the bottle class from mvtec data. sh file is shown below. demo2 Then I run the sh file to get the following. demo3 But my thought was that if I wanted to save the picture results of my reasoning. Let's say I want to reason about just one image, then how should I go about saving the result? Can I do the reasoning with the help of eval.py? Or do I need to write my own script to reason about a single image? demo4 But when I run it again it produces an error In a nutshell, my aim is that I want to use a trained model to achieve inference on images and to save the inferred images, how can this be achieved?

baoyuchen commented 2 months ago

![Uploading demo5.png…]() this is error

YoojLee commented 2 months ago

Hi,

It seems that the last image you uploaded is not available. Would you please upload it again?

Thanks!