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 2018/11/22 02:12:18 UTC

[GitHub] MaeThird opened a new issue #13370: the official image-classification predict-cpp demo crashed if...

MaeThird opened a new issue #13370: the official image-classification predict-cpp demo crashed if...
URL: https://github.com/apache/incubator-mxnet/issues/13370
 
 
   In the '**example/image-classification/predict-cpp**' demo, if I comment out the "predict" process,the code would be crashed.I mean **initialize the PredictorHandle but not do the predict the demo would be crashed with or without the MXPredFree(pred_hnd) doesn't matter**.
   In my case I must split away the "**initialize of PrdictorHandler**" with "**forward process**" as is really necessary in the product environment .So, to avoid  the crash I used dummy input data after the initialization to do the forward once and feed in the real data in the next process.But to my surprise,no matter what the input data is , the network's output is **always the same as the first forward's**.
   I'm new here.Any one can help ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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