-
Notifications
You must be signed in to change notification settings - Fork 379
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' object has no attribute 'pos_drop' #214
Comments
This "SwinTransformer' is implemented in "timm" library, in the new release the 'pos_drop' might be removed |
EDIT: wrong repo, sorry! 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? |
There's this forward function on the model.py of Donut ([/usr/local/lib/python3.10/dist-packages/donut/model.py]) Maybe we can comment the x = self.model.pos_drop(x) ? |
I downgraded to v0.6.13 stable and it passes. |
getting error pos_drop attribute is not available
The text was updated successfully, but these errors were encountered: