I created a model using Keras library and saved the model as .json and its weights with .h5 extension. How can I download this onto my local machine?
to save the model I
You can run the following after training.
saver = tf.train.Saver()
save_path = saver.save(session, "data/dm.ckpt")
print('done saving at',save_path)
Then check the location where the ckpt files were saved.
import os
print( os.getcwd() )
print( os.listdir('data') )
Finally download the files with weight!
from google.colab import files
files.download( "data/dm.ckpt.meta" )