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
AttributeError: module 'torch.nn.functional' has no attribute '_pad' #5
Comments
Hi, what torch version are you using? it shouldn't happen with the versions specified in the requirements file, but you can also try to comment out this line. |
I had this issue too after upgrading torch, as the version specified in the requirements file throws the following error for a 3090:
Commenting out the line you mentioned fixed it though. |
I've had the same issue with torch==0.10.0. Had to use the latest version of torch and commented out the mentioned line with the pad assignment. |
change this |
I am getting this error, when i am trying running the code
The text was updated successfully, but these errors were encountered: