Is it possible to define dependency between two different config groups? #2792
-
In my use case, I want to load specific config groups depending on the value stored on the other config groups. For example, I defined two config groups
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Yes, basic interpolation support is available in the defaults list, see doc at https://hydra.cc/docs/advanced/defaults_list/#interpolation-in-the-defaults-list |
Beta Was this translation helpful? Give feedback.
No that shouldn't work, because when parsing the defaults list the content of the config itself is not available yet.
I think what you're trying to achieve would better be done by overriding the defaults list from your
feature_extract/v2.yaml
, as below.feature_extract/v2.yaml
config.yaml
Edit: see comment below for a slightly better syntax