junyanz / iGAN

Interactive Image Generation via Generative Adversarial Networks
MIT License
3.97k stars 590 forks source link

Import issues #24

Open Samveed opened 6 years ago

Samveed commented 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.

junyanz commented 6 years ago

What is the command that you are running? Could you import the library by yourself? This post might be relevant.