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
Is your feature request related to a problem? Please describe.
I apologize if this feature exists or has been asked before, but I couldn't find a solution.
I have a Python class that accepts a list of configs. Imagine a number of configs for individual classes that can be instantiated:
Now imagine wanting to create something like nn.Sequential flexibly from command line. In particular, I'd like to flexibly be able to create configs such as
However, I don't want to create a config for every possible combination. An ideal interface would be something like configs/model/model1.yaml:
defaults:
- linear
- relu
However, this clearly doesn't work and I'm not sure what other interface could make sense. Maybe an alternative interface could be configs/model/model1.yaml:
defaults:
- linear@0
- relu@1
Any ideas for how to implement something like this?
The text was updated successfully, but these errors were encountered:
🚀 Feature Request
Motivation
Is your feature request related to a problem? Please describe.
I apologize if this feature exists or has been asked before, but I couldn't find a solution.
I have a Python class that accepts a list of configs. Imagine a number of configs for individual classes that can be instantiated:
configs/model/linear.yaml
:configs/model/relu.yaml
:Now imagine wanting to create something like
nn.Sequential
flexibly from command line. In particular, I'd like to flexibly be able to create configs such asconfigs/model/model1.yaml
:configs/model/model2.yaml
:However, I don't want to create a config for every possible combination. An ideal interface would be something like
configs/model/model1.yaml
:However, this clearly doesn't work and I'm not sure what other interface could make sense. Maybe an alternative interface could be
configs/model/model1.yaml
:Any ideas for how to implement something like this?
The text was updated successfully, but these errors were encountered: