コード例 #1
0
ファイル: hydra_run.py プロジェクト: tatigabru/wheat
def run_model(cfg: DictConfig) -> None:
    print(cfg.pretty())
    save_useful_info()
    run(cfg)
コード例 #2
0
ファイル: train.py プロジェクト: fdroessler/pytorch_tempest
def run_model(cfg: DictConfig) -> None:
    os.makedirs('logs', exist_ok=True)
    print(cfg.pretty())
    if cfg.general.log_code:
        save_useful_info()
    run(cfg)
コード例 #3
0
def run_model(cfg: DictConfig) -> None:
    print(OmegaConf.to_yaml(cfg))
    save_useful_info()
    run(cfg)