tf to tflite conversion showing ambiguous sizes
AnweshaDeb97 opened this issue · 0 comments
AnweshaDeb97 commented
Whenever I am trying to convert tf to tflite using different optimization techniques, it is showing the same final size. The model sizes I am getting are as follows :-
.h5 model size : 711 KB
- after pruning+post-quantization : 89 KB (according to https://www.tensorflow.org/model_optimization/guide/pruning/pruning_with_keras , it should create 10x smaller model)
- after clustering+post-quantizaion : 89 KB
- after post-quantization : 89 KB
- after quantize-aware-training : 89 KB
I want to know the reason behind the same final optimized sizes. Even though I am using different optimization techniques, why am I getting the same final .tflite file sizes for different optimizations.
Note : I have also tried optimization using the code provided in examples for pruning, clustering and quantize-aware training on tensorflow website, still seeing the same final size for all optimizations.