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
IR->Caffe? #60
Comments
Hi @anwesha94 , the IR -> caffe is on-going. The running script is same as others, i.e. IRToCode -f caffe. |
Please follow the steps on the issue #66 (step 2 and 3). Thanks. |
Hi @TobeyQin , |
Hi, I reinstalled MMdnn. Now I get the following error: |
I installed cntk and added the path. I could execute step 2 and 3 and generate the caffemodel. However, testing it with test data gave accuracy=0.08 while the actual accuracy is 79% in keras. |
Hi @anwesha94, Or you can provide your model for us to test. Thanks. |
Yes, I am using tensorflow as backend. It is using channel last format. I am using the cifar10 dataset for training and testing. I have shared the weights here in a zip file: |
Then you should transpose your input data like caffe_input = np.transpose(image, [0, 3, 1, 2]) then feed into caffe, to get right result. |
Hi, I changed the axes of input images to (2,0,1). All the predictions are 0. There is something wrong with my conversion. What can be the possible error? |
@TobeyQin will help to investigate this problem, thanks. |
who can help me solve this problem from IR to caffe. Thank you so much. Parse file [IR/lenet_finetune.pb] with binary format successfully. |
Hi @qiudi0127 , could you provide related files (models) for us to debug? Thanks. |
@qiudi0127 |
Hi,
In the Caffe directory there is no instruction for IR ->Caffe conversion. Is this conversion supported?
I want to convert the weights in keras to caffe. How can I do this conversion using MMdnn?
Thank you.
The text was updated successfully, but these errors were encountered: