nucleus.metrics.segmentation_loader¶
Helper class that provides a standard way to create an ABC using |
|
We use this loader in the tests, this allows us to serve images from memory instead of fetching |
|
Helper class that provides a standard way to create an ABC using |
- class nucleus.metrics.segmentation_loader.DummyLoader¶
Helper class that provides a standard way to create an ABC using inheritance.
- class nucleus.metrics.segmentation_loader.InMemoryLoader(url_to_array)¶
We use this loader in the tests, this allows us to serve images from memory instead of fetching from a filesystem.
- Parameters:
url_to_array (Dict[str, numpy.ndarray])
- class nucleus.metrics.segmentation_loader.SegmentationMaskLoader¶
Helper class that provides a standard way to create an ABC using inheritance.