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

Run burgers equation error #10

Open
rochaie opened this issue Jul 19, 2023 · 5 comments
Open

Run burgers equation error #10

rochaie opened this issue Jul 19, 2023 · 5 comments

Comments

@rochaie
Copy link

rochaie commented Jul 19, 2023

RuntimeError: The size of tensor a (2) must match the size of tensor b (16) at non-singleton dimension 3;
After removes optimizer 's param weight_decay, the model run normally,but training abnormal
How should I modify it?

@lululxvi
Copy link
Member

More details?

@xiaoyuxie-vico
Copy link

RuntimeError: The size of tensor a (2) must match the size of tensor b (16) at non-singleton dimension 3; After removes optimizer 's param weight_decay, the model run normally,but training abnormal How should I modify it?

Change the version of pytorch. The problem can be solved.

@lululxvi
Copy link
Member

@xiaoyuxie-vico What is the PyTorch version required?

@xiaoyuxie-vico
Copy link

xiaoyuxie-vico commented Jan 19, 2024

@xiaoyuxie-vico What is the PyTorch version required?

Pytorch1.13.0+cu116 works for me.

@asjkckabca
Copy link

RuntimeError: The size of tensor a (2) must match the size of tensor b (16) at non-singleton dimension 3; After removes optimizer 's param weight_decay, the model run normally,but training abnormal How should I modify it?

Have you solved the issue? Thank you!

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