📜  如何保存keras模型的历史 - Python代码示例

📅  最后修改于: 2022-03-11 14:47:13.436000             🧑  作者: Mango

代码示例1
#The easiest way to save history of model
# saving
np.save('my_history.npy',history.history)

# loading
history=np.load('my_history.npy',allow_pickle='TRUE').item()

# Then history is a dictionary and you can retrieve all desirable values using the keys.