neuro_morpho.run
Functions
|
|
|
|
|
Converts a Gin.config_str() to a dict for logging with comet.ml |
|
Run the model on the data and save the results. |
Module Contents
- neuro_morpho.run.config_str_to_dict(config_str: str) dict[source]
Converts a Gin.config_str() to a dict for logging with comet.ml
- neuro_morpho.run.run(model: neuro_morpho.model.base.BaseModel, training_x_dir: str | pathlib.Path, training_y_dir: str | pathlib.Path, validating_x_dir: str | pathlib.Path, validating_y_dir: str | pathlib.Path, testing_x_dir: str | pathlib.Path, testing_y_dir: str | pathlib.Path, model_save_dir: str | pathlib.Path, model_out_y_dir: str | pathlib.Path, model_out_val_y_dir: str | pathlib.Path, model_stats_output_dir: str | pathlib.Path, labeled_stats_output_dir: str | pathlib.Path, report_output_dir: str | pathlib.Path, logger: neuro_morpho.logging.base.Logger = None, train: bool = False, get_threshold: bool = False, test: bool = False, infer: bool = False, cal_stats: bool = False)[source]
Run the model on the data and save the results.