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

Fix for newer Keras versions #37

Open
progmars opened this issue Sep 13, 2019 · 1 comment
Open

Fix for newer Keras versions #37

progmars opened this issue Sep 13, 2019 · 1 comment

Comments

@progmars
Copy link

I got an error:
AttributeError: module 'keras.backend' has no attribute 'image_dim_ordering'

If you want to support newer Keras, then according to this:
keras-team/keras#12649
the method has be renamed to image_data_format.

@progmars progmars changed the title Fix for Keras 2 Fix for newer Keras versions Sep 13, 2019
@sambit221
Copy link

instead of that you can use image_data_format()

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