[
https://issues.apache.org/jira/browse/MXNET-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392404#comment-16392404
]
ASF GitHub Bot commented on MXNET-40:
-------------------------------------
wkcn commented on issue #9939: [MXNET-40]add multi proposal operator (cpu
version) and fix the bug in proposal op (gpu version)
URL: https://github.com/apache/incubator-mxnet/pull/9939#issuecomment-370133350
@pengzhao-intel Here is the testing code.
https://gist.github.com/wkcn/4a09c142bc9886b45b5a23461bbe4733
I found that I made a mistake that I didn't use `nd.waitall()` to test the
performance.
If not using `nd.waitall()`, the calculation will not execute because of
lazy-evaluation.
performance|CPU(no omp)|CPU(omp)|GPU
-----|-------|---|-----
Time(s)|33.899|12.432|4.435
However, when I set the environment variables `MXNET_OMP_MAX_THREADS` or
`OMP_NUM_THREADS`, it may bring bad performance.
Update: 2018-03-09 (626296b)
performance|CPU(no omp)|CPU(omp)|GPU
-----|-------|---|-----
Time(s)|33.899|5.049|4.435
----------------------------------------------------------------
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:
[email protected]
> add multi proposal operator (cpu version) and fix the bug in proposal op (gpu
> version)
> --------------------------------------------------------------------------------------
>
> Key: MXNET-40
> URL: https://issues.apache.org/jira/browse/MXNET-40
> Project: Apache MXNet
> Issue Type: Improvement
> Reporter: Kan Wu
> Priority: Major
>
> The multi_proposal operator ({{mxnet.sym.contrib.MultiProposal}}, CPU
> version) is not implemented before.
> I wrote the code about it.
> And I found there was a bug in _proposal.cu_ and _multi_proposal.cu_.
> The {{batch_size}} of the output of _Proposal_ and _MultiProposal_ are both
> {{param_.rpn_post_nms_top_n}}.
> When {{count_anchors < param_.rpn_post_nms_top_n}}, the variable
> {{rpn_post_nms_top_n}} will be {{count_anchors}}, which is less than
> {{param_.rpn_post_nms_top_n}}.
> [https://github.com/apache/incubator-mxnet/blob/master/src/operator/contrib/proposal.cu#L438]
> It will cause the problem that the output whose index is larger than
> {{rpn_post_nms_top_n}} will be _not assigned_.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]