tensorflow-yolov4-tflite icon indicating copy to clipboard operation
tensorflow-yolov4-tflite copied to clipboard

Tensorflow and tflite yolo models are of huge sizes

Open Aparajit-Garg opened this issue 3 years ago • 1 comments

Hi, Thank you for a great repository. I am trying to execute the save_model.py file to generate tensorflow model for yolov4-416 original model and then converting it to tflite model using convert_tflite.py, all the programs execute successfully but the tflite model is of 245 Mb in space, which does not seem right. Can anyone please help out?

Command for pb conversion: python save_model.py --weights ./data/yolov4.weights --output ./checkpoints/yolov4-416 --input_size 416 --model yolov4 --framework tflite

Command for tflite conversion: python convert_tflite.py --weights ./checkpoints/yolov4-416 --output ./checkpoints/yolov4-416.tflite

Python version: 3.7.0 Tensorflow version: 2.3.1 (CPU) Opencv: 4.1.1.26 System: i5 11th gen Windows 10 CPU Thank you.

Aparajit-Garg avatar Jun 07 '22 05:06 Aparajit-Garg

same issue :(

Duckypu avatar Aug 01 '22 06:08 Duckypu