MCPcopy Create free account
hub / github.com/Monalissaa/DisenDiff / __len__

Method __len__

utils/clipscore/clipscore.py:78–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 return {'caption': c_data}
77
78 def __len__(self):
79 return len(self.data)
80
81
82class CLIPImageDataset(torch.utils.data.Dataset):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected