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

Problem about the PyTorch vision? #69

Closed
Wang-Xiaodong1899 opened this issue Dec 2, 2021 · 2 comments
Closed

Problem about the PyTorch vision? #69

Wang-Xiaodong1899 opened this issue Dec 2, 2021 · 2 comments

Comments

@Wang-Xiaodong1899
Copy link

I have look for the issues but I can't find the same problem. So sorry to bother you.
GPU:
截屏2021-12-02 下午6 35 14
my python environment: pytorch=1.8.0&torchvision=0.9.0, cudatoolkit=11.3.1&cudnn =8.2.1. I have tried the rudalle=0.3.0 just following the readme.md, or 0.0.1rc5 by the RTX3090.ipynb, but I only got the following error!
截屏2021-12-02 下午6 38 49

So I wanna know if any problem in my environment? Waiting for your reply!

@shonenkov
Copy link
Collaborator

@Wang-xd1899 could you try to set mlp_activation="gelu"?

get_rudalle_model('Malevich', pretrained=True, fp16=True, device=device, mlp_activation='gelu')

@Wang-Xiaodong1899
Copy link
Author

Surprisingly, after set mlp_activation="gelu", it works! Thank you very much!!!

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