-
Notifications
You must be signed in to change notification settings - Fork 19.4k
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
None is not supported in input_shape [bug] #5900
Comments
Your problem is the order of input_shape. You assume channels come first, but whether channels come first or last depends on the configuration in If your |
Nope. I use |
Tried your code and works for me on Theano. Double check the ordering actually loaded in keras. import keras.backend as K
print(K.image_dim_ordering())
Cheers |
Just realized I gave you the old API. import keras.backend as K
print(K.image_dim_ordering())
print(K.image_data_format())
|
Thank you. As you both said, the |
In the new release v2.0.1,
None
is not supported in input_shape, whileNone
is must-have for a fully-convolutional network. Below is an exampleThe text was updated successfully, but these errors were encountered: