Answers for "how to save the history of keras model"

0

how to save the history of keras model

#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.
Posted by: Guest on September-07-2021

Python Answers by Framework

Browse Popular Code Answers by Language