cellmil.dataset.dataset_creator¶
Classes
|
Class to create a dataset for MIL training based on the provided configuration. |
- class cellmil.dataset.dataset_creator.DatasetCreator(config: DatasetCreatorConfig)[source]¶
Bases:
objectClass to create a dataset for MIL training based on the provided configuration.
- __init__(config: DatasetCreatorConfig)[source]¶
- _get_magnification_openslide(path: str) float | None[source]¶
Extract magnification from slide metadata using openslide.