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

Constant name for final feature layer for easier visualization #107

Open
ThomasNorr opened this issue Dec 14, 2021 · 0 comments
Open

Constant name for final feature layer for easier visualization #107

ThomasNorr opened this issue Dec 14, 2021 · 0 comments

Comments

@ThomasNorr
Copy link

Hello,
Is there a reason why the models sometimes use nn.AdaptiveAvgPool2d and sometimes no layer (F.avg_pool2d)?
Always using nn.AdaptiveAvgPool2d with a constant layer name like avgpool or maybe final_features would help with visualizing the activations as the lucent library uses the name of the layer. https://github.com/MadryLab/DebuggableDeepNetworks can for example not visualize activations on cifar resnets out of the box because for cifar the resnet has no such layer.

Greetings
Thomas

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