MCPcopy Create free account
hub / github.com/OpenGVLab/UniFormerV2 / loader_worker_init_fn

Function loader_worker_init_fn

slowfast/datasets/utils.py:417–423  ·  view source on GitHub ↗

Create init function passed to pytorch data loader. Args: dataset (torch.utils.data.Dataset): the given dataset.

(dataset)

Source from the content-addressed store, hash-verified

415
416
417def loader_worker_init_fn(dataset):
418 """
419 Create init function passed to pytorch data loader.
420 Args:
421 dataset (torch.utils.data.Dataset): the given dataset.
422 """
423 return None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected