-
Here is a toy example with the following config tree
And defaults:
- net: cnn
- optimizer: sgd
name: cnn_sgd and example of _target_: SomeFancyCNN
num_layer: 3 QuestionIn the above example, we have totally 4 combinations~([cnn, mlp] x [sgd, adam]). Do we have a smart and automatic way to set
|
Beta Was this translation helpful? Give feedback.
Answered by
Jasha10
Jul 18, 2022
Replies: 1 comment
-
A few possibilities come to mind:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
qsh-zh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A few possibilities come to mind:
${hydra:runtime.choices}
to get a list of config group choices. This list could be further processed by a custom resolver to turn the list into a string.${hydra:job.override_dirname}
is a convenience providing a ready-to-use string representing the overrides used for the current job.