Skip to content

Instantly share code, notes, and snippets.

@SkalskiP
Last active May 15, 2018 22:29
Show Gist options
  • Save SkalskiP/285cd4e285b98752ad8bb20f917e88d5 to your computer and use it in GitHub Desktop.
Save SkalskiP/285cd4e285b98752ad8bb20f917e88d5 to your computer and use it in GitHub Desktop.
saving trained Python model in from readable by TensorFlow.js
import tensorflowjs as tfjs
# creating and training of model using Keras
# ...
tfjs.converters.save_keras_model(model, './ModelJS')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment