Open mandiayba opened 5 years ago
git issue with the imports from utils
Traceback (most recent call last): File "module_train/main_train.py", line 38, in from utils import word2term, onto ModuleNotFoundError: No module named 'utils'
a solution by adding
import sys, os sys.path.append(os.path.dirname(os.path.abspath(file))+"/..")
git issue with the imports from utils
Traceback (most recent call last): File "module_train/main_train.py", line 38, in
from utils import word2term, onto
ModuleNotFoundError: No module named 'utils'