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

How to save the binarized model? #6

Open
iamweiweishi opened this issue Feb 13, 2019 · 2 comments
Open

How to save the binarized model? #6

iamweiweishi opened this issue Feb 13, 2019 · 2 comments

Comments

@iamweiweishi
Copy link

According to my understanding, the weights of the trained model were not binarized directly.
So, do I need to binarize the trained model with parameter 'scale' and then re-save the model?

@zhaoweicai
Copy link
Owner

Yes, and we have also provided the binarized models, please check README.

@iamweiweishi
Copy link
Author

iamweiweishi commented Feb 18, 2019

Hi, I trained one model using res50. And I tried to convert the trained models to binarized ones. Unfortunately, never succeed.
I found the parameter 'alphas_' in 'binary_conv_layer.cpp', but I have no idea how to extract the parameter in trained models.
Could you pls send me ([email protected]) some script example for reference.
Thanks a lot.

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