how about support groubbatchsampler?? #13083
Unanswered
beomgonyu
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
When the size of the data changes significantly, its better to sorting, grouping, then batch within a group.
then batchnorm will works more stable, and training speed is better, I think.
However, it seemed that pl didnt support grouping in sampler.
below is the regarding code.
but I've got error in _dataloader_init_kwargs_resolve_sampler function(utilities.data.py )
I just add argument group_ids, and training is going on well.
How about support this in lightning officially.
thanks.
Beta Was this translation helpful? Give feedback.
All reactions