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

Question on the details #29

Open
zhongyingji opened this issue Apr 26, 2020 · 1 comment
Open

Question on the details #29

zhongyingji opened this issue Apr 26, 2020 · 1 comment

Comments

@zhongyingji
Copy link

Hi, it is quite a nice implementation, I've read it and I got stuck in some points.

  1. In reppoints_head.py, what is the usage of adding the "dcn_base_offset" at line 278, does it play a row of enlarging the offset range?
  2. In the same file, i'm not sure if I am correct, I think the "pts_coordinate_preds_init" at line 424 after being applied the min_max is identical to "box_list" at line 466, except for the order. They both represent the bbox of the init points, why is it necessary to calculate the "box_list" again?

Thank you so much!

@sandylaker
Copy link

Hi, it is quite a nice implementation, I've read it and I got stuck in some points.

  1. In reppoints_head.py, what is the usage of adding the "dcn_base_offset" at line 278, does it play a row of enlarging the offset range?
  2. In the same file, i'm not sure if I am correct, I think the "pts_coordinate_preds_init" at line 424 after being applied the min_max is identical to "box_list" at line 466, except for the order. They both represent the bbox of the init points, why is it necessary to calculate the "box_list" again?

Thank you so much!

In my opinion, dcn_base_offset corresponds to $p_n$ in equation (2) in Deformable Convolutional Networks. In fact, $p_n$ are the regular sampled locations in conventional Conv2d. dcn_offset = pts_out_init_grad_mul - dcn_base_offset computes the offsets $\Nabla p_n$.

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