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/05/09 01:25:14 UTC

[GitHub] ifeherva opened a new pull request #10857: Fixed divison by zero bug in DistanceWeightedSampling in gluon example

ifeherva opened a new pull request #10857: Fixed divison by zero bug in DistanceWeightedSampling in gluon example
URL: https://github.com/apache/incubator-mxnet/pull/10857
 
 
   ## Description ##
   Sample selection for training is based on a vector of computed probabilities that come from distance weights. In the current implementation these weights can become zero (especially at random initialization) when distances to all other neighbors are zero.
   Zero weights lead to nan bugs in the model, this commit is supposed to fix it by changing those zero weights not being divided by zero any longer.
   
   This example project has no unit test. :(
   
   

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