Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pool5_roi = self._roi_ring_pool_layer(net_conv, rois, 0., 1.0) pool5_context = self._roi_ring_pool_layer(net_conv, rois, 1.0, 1.8) pool5_frame = self._roi_ring_pool_layer(net_conv, rois, scale_inner = 1.0 / 1.8, scale_outer = 1.0) #4

Open
yjyyy opened this issue Mar 29, 2019 · 1 comment

Comments

@yjyyy
Copy link

yjyyy commented Mar 29, 2019

pool5_roi = self._roi_ring_pool_layer(net_conv, rois, 0., 1.0)
pool5_context = self._roi_ring_pool_layer(net_conv, rois, 1.0, 1.8)
pool5_frame = self._roi_ring_pool_layer(net_conv, rois, scale_inner = 1.0 / 1.8, scale_outer = 1.0)

these codes are from network.py file row 584 to row 586, i guess they are used to generate three different output by making different scale parameter and using the RoIRingPoolFunction structure. but i have no idea about how does it work and why do you set the parameter to 0, 1.0, 1.8, 1.0/1.8. thank you a lot.

@vasgaowei
Copy link
Owner

RoiRingPoolingFunction is similiar with RoiPoolFunction but with a few differences, and I suggest to read the paper 《ContextLocNet: Context-Aware Deep Network Models for Weakly Supervised Localization》to know more about the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants