group_same_item_sampler#

(s3prl.dataio.sampler.group_same_item_sampler)

Group the data points with the same key into the same batch

Authors:
  • Leo 2022

GroupSameItemSampler#

class s3prl.dataio.sampler.group_same_item_sampler.GroupSameItemSampler(items: List[str])[source][source]#

Bases: object

set_epoch(epoch: int)[source][source]#