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

SwinTransformer doesn't have avgpool #5

Open
wit543 opened this issue Mar 7, 2023 · 1 comment
Open

SwinTransformer doesn't have avgpool #5

wit543 opened this issue Mar 7, 2023 · 1 comment

Comments

@wit543
Copy link

wit543 commented Mar 7, 2023

When I try to reproduce the result using SwinTransformer, I got this error

AttributeError: 'SwinTransformer' object has no attribute 'avgpool'

the problem is from Swintransformer doesn't have avgpool layer

code that call avgpool

Is there a different pre-trained model used in this project or can I remove avgpool layer?

@wit543 wit543 changed the title avgpool in SwinTransformer SwinTransformer doesn't have avgpool Mar 7, 2023
@youngkyunJang
Copy link
Owner

Hi, thanks for letting me know! Have you check the timm version? We implement on timm=0.4.12

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