Skip to content

Commit

Permalink
Fixes colorlog issue where train.log is saved in project root dir ins…
Browse files Browse the repository at this point in the history
…tead of in log dir.
  • Loading branch information
tesfaldet committed Jul 29, 2023
1 parent 9355a5d commit 2ada6d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configs/hydra/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ run:
sweep:
dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
subdir: ${hydra.job.num}

job_logging:
handlers:
file:
# Incorporates fix from https://github.com/facebookresearch/hydra/pull/2242
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log

0 comments on commit 2ada6d2

Please sign in to comment.