solin319 opened a new pull request #11793: fix bug when prefetch_buffer=1
URL: https://github.com/apache/incubator-mxnet/pull/11793
 
 
   When  prefetch_buffer=1 in mx.io.ImageRecordIter, read next batch before use 
data_batch.label can make the label change to next batch. But we need the label 
in this batch to update metric.
   So we move read data program after update metric, this can solve this 
problem.

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