iGAN
iGAN copied to clipboard
from lib import activations
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 ?
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.