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

Error in cycleGAN.py: ImportError: cannot import name 'InstanceNormalization' from 'keras_contrib.layers.normalization #28

Closed
emres opened this issue Dec 3, 2019 · 0 comments · Fixed by #29

Comments

@emres
Copy link
Contributor

emres commented Dec 3, 2019

Hello,

When running 05_01_cyclegan_train.ipynb Jupyter notebook, which, in turn, runs cycleGAN.py, Line 4 produces the following error:

ImportError: cannot import name 'InstanceNormalization' from 'keras_contrib.layers.normalization

If Line 4 is replaced with the following line, the error is not produced and Jupyter notebook can run:

from keras_contrib.layers.normalization.instancenormalization import InstanceNormalization

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

Successfully merging a pull request may close this issue.

1 participant