ThomasDelteil commented on issue #9571: ACCURACY IS USING NUMPY, URGENT FIX
URL: 
https://github.com/apache/incubator-mxnet/issues/9571#issuecomment-374285733
 
 
   That seems pretty critical indeed. The previous PR wasn't correct, it was 
still doing the computation using asnumpy() because it was using asscalar() 
which behind the scenes is equivalent to asnumpy()[0].
   The problem is at asnumpy() has a wait_on_read on the prediction, which 
blocks the next batch of data from being loaded on the GPU, whilst the data 
could be loaded while the predictions are computed and the metric is evaluated.
   

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