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 generate the mean.msg? #37

Open
ArijMekki opened this issue Mar 15, 2018 · 3 comments
Open

how to generate the mean.msg? #37

ArijMekki opened this issue Mar 15, 2018 · 3 comments

Comments

@ArijMekki
Copy link

hello,
i want to use my pre trained model but i didn't know how to generate the mean.msg which exist in Data Cifar 10 .

@latifisalar
Copy link
Member

Hi,

CNNdroid assumes that the input to the network is preprocessed and is ready to go.
We used messagepack library to save and load the mean file, but you're free to use whatever library you desire. You can also just save the mean values in a text file and load them in your project.

For your convenience, I prepared the script to convert binaryproto file to messapack one.
binaryproto_to_msgpack.py.zip

@ArijMekki
Copy link
Author

ArijMekki commented Mar 16, 2018 via email

@latifisalar
Copy link
Member

Your welcome.
Can you post the log output of your application?

Thanks

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