In DDP, how can I get that real batch_idx? since I found multiple repeated idx. #6738
Unanswered
Luciennnnnnn
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 2 replies
-
Need help. |
Beta Was this translation helpful? Give feedback.
2 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.
-
For example, when I use 4 GPU in DDP, then there are 4 same batch_idx is 0, and this is not I wanted, since I will use this batch_idx as image name to write on desk.
How can I do that get unique ordered idx in
test_step
Beta Was this translation helpful? Give feedback.
All reactions