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

Method __len__

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

Source from the content-addressed store, hash-verified

101 return {'image':image}
102
103 def __len__(self):
104 return len(self.data)
105
106
107def extract_all_captions(captions, model, device, batch_size=256, num_workers=8):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected