Positional_Diffusion icon indicating copy to clipboard operation
Positional_Diffusion copied to clipboard

Error training pytorch lightning

Open ramdhan1989 opened this issue 11 months ago • 0 comments

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

ramdhan1989 avatar Mar 16 '24 04:03 ramdhan1989