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
File "C:\Anaconda3\lib\site-packages\keras\layers\merge.py", line 354, in build
'Got inputs shapes: %s' % (input_shape))
ValueError: A Concatenate layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(None, 128, 12, 192), (None, 32, 12, 192), (None, 32, 12, 102), (None, 64, 12, 192)]
Code where its breaking.
file: merge.py
def concatenate(inputs, axis=-1, **kwargs):
"""Functional interface to the Concatenate layer.
# Arguments
inputs: A list of input tensors (at least 2).
axis: Concatenation axis.
**kwargs: Standard layer keyword arguments.
# Returns
A tensor, the concatenation of the inputs alongside axis `axis`.
"""
return Concatenate(axis=axis, **kwargs)(inputs)
The text was updated successfully, but these errors were encountered:
1.While running Rec-feat.py, Python.exe stops working abnormally. It breaks at following line while debugging
FRmodel = load_model('face-rec_Google.h5')
2.While running Train-inception.py, getting following error:
---------------------------------------ERROR------------------------------------------------
File "C:\Anaconda3\lib\site-packages\keras\layers\merge.py", line 354, in build
'Got inputs shapes: %s' % (input_shape))
ValueError: A
Concatenate
layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(None, 128, 12, 192), (None, 32, 12, 192), (None, 32, 12, 102), (None, 64, 12, 192)]Code where its breaking.
file: merge.py
def concatenate(inputs, axis=-1, **kwargs):
"""Functional interface to the
Concatenate
layer.The text was updated successfully, but these errors were encountered: