ByChelsea / VAND-APRIL-GAN

[CVPR 2023 Workshop] VAND Challenge: 1st Place on Zero-shot AD and 4th Place on Few-shot AD
162 stars 20 forks source link

Issues Recreating Model #16

Open smithty48 opened 7 months ago

smithty48 commented 7 months ago

I have been trying to run the model for quite some time and finally stumbled across an error I think could be solved through an issue.

When running visa.py: image

and when running test.py: image

I did attempt also to run a version of test.py on my local machine and it couldn't find visa.json, which is why I was running visa.py. Please let me know if you have a solution or if there is something I might be doing incorrectly when loading in the model to get testing results.

Thanks!

smithty48 commented 7 months ago

image Here's another issue I have been seeing when trying to run .py files

ByChelsea commented 7 months ago

Hi, have you placed the dataset visa in the ./data folder? The issue you encountered when running visa.py seems to be because you haven't placed the dataset in the correct location.

I suggest preparing the data first by successfully running visa.py and mvtec.py before executing other files, as this will help prevent potential errors.