Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get .pkl file #2

Open
IceIce1ce opened this issue Jan 1, 2025 · 3 comments
Open

How to get .pkl file #2

IceIce1ce opened this issue Jan 1, 2025 · 3 comments

Comments

@IceIce1ce
Copy link

Hi author,

I try to generate template from scratch. However, it needs wide_resnet101_2_ALL.pkl file to run, where can I generate this file for each class.

@NarcissusEx
Copy link
Owner

Thanks for your attentions! You can try to run this script: "python run.py --mode temp --ttype ALL --dataset MVTec_AD --datapath <data_path>"

@IceIce1ce
Copy link
Author

IceIce1ce commented Jan 1, 2025

Hi, when I run that script first. I noticed that it will be in the function load_template in config.py file which require .pkl file to run. Can you check your code again? Thank you.

@NarcissusEx
Copy link
Owner

I am sorry for my carelessness. Now, I have fixed this bug and please update the code to run. Thank you for pointing out the bug! I appreciate your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants