Skip to content

Commit

Permalink
Fix run_path Hydra cfg variable in pretrain experiment cfg
Browse files Browse the repository at this point in the history
- Don't refer to `hydra.job.override_dirname` since it is not defined in the pass when the `run_path` is evaluated
  • Loading branch information
nathanpainchaud committed Jul 5, 2024
1 parent 452d72e commit f2d67c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion didactic/config/experiment/pretrain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ callbacks:
_target_: pytorch_lightning.callbacks.LearningRateFinder


run_path: ${hydra:runtime.choices.experiment}/data=${hydra:runtime.choices.task/data}/encoder=${hydra:runtime.choices.task/model/encoder},cross_blocks=${oc.select:task.model.encoder.n_bidirectional_blocks,0},time_series_tokenizer=${hydra:runtime.choices.task/time_series_tokenizer/model}/cls_token=${task.cls_token}/${hydra.job.override_dirname}
run_path: ${hydra:runtime.choices.experiment}/data=${hydra:runtime.choices.task/data}/encoder=${hydra:runtime.choices.task/model/encoder},cross_blocks=${oc.select:task.model.encoder.n_bidirectional_blocks,0},time_series_tokenizer=${hydra:runtime.choices.task/time_series_tokenizer/model}/cls_token=${task.cls_token}

0 comments on commit f2d67c4

Please sign in to comment.