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/05 15:37:42 UTC

[GitHub] BenLag2906 commented on issue #9308: batch size in inference

BenLag2906 commented on issue #9308: batch size in inference
URL: https://github.com/apache/incubator-mxnet/issues/9308#issuecomment-355584471
 
 
   Hi,
   Thanks for quality of your answer,
   Even if I have not really understand how concatenate my images inputs.
   For each image, i must set input in a loop ? eg :
   fr(int i; i < Batch_size ; i++) {
     image_data = bufferImage.at(i) ; 
     MXPredSetInput(pred_hnd, "data", image_data.data(), image_size); 
   }
   ..
   
   MXPredForward(pred_hnd); 
   
   ..
   and extract of shape the results for the buffer image.
   
   Is it the good approach ?
   
   thanks in advance for your answer.
   
   regards
   

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