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

Python 3.10 throws an error related to swintransformer #234

Open
thistleknot opened this issue Aug 5, 2023 · 5 comments
Open

Python 3.10 throws an error related to swintransformer #234

thistleknot opened this issue Aug 5, 2023 · 5 comments

Comments

@thistleknot
Copy link

thistleknot commented Aug 5, 2023

SwinTransformer/Swin-Transformer-Object-Detection#214

whether 3.11 (rl9), 3.10 (rl9), 3.7 (3.7 ubu22 using conda/wsl)
AttributeError: 'SwinTransformer' object has no attribute 'pos_drop'

@thistleknot thistleknot changed the title Python 3.10 throws an error realted to swintransformer Python 3.10 throws an error related to swintransformer Aug 5, 2023
@poetaster
Copy link

I tried creating a custom env with conda, but it's not even possible to install the libraries as listed. any idea for a patch?

@poetaster
Copy link

poetaster commented Sep 18, 2023

duplicate of #207

The solution presented here ( comment out the one line) does indeed work (with timm=0.9.7)

@crackthedata
Copy link

@poetaster this fix worked for me :-)

@poetaster
Copy link

@poetaster this fix worked for me :-)

Yeah, me too, just after some detours ;) Now if I could get VisionEncoder model chkpoints loading :)

@7soonyounes
Copy link

i tried to unistall and install timm==0.5.4 but i still have this problem
'SwinTransformer' object has no attribute 'pos_drop'

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

4 participants