MCPcopy Create free account
hub / github.com/SpatialVLA/SpatialVLA / __len__

Method __len__

data/dataset.py:115–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

113 self.ds_stats_pc = save_dataset_statistics(self.ds_stats, Path(output_dir) / "ds_stats.json")
114
115 def __len__(self):
116 if self.use_raw_dataloader:
117 return self.raw_length // self.total_ranks
118 else:
119 return self.raw_length
120
121 def multi_modal_get_item(self, data_item):
122 pixel_values_seq = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected