MCPcopy Create free account
hub / github.com/KerenLab/CellSighter / __init__

Method __init__

data/data.py:6–13  ·  view source on GitHub ↗
(self,
                 crops,
                 mask=False,
                 transform=None)

Source from the content-addressed store, hash-verified

4
5class CellCropsDataset(Dataset):
6 def __init__(self,
7 crops,
8 mask=False,
9 transform=None):
10 super().__init__()
11 self._crops = crops
12 self._transform = transform
13 self._mask = mask
14
15 def __len__(self):
16 return len(self._crops)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected