Traceback (most recent call last):


 "tools/train.py", line 158, in <module>

main(args)


 "tools/train.py", line 123, in main

epoch_id, 'train', config, vdl_writer)


 "/home/path_to_clone_PaddleClas/PaddleClas/tools/program.py", line 435, in run

metrics = exe.run(program=program, feed=batch, fetch_list=fetch_list)


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddle/fluid/executor.py", line 1071, in run

six.reraise(*sys.exc_info())


 "/usr/local/python3.5.1/lib/python3.5/site-packages/six.py", line 703, in reraise

raise value


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddle/fluid/executor.py", line 1066, in run

return_merged=return_merged)


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddle/fluid/executor.py", line 1167, in _run_impl

return_merged=return_merged)


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddle/fluid/executor.py", line 873, in _run_parallel

check_feed_shape_type(var, tensor)


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddle/fluid/executor.py", line 225, in check_feed_shape_type

(var.name, len(var.shape), var.shape, diff_shape))
ValueError: The fed Variable 'feed_image' should have dimensions = 4, shape = (-1, 1, 160, 160), but received fed shape [64, 3, 160, 160] on each device

Traceback (most recent call last):


 "trees_rgbz.py", line 365, in <module>

model.load_weights(weights_path, by_name=True, exclude=["conv1"])


 "/home/smorf/Mask_RCNN/mrcnn/model.py", line 2328, in load_weights

saving.load_weights_from_hdf5_group_by_name(f, layers)


 "/home/smorf/.local/lib/python3.6/site-packages/keras/engine/saving.py", line 1018, in load_weights_from_hdf5_group_by_name

str(weight_values[i].shape) + '.')
ValueError: Layer #389 (named "mrcnn_bbox_fc"), weight <tf.Variable 'mrcnn_bbox_fc/kernel:0' shape=(1024, 8) dtype=float32_ref> has shape (1024, 8), but the saved weight has shape (1024, 324).
