Unable to load the weights of the model
log.txtError occurred when loading the downloading the model weights.
Loading weights from models/model.h5
Traceback (most recent call last):
File "src/webcam-demo.py", line 58, in <module>
model = get_model(args.model_path, thres)
File "/mnt/Sarat_Drive/saratnew/mleng/aicrowd-detect-masks/src/utils.py", line 106, in get_model
model.load_weights(model_path, by_name=True)
File "/mnt/Sarat_Drive/saratnew/mleng/aicrowd-detect-masks/src/mrcnn/model.py", line 2130, in load_weights
saving.load_weights_from_hdf5_group_by_name(f, layers)
File "/home/sarat/.local/share/virtualenvs/sarat-MQQR7BuB/lib/python3.6/site-packages/keras/engine/saving.py", line 1149, in load_weights_from_hdf5_group_by_name
str(weight_values[i].shape) + '.')
ValueError: Layer #221 (named "mrcnn_bbox_fc"), weight <tf.Variable 'mrcnn_bbox_fc/kernel:0' shape=(1024, 12) dtype=float32_ref> has shape (1024, 12), but the saved weight has shape (1024, 8).
```[log.txt](/uploads/d741065ce3d7a3b146286f083d24af24/log.txt)