alibaba / alibaba/TinyNeuralNetwork

It became larger after converting to tflite model

Open
#278 4 comments 0 reactions 0 assignees View on GitHub
enhancement question work-medium
Dominant language
Python
Stars
879
Forks
134
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/alibaba/TinyNeuralNetwork/assets/17869361/ad3d79e9-a2f0-4ca7-b63f-75135054edcf)
![image](https://github.com/alibaba/TinyNeuralNetwork/assets/17869361/edb77853-fadc-4824-873b-4b02d0cfba83)

The ckpt file contains two model states so a single one is half the size.

I found that if the input resolution is larger the converted tflite model is larger

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported conversion using the checkpoint containing two model states, comparing it with a single-state checkpoint and with different input resolutions. Use the attached screenshots and observed TFLite model sizes as the baseline; done means identifying which condition causes the unexpected size increase and documenting the result or a confirmed fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.