Caldarie / flutter_tflite_audio

Audio classification Tflite package for flutter (iOS & Android). Can support Google Teachable Machine models
MIT License
63 stars 24 forks source link

App size Increased. #34

Open taimoor522 opened 2 years ago

taimoor522 commented 2 years ago

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?

Caldarie commented 2 years ago

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

taimoor522 commented 2 years ago

@Caldarie thank you