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

from lib import activations #22

Open
Quxyz opened this issue Apr 13, 2018 · 1 comment
Open

from lib import activations #22

Quxyz opened this issue Apr 13, 2018 · 1 comment

Comments

@Quxyz
Copy link

Quxyz commented Apr 13, 2018

when I run your code, there is an error:
ImportError Traceback (most recent call last)
in ()
5
6 from theano.sandbox.cuda.dnn import dnn_conv
----> 7 from lib import activations
8 from lib import inits
9 from lib.ops import batchnorm, deconv

ImportError: cannot import name activations

what can I do to solve this? sorry to bother you with such a simple question but I am a new one, coud you please help me ?

@junyanz
Copy link
Owner

junyanz commented Apr 15, 2018

You can try from .lib import activations. See more details on library import here.

Try something simple:

  • download the code
  • type python.
  • in the python environment, type from lib import activations. I just tried, and it worked for me.

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