jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.71k stars 3.04k forks source link

Saving the model #113

Closed zaky9 closed 3 years ago

zaky9 commented 3 years ago

Hi, may I know how to save the model? im trying to use pickle since keras model is also included, I couldnt save it. Are there any other approach? Thank you

jeffheaton commented 3 years ago

See:

https://stackoverflow.com/questions/42763094/how-to-save-final-model-using-keras

My course covers it here: https://github.com/jeffheaton/t81_558_deep_learning/blob/master/t81_558_class_03_3_save_load.ipynb

https://github.com/jeffheaton/t81_558_deep_learning/blob/master/t81_558_class_13_02_checkpoint.ipynb