bricksdont commented 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`, albeit at some 
increase in memory consumption 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:
[email protected]


With regards,
Apache Git Services

Reply via email to