Freezing on the manual backward scenario #6631
Unanswered
abdullahbas
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Hi, can you post a small running example? I don't exactly understand what you have tried to do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am trying to use manual backward because I split my input images into 2D slices from 3D images. If I return loss from the end of training_step it freezes at the last batch of the first epoch if I don’t return any loss still the same. If I return loss inside the for loop then it works but with only one part of my batch which is not appropriate.
Thanks
Abdullah
Beta Was this translation helpful? Give feedback.
All reactions