neuro_morpho.run ================ .. py:module:: neuro_morpho.run Functions --------- .. autoapisummary:: neuro_morpho.run._config_line_filter neuro_morpho.run._config_line_to_pair neuro_morpho.run.config_str_to_dict neuro_morpho.run.run Module Contents --------------- .. py:function:: _config_line_filter(line: str) -> bool .. py:function:: _config_line_to_pair(line: str) -> list[str] .. py:function:: config_str_to_dict(config_str: str) -> dict Converts a Gin.config_str() to a dict for logging with comet.ml .. py:function:: 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) Run the model on the data and save the results. :param model: The model to run :type model: BaseModel :param data_dir: The directory containing the data :type data_dir: str|Path :param output_dir: The directory to save the results :type output_dir: str|Path