A question about double head implementation #9035
-
I noticed that the roi used in the classification branch and the regression branch are different. The roi used in the regression branch is larger than the one used in the classification branch because of a scaling factor added to the configuration file. What is the reason for this? Does this have a significant impact on the final detection accuracy? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
This idea appears to come from the official implementation here. My best guess is: this gives the convolutional head more information rather than padding zeros or some other argument about additional spatial information. |
Beta Was this translation helpful? Give feedback.
-
I retrained double head by setting reg_roi_scale_factor=None, but the accuracy is much lower than the original one (39.3 AP vs 40.0 AP). The result demonstrates that the strategy of expanding roi does have a very significant impact on the detection accuracy. For fair comparison, I think it is better to specify this trick in configuration file. |
Beta Was this translation helpful? Give feedback.
-
This setting is part of the paper's novelty. But you are right, it would be better to add some comments to explain it. |
Beta Was this translation helpful? Give feedback.
This idea appears to come from the official implementation here.
My best guess is: this gives the convolutional head more information rather than padding zeros or some other argument about additional spatial information.