Open Samveed opened 6 years ago
Traceback (most recent call last): File "generate_samples.py", line 32, in model_class = locate('model_def.%s' % args.model_type) File "/usr/lib/python2.7/pydoc.py", line 1504, in locate nextmodule = safeimport(join(parts[:n+1], '.'), forceload) File "/usr/lib/python2.7/pydoc.py", line 341, in safeimport raise ErrorDuringImport(path, sys.exc_info()) pydoc.ErrorDuringImport: problem in model_def.dcgan_theano - <type 'exceptions.ImportError'>: cannot import name raise_from
This is the error, I am getting. It would be great if you could help me out here.
What is the command that you are running? Could you import the library by yourself? This post might be relevant.
Traceback (most recent call last): File "generate_samples.py", line 32, in
model_class = locate('model_def.%s' % args.model_type)
File "/usr/lib/python2.7/pydoc.py", line 1504, in locate
nextmodule = safeimport(join(parts[:n+1], '.'), forceload)
File "/usr/lib/python2.7/pydoc.py", line 341, in safeimport
raise ErrorDuringImport(path, sys.exc_info())
pydoc.ErrorDuringImport: problem in model_def.dcgan_theano - <type 'exceptions.ImportError'>: cannot import name raise_from
This is the error, I am getting. It would be great if you could help me out here.