cyto_dl.api.cyto_dl_model.cyto_dl_base_model module#
- class cyto_dl.api.cyto_dl_model.cyto_dl_base_model.CytoDLBaseModel(cfg: DictConfig)[source]#
Bases:
ABC
A CytoDLBaseModel is used to configure, train, and run predictions on a cyto-dl model.
Not intended for direct use by clients.
Please see the classmethod factory methods instead.
- classmethod from_default_config(spatial_dims: int)[source]#
Returns a model from the default config.
- Parameters:
spatial_dims – dimensions for the model (e.g. 2)