Closed wahyurahmaniar closed 1 year ago
I set num_workers=0
and faiss_num_workers=0
for run_patchcore.py
and load_and_evaluate_patchcore.py
Hello, I have the same problem while loading the pkl file how did you solve it? System: Window Environment: python 3.9 torch 1.10
Set the num_workers=0
and faiss_num_workers=0
Sorry, I did not use Git lfs during the cloning repository. If we directly download the repository, we are not able to fetch data from git lfs file. So I clone the repository using git clone and than use git lfs to fetch pre-trained weights. In this way, we can load correctly. I think there is no connection of num worker with the loading of pkl file.
Set the num_workers=0
in run_patchcore.py
and faiss_num_workers=0
in load_and_evaluate_patchcore.py
Set the
num_workers=0
inrun_patchcore.py
andfaiss_num_workers=0
inload_and_evaluate_patchcore.py
Hi, I don't know why, but I'm still getting errors with this setup!
Hi, Thanks for sharing the code.
I have a problem running the evaluation. I got this error:
_pickle.UnpicklingError: invalid load key, 'v'.
Any solution? Thank you in advance.