Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #save #history #keras #model
ADD COMMENT
Topic
Name
5+4 =