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

Switch to K.image_data_format #3

Open
evictor opened this issue Aug 26, 2019 · 0 comments
Open

Switch to K.image_data_format #3

evictor opened this issue Aug 26, 2019 · 0 comments

Comments

@evictor
Copy link

evictor commented Aug 26, 2019

I noticed that keras.backend.image_dim_ordering has been replaced by image_data_format (same package). I was going to submit a PR for py-agender to use this new symbol, but I'm not aware if this will cause backwards compatibility issues and how you might like to handle that.

Please advise. For now I am monkey patching like so in my code (drop-in replacement):

# Patch for PyAgender usage of an old API
from keras import backend as K
K.image_dim_ordering = K.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

1 participant