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

Error training pytorch lightning #3

Open
ramdhan1989 opened this issue Mar 16, 2024 · 0 comments
Open

Error training pytorch lightning #3

ramdhan1989 opened this issue Mar 16, 2024 · 0 comments

Comments

@ramdhan1989
Copy link

ramdhan1989 commented Mar 16, 2024

Hi,
I got error when doing training using pytorch lightning.

File "C:\Users\XXX\anaconda3\envs\py310\lib\site-packages\torch\autograd_init_.py", line 197, in backward
Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn

Please advise,

thanks

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

1 participant