tbp.monty.conf#

tbp.monty.conf.update_snapshots#

Updates test snapshots from the current config.

Usage:

python update_snapshots.py

update_snapshots(experiment_dir: Path = PosixPath('/home/runner/work/tbp.monty/tbp.monty/tbp.monty/src/tbp/monty/conf/experiment'), experiment_prefix: str = '', snapshots_dir: Path = PosixPath('/home/runner/work/tbp.monty/tbp.monty/tbp.monty/tests/conf/snapshots'))[source]#

Update snapshots for all experiments in the experiment directory.

Parameters:
  • experiment_dir (Path) – The directory containing the experiments.

  • experiment_prefix (str) – The prefix to add to the experiment name (e.g. “tutorial/”)

  • snapshots_dir (Path) – The directory to write the snapshots to.

tbp.monty.conf.validate#

validate(cfg: DictConfig)[source]#