keras-team / keras-applications

Reference implementations of popular deep learning models.
Other
2k stars 910 forks source link

Reshape error when making ResNext model with input shape (None, None, 3). #110

Closed YuanYunshuang closed 5 years ago

YuanYunshuang commented 5 years ago

I want to input images with different size. And the input shape is set to (None, None, 3). But the error occurs at line 229 and 230 of "resnet_common.py"

x_shape = backend.int_shape(x)[1:-1] x = layers.Reshape(x_shape + (groups, c, c))(x) The first line returns a shape with None, but the reshape function raised the error "None values not supported" How can I solve this issue?

taehoonlee commented 5 years ago

@YuanYunshuang, the issue will be resolved by #85. I'll close the issue for now. Please feel free to open it again at any time if you have additional comments.