Skip to content

Instantly share code, notes, and snippets.

@margaretmz
Last active July 13, 2020 04:32
Show Gist options
  • Save margaretmz/22a00660ef3acdeba479b19c24957557 to your computer and use it in GitHub Desktop.
Save margaretmz/22a00660ef3acdeba479b19c24957557 to your computer and use it in GitHub Desktop.
selfie2anime-tflite-conversion
converter = tf.lite.TFLiteConverter.from_concrete_functions([concrete_func])
converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]
tflite_model = converter.convert()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment