Image-Super-Resolution icon indicating copy to clipboard operation
Image-Super-Resolution copied to clipboard

Fix for newer Keras versions

Open progmars opened this issue 5 years ago • 1 comments

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: https://github.com/keras-team/keras/issues/12649 the method has be renamed to image_data_format.

progmars avatar Sep 13 '19 09:09 progmars

instead of that you can use image_data_format()

sambit221 avatar Dec 12 '22 07:12 sambit221