MCPcopy Create free account
hub / github.com/MegaScenes/nvs / __len__

Method __len__

ldm/data/coco.py:98–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 raise NotImplementedError()
97
98 def __len__(self):
99 return len(self.labels["image_ids"])
100
101 def preprocess_image(self, image_path, segmentation_path=None):
102 image = Image.open(image_path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected