MCPcopy Create free account
hub / github.com/OpenGVLab/InternImage / NodeDistributedSampler

Class NodeDistributedSampler

classification/dataset/samplers.py:37–115  ·  view source on GitHub ↗

Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.DistributedDataParallel`. In such case, each process can pass a DistributedSampler instance as a DataLoader sampler, and load a subset of the original

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

build_loaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected