SHARE
TWEET

Untitled

a guest Apr 24th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top