unilab.training.run.get_log_root¶
- unilab.training.run.get_log_root(root_dir, cfg=None, *, algo_log_name=None, log_root=None)[source]¶
Resolve the algorithm log root.
The configured
training.log_root(or the explicitlog_rootargument) wins; otherwise theUNILAB_TEST_LOG_ROOToverride applies; otherwise the default is<root_dir>/logs/<algo_log_name>. Pass either a composed Hydracfgor an explicitalgo_log_name.