[MXNET-137]fix parameters name inconsistent for Proposal OP and Multi Proposal OP #10242
[MXNET-137]fix parameters name inconsistent for Proposal OP and Multi Proposal OP #10242
Conversation
This breaks API compatibility. We can only change this if and when we decide to move these ops out of contrib. |
@piiswrong |
that's strange. Are you sure? |
@piiswrong
But it's right to use The reason is that the function |
ok... |
@wkcn ping |
@piiswrong |
Same strange issue: symbol and ndarray proposal operator api are inconsistent. |
@wkcn Just personal opinion: But In fact this will also break API compatibility, such as these code in example/rcnn. This issue has a direct impact on hybrid_forward in gluon that cannot hybridize network used Proposal operator. |
Description
Hi, there.
There is parameters name inconsistent in Proposal OP and Multi Proposal OP.
Proposal OP:
cls_prob vs cls_score
Multi Proposal OP:
cls_prob vs cls_score
It seems that the parameter name should be
cls_prob
rather thancls_score
.The parameter prompt
Faster R-CNN example
So I replace
cls_score
withcls_prob
, and I change the parameter name in the unittest for Proposal OP and Multi Proposal OP.Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
cls_score
withcls_prob
in Proposal OP and Multi Proposal OPcls_score
in the unit-test for Proposal OP and Multi Proposal OP