Replies: 2 comments
-
Hello. I can't reproduce this. I recommend that you follow the getting started guide and get a fresh environment. If you are sure that your env is properly setup, something might be wrong with the weights. Try deleting the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @Rkoy145, moving this to Q&A as this does not seem to be an issue. Let's discuss this there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
The error message is "RuntimeError: Expected hasRecord("version") to be true, but got false."
It happens at line
"self.model.teacher.load_state_dict(torch.load(teacher_path, map_location=torch.device(self.device)))"
in function prepare_pretrained_model
I've tried torch lightning from 1.7 to 1.10, and this error presists.
Dataset
MVTec
Model
Other (please specify in the field below)
Steps to reproduce the behavior
Model:EfficientAd model
just run "python3 tools/train.py --model efficient_ad" and i get this error
OS information
OS information:
Ubuntu 20.0
python 3.9.12
Anomalib version: 0.7.0
Expected behavior
Load model weight.
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
The original YAML, with changed dataset path
Logs
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions