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

Method __len__

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

Source from the content-addressed store, hash-verified

303 self.w_vectorizer = w_vectorizer
304
305 def __len__(self):
306 return len(self.dataset)
307
308 def __getitem__(self, item):
309 data = self.dataset[item]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected