MyraBaba commented on issue #12869: Python trained model gives different 
features set in C++
URL: 
https://github.com/apache/incubator-mxnet/issues/12869#issuecomment-451245671
 
 
   @leleamol Hi,
   
   I am back to project and able to compile with Cmake ypur 
inception_inference.cpp with above mentioned models.
   
   Can you direct me to where is the output of float vector of 512 variable ? 
can I get this 512 float vector features with this .cpp ? If so I couldnt find 
it with debugging.  Could you possibly let me 
   know?
   
   Best
   
   
   > With my test program I was able to get the output of float vector of 512. 
Without using sklearn.preprocessing.normalize on that output (similar to what 
was done in the test python script), the maximum accuracy was reported to be 
2.7216 at index 84. The rest of the entries in 512D vector were 0.03412. ( I 
have used the same image as that of test.py)
   > 
   > I did not normalize the image before running forward pass.
   > If this helps, I can share the code of my example.
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to