leleamol edited a comment on issue #12869: Python trained model gives different 
features set in C++
URL: 
https://github.com/apache/incubator-mxnet/issues/12869#issuecomment-432364742
 
 
   @MyraBaba The synset file and mean image file are not mandatory. But there 
is a bug in code that mandates synset file to be specified. I am sending out 
the fix. 
   The crash you are seeing is due to incorrect input image shape.
   The program assumes the input image shape to be 3 * 224 * 224, if not 
specified on the command line.
   For your model your command line would something like this:
   
   inception_inference --symbol <model_json_file> --params <parameter file> 
--image <image file>  --synset <./synset file> --input_shape "3 112 112"
   
   

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