MCPcopy Create free account
hub / github.com/MTLab/MorphMLP / create_sampler

Function create_sampler

slowfast/datasets/utils.py:327–341  ·  view source on GitHub ↗

Create sampler for the given dataset. Args: dataset (torch.utils.data.Dataset): the given dataset. shuffle (bool): set to ``True`` to have the data reshuffled at every epoch. cfg (CfgNode): configs. Details can be found in slowfast/config/defa

(dataset, shuffle, cfg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected