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/01/04 21:57:28 UTC

[GitHub] leleamol commented on issue #12869: Python trained model gives different features set in C++

leleamol commented on issue #12869: Python trained model gives different features set in C++
URL: https://github.com/apache/incubator-mxnet/issues/12869#issuecomment-451580501
 
 
   Hi @MyraBaba 
   
   In the [inception_inference.cpp] <https://github.com/apache/incubator-mxnet/blob/master/cpp-package/example/inference/inception_inference.cpp> example, you can add following line 
   
   ```
   LG << array;
   ```
   after the line [309]<https://github.com/apache/incubator-mxnet/blob/master/cpp-package/example/inference/inception_inference.cpp#L309>.
   It will print out all the values of the output vector.
   
   In the example, we use ArgmaxChannel on this output to get the index with highest probability.
   I hope this helps.
   

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