You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instructions for updating:
Use tf.cast instead.
Traceback (most recent call last):
File "main.py", line 108, in
model.load_weights(H5_WEIGHT_PATH, by_name=True)
File "C:\WWW\convert\convert_all\mrcnn_serving_ready-master\mrcnn_serving_ready-master\model.py", line 2131, in load_weights
saving.load_weights_from_hdf5_group_by_name(f, layers)
File "C:\Program Files\Python37\lib\site-packages\keras\engine\saving.py", line 1328, in load_weights_from_hdf5_group_by_name
str(weight_values[i].shape) + '.')
ValueError: Layer #391 (named "mrcnn_bbox_fc"), weight <tf.Variable 'mrcnn_bbox_fc/kernel:0' shape=(1024, 24) dtype=float32> has shape (1024, 24), but the saved weight has shape (1024, 8).
The text was updated successfully, but these errors were encountered:
File url:
https://nomeroff.net.ua/models/mrcnn/mask_rcnn_numberplate_1000_2019_10_07.h5
Error:
Instructions for updating:
Use
tf.cast
instead.Traceback (most recent call last):
File "main.py", line 108, in
model.load_weights(H5_WEIGHT_PATH, by_name=True)
File "C:\WWW\convert\convert_all\mrcnn_serving_ready-master\mrcnn_serving_ready-master\model.py", line 2131, in load_weights
saving.load_weights_from_hdf5_group_by_name(f, layers)
File "C:\Program Files\Python37\lib\site-packages\keras\engine\saving.py", line 1328, in load_weights_from_hdf5_group_by_name
str(weight_values[i].shape) + '.')
ValueError: Layer #391 (named "mrcnn_bbox_fc"), weight <tf.Variable 'mrcnn_bbox_fc/kernel:0' shape=(1024, 24) dtype=float32> has shape (1024, 24), but the saved weight has shape (1024, 8).
The text was updated successfully, but these errors were encountered: