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

some questions about ”get_bboxes“ in "grid_head.py" file #1

Open
zimenglan-sysu-512 opened this issue Jun 17, 2019 · 1 comment

Comments

@zimenglan-sysu-512
Copy link

zimenglan-sysu-512 commented Jun 17, 2019

hi @siyuanren
why do u get grid_points by dividing 2W instead of W in these two lines? and what do these lines do as below?

        for i in range(9):
            xs[i::9] = xs[i::9] + base[i//3]
            ys[i::9] = ys[i::9] + base[i%3]
@luxiin
Copy link
Collaborator

luxiin commented Jun 17, 2019

Hi, @zimenglan-sysu-512 . The codes you point out are the implementation of Grid Point Specific Representation Region proposed in Grid R-CNN Plus. You can refer to section 3.1 in https://arxiv.org/pdf/1906.05688.pdf for more details.

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