Skip to content

Conversation

RobertFlatt
Copy link
Contributor

Add noCompress "tflite" aapt option to build.tmpl.gradle
This is required for Tensorflow Lite .tflite files which must now be in the assets directory and not included in the Python bundle.

https://www.tensorflow.org/lite/inference_with_metadata/task_library/object_detector#step_1_import_gradle_dependency_and_other_settings

Discussion:

  1. No impact on files other that .tflite files in the assets directory.
  2. This could potentially be implemented with a build option specifying configurable file types rather than the fixed tflite. Decided against this as there appears no demonstrated need to justify the added functionality.

@tito tito merged commit 04b3d50 into kivy:develop Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants