Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doubt in Algorithm Part : how you have prepared three models in int8 format: mbv2-w0.35, mcunet-5fps, proxyless-w0.3 #5

Open
chinmaykhattar opened this issue Feb 27, 2023 · 1 comment

Comments

@chinmaykhattar
Copy link

Hi,

In Algorithm part , you have used the pkl file for building the model (For eg mcunet-5fps.pkl in assets/mcu_models).
Could you please let me know how you have create the model and how you have convert the model into pickle quantized (int 8 bit) format.

Thanks,
Chinmay

@silvagal
Copy link

silvagal commented Aug 13, 2024

I would like to know too. I was looking the structure of mbv2-w0.35.pkl and what I found was that it is a dictionary, that contains the following keys: first_conv, blocks, feature_mix and classifier.

first_conv seems to be a dictionary with 10 elements, probably containing information about the first convolutional layer of the model. blocks is a list with 17 elements, likely representing the intermediate blocks or layers of the neural network. feature_mix is set to None. And classifier is a dictionary with 6 elements, which likely correspond to the final classification layer of the model.

I didn't find any function library that saves the model like that, I tried to make my own function, but I got some problems. Did you discover how the authors have created the model and how they convert it into pickle quantized format?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants