Replies: 1 comment 5 replies
-
What do you think of this? experiment_store = store(group="experiment", package="_global_")
Shared = make_config(
hydra_defaults=[
"_self_",
{"override /item": "Item"},
{"override /test": "test1"},
],
number=10,
msg=MISSING,
bases=(Config,),
)
experiment_store(make_config(msg="m1", bases=(Shared,)), name="experiment1")
experiment_store(make_config(msg="m2", bases=(Shared,)), name="experiment2") Using another level of inheritance seems like it could be a good approach for sharing parameters across experiments |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
hydra_zen has helped me a lot. Right now I have many experiments and I was wondering how I could reduce duplication between them.
Consider the following toy example.
Both experiment1 and experiment2 use the config group
'Item'
und setnumber
to 10. How can this be shared?I also do not want to put these values into
Config
as there might be many more experiments which use a differentItem
andnumber
.Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions