You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/18 06:38:39 UTC

[GitHub] [incubator-mxnet] sheep94lion commented on issue #9859: How to run model trained with mxnet 1.0 on android

sheep94lion commented on issue #9859: How to run model trained with mxnet 1.0 on android
URL: https://github.com/apache/incubator-mxnet/issues/9859#issuecomment-502968603
 
 
   > I recently trained one model with mxnet 1.0.0, and today I decided to try the model with android, read thru the issues, just find android building of latest version is broken, so I have to go back to [c8f7dce](https://github.com/apache/incubator-mxnet/commit/c8f7dce0eb49ab1a62ddc2c7e37b93e9b92c2ae4) which is one commit of last year based on #9646 and #8707 and I think this may not work for my case.
   > 
   > Currently I have no clear idea what to do , since train the model cost me around 7days, so retrain may be the last option. :(
   > 
   > Actually I could build the `libmxnet.so` thru android arm64 docker build on commit [c8f7dce](https://github.com/apache/incubator-mxnet/commit/c8f7dce0eb49ab1a62ddc2c7e37b93e9b92c2ae4), but its size is too big, around 43M. And I have no clear idea how to use the so file.
   > 
   > I tried to load the model with mxnet 0.12.1, but failed with
   > 
   > ```
   > 0.12.1
   > [15:02:07] /home/travis/build/dmlc/mxnet-distro/mxnet-build/dmlc-core/include/dmlc/logging.h:308: [15:02:07] /home/travis/build/dmlc/mxnet-distro/mxnet-build/dmlc-core/include/dmlc/././json.h:842: JSONReader: Unknown field attrs, candidates are:
   > "attr"
   > "backward_source_id"
   > "control_deps"
   > "inputs"
   > "name"
   > "op"
   > "param"
   > ```
   > 
   > could anybody give some help or clue? thanks in advance!
   
   I am trying to run a pretrained model on android. Aftering building the arm64 libmxnet.so with ci/build.py, I do not know what to do next. Can you give me some help?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services