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

Method __len__

PATH/core/data/datasets/images/seg_dataset_dev.py:259–260  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

257 return s
258
259 def __len__(self) -> int:
260 return self.tensor.shape[0]
261
262 def nonempty(self) -> torch.Tensor:
263 """

Callers 1

__len__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected