Skip to content

Instantly share code, notes, and snippets.

@VedPDubey
Created June 24, 2021 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VedPDubey/3af7e66a9fce537b1afbf7909b936ae3 to your computer and use it in GitHub Desktop.
Save VedPDubey/3af7e66a9fce537b1afbf7909b936ae3 to your computer and use it in GitHub Desktop.
show_final_history(history)
# model.load_weights('base.model')
model_json = model.to_json()
with open("model.json","w") as json_file:
json_file.write(model_json)
model.save("model.h5")
print("Weights Saved")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment