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/12/02 07:16:38 UTC

[GitHub] ptrendx commented on issue #13471: Optimization of metric evaluation

ptrendx commented on issue #13471: Optimization of metric evaluation
URL: https://github.com/apache/incubator-mxnet/pull/13471#issuecomment-443487099
 
 
   It does not avoid GIL, I just do less work in Python -
    - topk evaluation using numpy argpartition vs argsort is faster (and you don't need to do full sort to get top k elements)
    - currently metrics are calculated twice during training to get both local and per-epoch results - this PR makes it so they are evaluated once, and the result is used for both per-batch and per epochs statistics.

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