Specify another list in defaults #2271
Answered
by
Jasha10
pamparana34
asked this question in
Q&A
-
I am trying to create a config as follows: I have some optimiser config as:
And I have a few other ones as well like Now, my model config has something like:
Now, when I do the it does not seem to like the fact that this is a list and only passes the first item to the underlying object. How can I pass a list in this case? |
Beta Was this translation helpful? Give feedback.
Answered by
Jasha10
Jun 26, 2022
Replies: 1 comment
-
Adding an element |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pamparana34
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding an element
- optimizer: [adam, SGD]
to your defaults list will cause the adam and SGD configs to be merged. See my comment here for a tip on how to compose a ListConfig using the defaults list.