我有一个保存的LSTM模型,我想使用它。不幸的是,我的工头有点马虎,没有写下他用来训练和保存模型的Keras版本
Keras版本是否保存在模型中?有没有办法找出哪种Keras版本用于培训和保存
我在尝试加载时遇到此错误:
File "/home/ebike/.local/lib/python3.6/site-packages/keras/models.py", line 238, in load_model
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'
正如我在另一篇文章中读到的那样,h5py
包版本可能存在问题。我怎样才能找到Keras 2.0.8的正确版本
谢谢你的时间和帮助
目前没有回答
相关问题 更多 >
编程相关推荐