Closed li0128 closed 4 years ago
File "main.py", line 4, in from torchlight import import_class ImportError: cannot import name 'import_class'
how to deal with it?
you should "pip uninstall torchlight", because the path of torchlight has two paths, we need import torchlight from our project, not python's package.
File "main.py", line 4, in
from torchlight import import_class
ImportError: cannot import name 'import_class'