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 about PFG layer #23

Closed
BlueDing101 opened this issue May 8, 2020 · 2 comments
Closed

Question about PFG layer #23

BlueDing101 opened this issue May 8, 2020 · 2 comments

Comments

@BlueDing101
Copy link

Brilliant work and thanks for the open source code.

I'm now reading the paper and code about the DBG model and I have a question about the PFG layer.

According to the paper and the code, the parameter w_l and w_r for the the PFG layer's output at location (t_s, t_e, n, c), which corresponding to the w, h, t, c in the code if I have understood correctly, can be directly calculated under the formula (1)(2)(3)(4) in the "Proposal feature generation layer" section. But both the paper and code shows that this layer is a trainable layer. So will the w_l and w_r be updated during the backward? Since it looks like a variable that don't need to be trained rather than a trainable parameter to me and I'm confused about this. Could you please explain this? Thank you very much!

@linchuming
Copy link
Collaborator

Thanks for your attention!
There are not trainable parameters in the PFG layer. You can treat the PFG layer is a bilinear sampling operation. The parameter w_l and w_r are computed as bilinear interpolation.

@BlueDing101
Copy link
Author

Thanks for your attention!
There are not trainable parameters in the PFG layer. You can treat the PFG layer is a bilinear sampling operation. The parameter w_l and w_r are computed as bilinear interpolation.

Thanks for your reply. I can get it! Thank you so much!

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