Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import issues #24

Open
Samveed opened this issue Jun 13, 2018 · 1 comment
Open

Import issues #24

Samveed opened this issue Jun 13, 2018 · 1 comment

Comments

@Samveed
Copy link

Samveed commented Jun 13, 2018

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
Copy link
Owner

junyanz commented Jun 16, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants