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/01/10 03:12:36 UTC

[GitHub] jiarenyf opened a new issue #9368: MultiBoxTarget +1 to label automatically is so strange ...

jiarenyf opened a new issue #9368: MultiBoxTarget +1 to label automatically is so strange ...
URL: https://github.com/apache/incubator-mxnet/issues/9368
 
 
   I wonder in https://github.com/apache/incubator-mxnet/blob/492a5fde03418ae31b64d9866ca6a7a5c72388d3/src/operator/contrib/multibox_target.cc#L259, why plus 1 to the target clsID in the code ? Shouldn't we manually add 1 when preparing label (assume 0 is for background) ? Why the code does this job automatically ?
   So we should set the positive label start from 0 the preparing data, and then when calculating class_loss, we should manually add 1 to label before making loss with the target_cls for the above link ? It is so strange ...
   
   Thanks for your help ...

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