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 globalAvgPool operation in faster_rcnn.py #31

Open
Wes-Wang opened this issue May 5, 2021 · 0 comments
Open

Question about globalAvgPool operation in faster_rcnn.py #31

Wes-Wang opened this issue May 5, 2021 · 0 comments

Comments

@Wes-Wang
Copy link

Wes-Wang commented May 5, 2021

Hi, I've seen that for the squeeze co-excitation (SCE) part of the paper, a global average pooling operation is performed on the weighted non-local feature map. After I looked at the code implementation for SCE in faster_rcnn.py, I was a little confused because the global average pooling is not implemented in the forward pass in faster_rcnn.py, even though it's initialized in the match_block class, and I couldn't find any other implementations of it in the code base. I commented the GAP initialization and re-ran the test script on the COCO second group and found that it worked with similar accuracy.

Have I misinterpreted the implementation of GAP in SCE or am I looking in the wrong place?

Thanks!

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

1 participant