Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ################################## EXPORT MODEL FOR ANDROID #######################################
  2. model.save('molinette_model.h5')
  3. converter = tf.lite.TFLiteConverter.from_keras_model_file("molinette_model.h5")
  4. tflite_model = converter.convert()
  5. open("converted_model.tflite", "wb").write(tflite_model)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement