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

Method __len__

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

Source from the content-addressed store, hash-verified

625 return all_indices[:all_size]
626
627 def __len__(self):
628 return self.total_size - (self.last_iter+1)*self.batch_size
629
630
631class RandomIdentityBatchSampler(Sampler):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected