allanzelener / YAD2K

YAD2K: Yet Another Darknet 2 Keras
Other
2.71k stars 877 forks source link

Error when running test_yolo from notebook #101

Open sojohan opened 6 years ago

sojohan commented 6 years ago

Hi experts

I am running tensorflow 1.5 and use notebook to run test_yolo, but I get this error below. Any hints?

c:\program files\anaconda3\lib\site-packages\keras\models.py:252: UserWarning: No training configuration found in save file: the model was not compiled. Compile it manually. warnings.warn('No training configuration found in save file: '


InvalidArgumentError Traceback (most recent call last) c:\program files\anaconda3\lib\site-packages\tensorflow\python\framework\common_shapes.py in _call_cpp_shape_fn_impl(op, input_tensors_needed, input_tensors_as_shapes_needed, require_shape_fn) 685 graph_def_version, node_def_str, input_shapes, input_tensors, --> 686 input_tensors_as_shapes, status) 687 except errors.InvalidArgumentError as err:

c:\program files\anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py in exit(self, type_arg, value_arg, traceback_arg) 472 compat.as_text(c_api.TF_Message(self.status.status)), --> 473 c_api.TF_GetCode(self.status.status)) 474 # Delete the underlying status object from memory otherwise it stays alive

InvalidArgumentError: Dimensions must be equal, but are 2 and 80 for 'mul_3' (op: 'Mul') with input shapes: [?,?,?,5,2], [?,?,?,5,80].