Skip to content

Fix for newer Keras versions #37

@progmars

Description

@progmars

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions