cyto_dl.api.model module#

class cyto_dl.api.model.CytoDLModel[source]#

Bases: object

download_example_data()[source]#
load_config_from_dict(config: dict)[source]#

Load configuration from dictionary.

load_config_from_file(config_path: str)[source]#

Load configuration file.

load_default_experiment(experiment_type: str, output_dir: str, train=True, overrides: List = [])[source]#

Load configuration from directory.

override_config(overrides: Dict[str, str | int | float | bool])[source]#

Override configuration from list of overrides.

predict(run_async=False, data=None)[source]#
print_config()[source]#
save_config(path: Path) None[source]#

Save current config to provided path.

Parameters:

path – path at which to save config

train(run_async=False, data=None)[source]#