MCPcopy Create free account
hub / github.com/MotrixLab/MotionDiffuse / __len__

Method __len__

text2motion/datasets/evaluator.py:224–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

222 return data * self.std + self.mean
223
224 def __len__(self):
225 return len(self.data_dict) - self.pointer
226
227 def __getitem__(self, item):
228 idx = self.pointer + item

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected