ENCP / CNNdroid

Open Source Library for GPU-Accelerated Execution of Trained Deep Convolutional Neural Networks on Android
MIT License
539 stars 181 forks source link

how to generate the mean.msg? #37

Open ArijMekki opened 6 years ago

ArijMekki commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hello,

Thank you very much.

I generated the mean.msg using the script you sent me, and when I try to run the application on my phone, it breaks down and I can not find out what the problem is.

Respectfully,

2018-03-15 14:46 GMT+01:00 Salar Latifi notifications@github.com:

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 https://github.com/ENCP/CNNdroid/files/1815599/binaryproto_to_msgpack.py.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ENCP/CNNdroid/issues/37#issuecomment-373380664, or mute the thread https://github.com/notifications/unsubscribe-auth/AYT7Zbtl3Ioyn3UDc3N8A13zcZCzfY-aks5tenCkgaJpZM4Srvra .

https://mailtrack.io/ Sent with Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality&

latifisalar commented 6 years ago

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

Thanks