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 compatibility issue with newest kereas 2.x #158

Open
divfor opened this issue Sep 19, 2017 · 8 comments
Open

import compatibility issue with newest kereas 2.x #158

divfor opened this issue Sep 19, 2017 · 8 comments

Comments

@divfor
Copy link

divfor commented Sep 19, 2017

keras-team/keras#5870
two errors: cannot import activity_l2, cannot import layer_from_config

activity_l1 is deleted and was equal to l1
activity_l2 is deleted and was equal to l2
as for layer_from_config:
#from keras.utils.layer_utils import layer_from_config
from keras.layers import deserialize as layer_from_config

@rawmean
Copy link

rawmean commented Sep 24, 2017

There are several compatibility issues in vgg16_avg.py

@RaananHadar
Copy link

Most of the course is currently not compatible with Keras 2.0 api.
I guess @jph00 and @racheltho need to decide whether they want to upgrade the first course to keras 2.0 or just reshoot the whole thing in pytorch.

@rawmean
Copy link

rawmean commented Oct 5, 2017

The changes to make it compatible with keras 2.0 were easy and mostly obvious.

@taewookim
Copy link

@rawmean : Can you post those changes?

@StanislawAbyszkin
Copy link

I had same issue today and solved it by uninstalling Keras 2.x.x and installing Keras 1.2.2

@taewookim
Copy link

Updated modules: https://github.com/roebius/deeplearning_keras2

@bprashanth14
Copy link

@taewookim Do the updated modules work with Python 2.7 or only with Python 3 ?

@taewookim
Copy link

Never tested with Python 2

dineshkumarsarangapani pushed a commit to dineshkumarsarangapani/courses that referenced this issue Sep 29, 2018
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

6 participants