MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / __len__

Method __len__

PATH/core/distributed_utils.py:723–724  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

721 return all_indices_batch
722
723 def __len__(self):
724 return self.total_size - (self.last_iter+1)*self.batch_size
725
726
727class RandomIdentityEpochBatchSampler(Sampler):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected