Skip to content
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

ValueError: Operands could not be broadcast together with shapes (None, None, 3) (None, None, 64) #9

Open
HusoBey21 opened this issue May 18, 2021 · 0 comments

Comments

@HusoBey21
Copy link

Traceback (most recent call last):

File "C:\Users\huseyin\yolo\obj_detect.py", line 394, in
yolov3 = BoundBox.make_yolov3_model()

File "C:\Users\huseyin\yolo\obj_detect.py", line 117, in make_yolov3_model
x=BoundBox._conv_block(input_image,[{'filter':32,

File "C:\Users\huseyin\yolo\obj_detect.py", line 91, in _conv_block
return add([skip_connection, x]) if skip else x

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\layers\merge.py", line 767, in add
return Add(**kwargs)(inputs)

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\engine\base_layer.py", line 945, in call
return self._functional_construction_call(inputs, args, kwargs,

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\engine\base_layer.py", line 1083, in _functional_construction_call
outputs = self._keras_tensor_symbolic_call(

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\engine\base_layer.py", line 816, in _keras_tensor_symbolic_call
return self._infer_output_signature(inputs, args, kwargs, input_masks)

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\engine\base_layer.py", line 854, in _infer_output_signature
self._maybe_build(inputs)

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\engine\base_layer.py", line 2601, in _maybe_build
self.build(input_shapes) # pylint:disable=not-callable

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\utils\tf_utils.py", line 258, in wrapper
output_shape = fn(instance, input_shape)

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\layers\merge.py", line 107, in build
output_shape = self._compute_elemwise_op_output_shape(output_shape, shape)

File "C:\Users\huseyin\anaconda3\lib\site-packages\keras\layers\merge.py", line 78, in _compute_elemwise_op_output_shape
raise ValueError(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant