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/01/17 01:16:15 UTC

[GitHub] zhangguotai opened a new issue #9461: The fault in the process of running example

zhangguotai opened a new issue #9461: The fault in the process of running example
URL: https://github.com/apache/incubator-mxnet/issues/9461
 
 
   I had compiled libmxnet.so and  image-classification-predict.When running order that ./image-classification-predict apple.jpg,I got a fault that image-classification-predict: image-classification-predict.cc:238: int main(int, char**): Assertion `pred_hnd' failed.
   I looked original code:
   MXPredCreate((const char*)json_data.GetBuffer(),
                    (const char*)param_data.GetBuffer(),
                    static_cast<size_t>(param_data.GetLength()),
                    dev_type,
                    dev_id,
                    num_input_nodes,
                    input_keys,
                    input_shape_indptr,
                    input_shape_data,
                    &pred_hnd);
   assert(pred_hnd);
   I should how to modify my code?????

----------------------------------------------------------------
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