Created
October 27, 2018 17:00
-
-
Save caisq/c1e9470794ab15c5c840e7f082cd8ccb to your computer and use it in GitHub Desktop.
Convert Keras MobileNet Application intothe TensorFlow.js Format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import keras | |
import tensorflowjs as tfjs | |
model = keras.applications.mobilenet.MobileNet(alpha=0.25) | |
tfjs.converters.save_keras_model(model, '/tmp/mobilnet_0.25') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment