You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'cm' module is already in the directory of 'consistency_models-main'. If your current directory where you run *.py (or other program) is not the same path as ‘cm’, then your "ModuleNotFoundError: No module named 'cm'" will occour.
The 'cm' module is already in the directory of 'consistency_models-main'. If your current directory where you run *.py (or other program) is not the same path as ‘cm’, then your "ModuleNotFoundError: No module named 'cm'" will occour.
i run ./scripts/cm_train.py,but still meet same error.
The 'cm' module is already in the directory of 'consistency_models-main'. If your current directory where you run *.py (or other program) is not the same path as ‘cm’, then your "ModuleNotFoundError: No module named 'cm'" will occour.
i run ./scripts/cm_train.py,but still meet same error.
I haver solve this problem, run 'python cm_train.py' and add 'sys.path.append('../')' in cm_train.py
ModuleNotFoundError: No module named 'cm'
How to solve this problem when importing classes from cm package? Does it mean that the project have to be built first?
The text was updated successfully, but these errors were encountered: