ModuleNotFoundError: No module named 'utils.pyt_utils'
Trying to run bash script.sh I got the following error
Traceback (most recent call last):
File "train.py", line 17, in
Adding [to script.sh before import utils]
PYTHONPATH="<MyPath>/TorchSemiSeg-main/furnace/"
Did not solve the problem
What could be the problem? Thanks Moran
You could try this: import sys sys.path.append('absolute path of you file: img_utils')
I also encountered this problem when running the program. I tried your method and it didn't solve it. What is the specific reason? Is there a way to solve it?
你可以试试这个:导入sys sys.path.append('你的文件的绝对路径:img_utils')
I also encountered this problem when running the program. I tried your method and it didn't solve it. What is the specific reason? Is there a way to solve it?