You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
When I try to run the SSD.ipny , I got the error. "concat" mode can only merge layers with matching output shapes except for the concat axis. Layer shapes: [(None, 38, 38, 512), (None, 19, 19, 1024), (None, 10, 10, 512), (None, 5, 5, 256), (None, 3, 3, 256), (None, 1, 1, 256)]
The error point to line 274 ,where the code wants to concatenate the six layers's prior boxes.
Could you tell me the reason of error? thank you for much.
The text was updated successfully, but these errors were encountered:
oh, I get the reason. the reason is the different version of Keras. The great work in this project is using the Keras version 1.22, where writing your own Keras layer design the layer's output shape by get_output_shape_for(input_shape). But there are some different in Keras version 2.1.3, where writing your own Keras layer design the layer's output shape by compute_output_shape(input_shape).
So, you just replace the old name of function by the new.
When I try to run the SSD.ipny , I got the error. "concat" mode can only merge layers with matching output shapes except for the concat axis. Layer shapes: [(None, 38, 38, 512), (None, 19, 19, 1024), (None, 10, 10, 512), (None, 5, 5, 256), (None, 3, 3, 256), (None, 1, 1, 256)]
The error point to line 274 ,where the code wants to concatenate the six layers's prior boxes.
Could you tell me the reason of error? thank you for much.
The text was updated successfully, but these errors were encountered: