Closed haithanhp closed 5 years ago
Hi, did you check the two application projects offered by @mtin ? https://github.com/hpi-xnor/ios-image-classification https://github.com/hpi-xnor/ios-mnist
Hi,
Yes, I tried the two above applications and they work. But I want to re-train a binarized models on ImageNet and integrate to iOS. My current re-trained models get crash when doing prediction? So Could you show me how to train a binary network using BMXNet and integrate to iOS?
Thanks, Hai
just one possible tip: pls use "uint32" as the BINARY_WORD_TYPE, compiling the project and using model converter to recreate the binarized model. This may solve your crashing problem in iOS prediction.
Hi,
Thanks for your great work! I try to retrain resnet 18 binary on imagenet. I can convert weight to binary storage by using model_convert function. However, when I use that model run on iOS, it does not work. Also, I try to run amalgamate_mxnet_mac.sh but it gives an error: "fatal error: src/ndarray/autograd.cc: No such file or directory". I run everything in Linux Ubuntu (except to iOS app in macOS). Could you show me the step by step to build everything on iOS.
Thanks, Hai