MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / __len__

Method __len__

utils/dataloader_polyp.py:94–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 return image, mask, original_shape, name
93
94 def __len__(self):
95 return self.size
96
97def get_loader(image_root, gt_root, batchsize, trainsize, shuffle=False, num_workers=4, pin_memory=True, augmentation=False, split='train', color_image=True):
98 dataset = PolypDataset(image_root, gt_root, trainsize, augmentation, split, color_image)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected