junyanz / iGAN

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

from lib import activations #22

Open Quxyz opened 6 years ago

Quxyz commented 6 years ago

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 commented 6 years ago

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

Try something simple: