Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################## EXPORT MODEL FOR ANDROID #######################################
- model.save('molinette_model.h5')
- converter = tf.lite.TFLiteConverter.from_keras_model_file("molinette_model.h5")
- tflite_model = converter.convert()
- open("converted_model.tflite", "wb").write(tflite_model)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement