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/08/20 03:08:48 UTC

[GitHub] [incubator-mxnet] zybsu27f22 opened a new issue #18966: One bug in mxnet1.6.0 gluon hybridize

zybsu27f22 opened a new issue #18966:
URL: https://github.com/apache/incubator-mxnet/issues/18966


   ## Description
   gluon nd接口与sym接口运算结果不一致的问题:如果在使用gluon定义的网络
   中输出的结果有加上常数的时候模型hybridize后计算结果会出现错误。
   
   ## To Reproduce
   比如在gluoncv 中yolov3模型将YOLOOutputV3中box_centers = F.broadcast_add(F.sigmoid(raw_box_centers), offsets) * self._stride 改为 box_centers = F.broadcast_add(F.tanh(raw_box_centers)*3 +1 , offsets) * self._stride,模型在hybridize后与nd计算结果不同。如果单独测试tanh(x) + 1 sym接口与nd计算结果一致,该问题只在定义好的gluon多层网络模型中存在单层网络中没法复现。
   ## What have you tried to solve it?
   问题可能在模型hybridize过程中


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



[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #18966: One bug in mxnet1.6.0 gluon hybridize

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #18966:
URL: https://github.com/apache/incubator-mxnet/issues/18966#issuecomment-676913167


   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


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



[GitHub] [incubator-mxnet] szha closed issue #18966: One bug in mxnet1.6.0 gluon hybridize

Posted by GitBox <gi...@apache.org>.
szha closed issue #18966:
URL: https://github.com/apache/incubator-mxnet/issues/18966


   


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



[GitHub] [incubator-mxnet] szha commented on issue #18966: One bug in mxnet1.6.0 gluon hybridize

Posted by GitBox <gi...@apache.org>.
szha commented on issue #18966:
URL: https://github.com/apache/incubator-mxnet/issues/18966#issuecomment-676925053


   cc @zhreshold to help on GluonCV issues.


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



[GitHub] [incubator-mxnet] zhreshold commented on issue #18966: One bug in mxnet1.6.0 gluon hybridize

Posted by GitBox <gi...@apache.org>.
zhreshold commented on issue #18966:
URL: https://github.com/apache/incubator-mxnet/issues/18966#issuecomment-677885157


   change `box_centers = F.broadcast_add(F.tanh(raw_box_centers)*3 +1 , offsets) * self._stride` to 
   ```python
   box_centers = F.broadcast_add(F.broadcast_add(F.tanh(raw_box_centers)*3, 1) , offsets) * self._stride
   ```


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