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
The only supported way to override the defaults list when using @hydra.main() is through the command line.
python foo.py model=UNetTC
I suspect what you really want would be addressed by the potential support for recursive defaults. but this is not something that will happen soon and I still have some questions about it's viability.
See #171 for the info about the task to add recursive detaults.
An alternative workaround would come once support for an alternative primary config is introduced.
that way you will be able to have a defaults list in your alternative primary config. this is likely be supported before recursive defaults.
My use-case includes predefined configuration of an experiment based on the suggestion from #386 (comment)
I do not know how to redefine the selection of group
model
indefaults
:conf/config.yaml
conf/model/UNetPix.yaml
conf/model/UNetTC.yaml
I would like to add configuration of an experiment where the UNetTC node replaces the UNetPix.
conf/experiment/UNetTC.yaml
I can set the model as
model: UNetTC
which resolves to stringUNetTC
but the desired outcome should be the whole node defined inmodels/UNetTC.yaml
.Is this currently possible?
The text was updated successfully, but these errors were encountered: