config¶
BaseSubtaskConfig
& BaseHydraConfig
.
Check-out the hydra docs & omegaconf docs for more information on how structured configurations work and how to best utilize them.
This module also makes use of hydra_zen.make_config()
to
simplify config creation (reference).
- class cneuromax.config.BaseSubtaskConfig(output_dir='${hydra:runtime.output_dir}', data_dir='${oc.env:CNEUROMAX_PATH}/data/', seed=0)[source]¶
Bases:
object
Base
subtask
config.- Parameters:
output_dir (
str
, default:'${hydra:runtime.output_dir}'
) – Path to thesubtask
output directory. Every artifact generated during thesubtask
will be stored in this directory.data_dir (
str
, default:'${oc.env:CNEUROMAX_PATH}/data/'
) – Path to the data directory. This directory is shared betweentask
runs. It is used to store datasets, pre-trained models, etc.seed (
int
, default:0
) – Random seed to use for reproducibility.
- class cneuromax.config.BaseHydraConfig(defaults=<factory>, mode=RunMode.MULTIRUN, searchpath=<factory>, run=<factory>, sweep=<factory>, hydra_logging='???', job_logging='???', sweeper='???', launcher='???', callbacks=<factory>, help=<factory>, hydra_help=<factory>, output_subdir='.hydra', overrides=<factory>, job=<factory>, runtime=<factory>, verbose=False)[source]¶
Bases:
Config
Base Hydra config.