Hi, sir,
I run the command in sampler_training.sh, replace datapath, and get
" No module named 'patchcore' " file "bin/run_patchcore.py", line 12, import patchcore.backbones
I did not change file structure.
I try to add " sys.path.insert(0, os.path.join(os.path.dirname(file), '../')) " in bin/run_patchcore.py , but get same error.
So, what should I do?
Hi, sir, I run the command in sampler_training.sh, replace datapath, and get " No module named 'patchcore' " file "bin/run_patchcore.py", line 12, import patchcore.backbones I did not change file structure. I try to add " sys.path.insert(0, os.path.join(os.path.dirname(file), '../')) " in bin/run_patchcore.py , but get same error. So, what should I do?