anmspro / Traffic-Signal-Violation-Detection-System

A Computer Vision based Traffic Signal Violation Detection System from video footage using YOLOv3 & Tkinter. (GUI Included)
GNU General Public License v3.0
438 stars 166 forks source link

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

Open HusoBey21 opened 3 years ago

HusoBey21 commented 3 years ago

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(