You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I’m looking to stick with using yaml files to define experiment configs as I find it is a little easier for users unfamiliar with hydra zen to capture what overrides they wish to apply on some default configuration.
For example , I am planning on incorporating some experiment config defined in yaml like the following from hydra examples into some default config defined used hydra zen:
(assuming the server nginx and db sqlite exist in the base config that was defined using hydra zen.)
I’m still getting the hang of using hydra zen so wanted to ask for advice about what might be a recommended approach to accomplish this? The way I’m thinking about it, composing the final config could go something like this:
define defaults using zen
merge in / apply overrides defined in experiment config (yaml)
finally, if user expressed any cli overrides , apply those at the end
The main thing confusing me I guess is how can I perform step 2 , assuming the experiment yaml may be referencing some defaults list defined using hydra zen? Any suggestions would be greatly appreciated, thanks. And thanks in general for hydra zen!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I’m looking to stick with using yaml files to define experiment configs as I find it is a little easier for users unfamiliar with hydra zen to capture what overrides they wish to apply on some default configuration.
For example , I am planning on incorporating some experiment config defined in yaml like the following from hydra examples into some default config defined used hydra zen:
(assuming the server nginx and db sqlite exist in the base config that was defined using hydra zen.)
I’m still getting the hang of using hydra zen so wanted to ask for advice about what might be a recommended approach to accomplish this? The way I’m thinking about it, composing the final config could go something like this:
The main thing confusing me I guess is how can I perform step 2 , assuming the experiment yaml may be referencing some defaults list defined using hydra zen? Any suggestions would be greatly appreciated, thanks. And thanks in general for hydra zen!
Beta Was this translation helpful? Give feedback.
All reactions