MCPcopy Create free account
hub / github.com/adobe-research/custom-diffusion / __len__

Method __len__

customconcept101/evaluate.py:88–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 return {'image': image}
87
88 def __len__(self):
89 return len(self.data)
90
91
92def extract_all_captions(captions, model, device, batch_size=256, num_workers=8, append=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected