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

Questions about RoIAlign #55

Open
qingzwang opened this issue Feb 21, 2019 · 2 comments
Open

Questions about RoIAlign #55

qingzwang opened this issue Feb 21, 2019 · 2 comments

Comments

@qingzwang
Copy link

When I read your code, I am confused by the calculation of RoI align. In RoIAlignFunction, the normalized rois are computed as follows:
rois_normalized[:, 1] /= width and width=(data_width - 1) / saptial_scale which should be the width of the input image, so the normalized rois are in [0, 1], is this correct? From the paper of msak-rcnn, I think rois_normalized[:, 1] *= spatial_scale.

@rowanz
Copy link
Owner

rowanz commented Mar 11, 2019

Not sure what you mean here. I believe I got the RoIAlign implementation from other implementations of the same idea, though the paper is a bit vague on details so maybe something changed. In both cases you're multiplying by spatial_scale right?

@L6-hong
Copy link

L6-hong commented Oct 12, 2020

Dear author, Thank you very much for providing such excellent code, but I always show that bbox_overlaps can't be found in the process of running, but I have generated the. so file. Do you have any suggestions to help me?

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

3 participants