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
当我修改config.py的模型路径load_model_path = '/home/user/WWY/CRNN-with-STN-master/weights_with_STN.hdf5'
命令行报错:
ValueError: Layer #10 (named "spatial_transformer_1" in the current model) was found to correspond to layer spatial_transformer_1 in the save file. However the new layer spatial_transformer_1 expects 16 weights, but the saved weights have 8 elements.
如果是load_model_path = '/home/user/WWY/CRNN-with-STN-master/weights_without_STN.hdf5'
命令行报错:
ValueError: axes don't match array
这两个错误在我以前没有遇到过,我不知道如何修改,麻烦作者解答一下困惑,谢谢啦
The text was updated successfully, but these errors were encountered:
当我修改config.py的模型路径load_model_path = '/home/user/WWY/CRNN-with-STN-master/weights_with_STN.hdf5'
命令行报错:
ValueError: Layer #10 (named "spatial_transformer_1" in the current model) was found to correspond to layer spatial_transformer_1 in the save file. However the new layer spatial_transformer_1 expects 16 weights, but the saved weights have 8 elements.
如果是load_model_path = '/home/user/WWY/CRNN-with-STN-master/weights_without_STN.hdf5'
命令行报错:
ValueError: axes don't match array
这两个错误在我以前没有遇到过,我不知道如何修改,麻烦作者解答一下困惑,谢谢啦
The text was updated successfully, but these errors were encountered: