(self,
crops,
mask=False,
transform=None)
| 4 | |
| 5 | class 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) |
nothing calls this directly
no outgoing calls
no test coverage detected