Skip to content

Is hierarchical configs desirable or boiler plate? #2836

Answered by odelalleau
ryotatomioka asked this question in Q&A
Discussion options

You must be logged in to vote

I was more worried about the duplication of default values between the code and yaml file but we could write a decorator that automatically generates a structured config from a class. We can automatically insert the _target_ field. Is this something that you or anyone else have considered?

I believe hydra-zen has.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ryotatomioka
Comment options

Comment options

You must be logged in to vote
1 reply
@ryotatomioka
Comment options

Answer selected by ryotatomioka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants