pppoe / WhatsThis-iOS

MXNet WhatThis Example for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with using different model

mpbharat opened this issue · comments

Hi
I'm trying use converted caffe models and other mxnet models in place of Inception-BN Network model. The app crashes at execution of MXPredForward(predictor); during p->exec->Forward(false); . Anyone else faced the same issue? Any help would be appreciated.

Thanks for the amazing app

I can't be sure if it works for you, but I suggest you to update the core mxnet. If you use the original mxnet_predict-all.cc you have to create a new one following this guide https://github.com/dmlc/mxnet/tree/master/amalgamation . I had to do so to use newer model architectures.

Hi, @SlipknotTN
I faced the similar problem, I guess the problem was caused by the out-of-date mxnet_predict-all.cc. I wanna know, after updating mxnet_predict-all.cc, did it work? Can you share your mxnet_predict-all.cc?

This is my latest tested version, but it is 1 year's old, so I suggest you to run the amalgamation from scratch. Follow the iOS instructions here https://github.com/dmlc/mxnet/tree/master/amalgamation . Updating mxnet_predict-all I resolved the problem and I managed to run a model not supported by the version present in this repo. I tested a SqueezeNet network.

mxnet_predict-all.cc.zip

Thanks for your help! In fact, I follow the instructions you mentioned and create the prediction file, and it works on iOS. If you need the file, I can share with you.

Thanks guys. Sorry that I don't have time to maintain the mxnet file.