Shape-Guided
Shape-Guided copied to clipboard
No module named 'utils.mvtec3d_util'
(base) anywhere3090l@3090l:~/Desktop/Shape-Guided$ python tools/preprocessing.py /home/anywhere3090l/Desktop/Shape-Guided/mvtec3d
Traceback (most recent call last):
File "/home/anywhere3090l/Desktop/Shape-Guided/tools/preprocessing.py", line 8, in
At the beginning of the tools/preprocessing.py file, manually add the project's root directory to sys.path:
import sys
import os
project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(project_root)
import utils.mvtec3d_util as mvt_util