flutter_tflite_audio icon indicating copy to clipboard operation
flutter_tflite_audio copied to clipboard

App size Increased.

Open taimoor522 opened this issue 2 years ago • 2 comments

My Tensorflow model which I trained using teachable machines has a size of 5MB but after adding the model and flutter_tflite_audio package, my app size increased from 20MB to 54MB.

Is there any solution?

taimoor522 avatar Apr 27 '22 09:04 taimoor522

This a documented problem with teachable machine models. For more information take a look here

As described on the link, the only way you can reduce the size of your app is to build your own custom model and remove tflite-select-ops from your Android manifest and iOS podfile

Caldarie avatar Apr 27 '22 10:04 Caldarie

@Caldarie thank you

taimoor522 avatar Apr 27 '22 11:04 taimoor522