MCPcopy Create free account
hub / github.com/ICTMCG/FakeSV / __len__

Method __len__

code/utils/dataloader.py:368–369  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

366 self.data = self.data_complete[self.data_complete['video_id'].isin(self.vid)]
367
368 def __len__(self):
369 return self.data.shape[0]
370
371 def __getitem__(self, idx):
372 item = self.data.iloc[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected