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 2020/03/12 15:56:50 UTC

[GitHub] [incubator-mxnet] bricksdont edited a comment on issue #7375: Can I set instance weight when training?

bricksdont edited a comment on issue #7375: Can I set instance weight when training?
URL: https://github.com/apache/incubator-mxnet/issues/7375#issuecomment-598234055
 
 
   Here is a gist with an actual implementation of batch-weighted cross-entropy loss that I believe can replace the default `SoftmaxOutput`, but will be less efficient, for instance if label smoothing is used:
   
   https://gist.github.com/bricksdont/812b4d6a21ab045da771560ec9af8c11

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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