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 "...keras/keras/src/layers/merging/base_merge.py", line 65, in build
if not isinstance(input_shape[0], (tuple, list)):
TypeError: 'NoneType' object is not subscriptable
Possible root cause:
layer input is a list. is_nested does not return True for a list therefore the Callspec tensor_arg_dict is empty, and add's build gets a None as its input_shape argument
The text was updated successfully, but these errors were encountered:
Keras Version: 3.3.3
Example code:
Error trace:
Possible root cause:
layer input is a list. is_nested does not return True for a list therefore the Callspec tensor_arg_dict is empty, and add's
build
gets a None as its input_shape argumentThe text was updated successfully, but these errors were encountered: