Skip to content

Instantly share code, notes, and snippets.

Last active Aug 13, 2020
What would you like to do?
# Default Optimization is choosen
converter.optimizations = [tf.lite.Optimize.DEFAULT]
# Convert to TFLite Model
tflite_model = converter.convert()
# Save Model as tflite format
tflite_path = "deeplabv3_mnv2_custom_257.tflite"
tflite_model_size = open(tflite_path, 'wb').write(tflite_model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment