get_model_dir

daart.io.get_model_dir(base_dir: str, model_params: dict) str[source]

Helper function to construct model directory from model param dict.

Parameters:
  • base_dir (str) – base results directory

  • model_params (dict) – should contain the keys backbone and optionally experiment_name

Returns:

absolute path of model directory

Return type:

str