Configuration file improvements with Hydra and OmegaConf? #212
eduardo-escoto
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! Been using this suite of tools and models a bit now for some research projects, and I appreciate the deep codebase for music generation!
While I understand this codebase is still growing, one of pain points for me has been the somewhat lack of clarity around configuration for the different models, and also its dependency on prefigure.
Prefigure is cool, but there is a more mature ecosystem in Facebook's Hydra -- especially for specifying ML experiments!
I'd be happy to work on porting things over to use Hydra and OmegaConf and open a pull request if there is interest from the maintainers!
To be specific, for me the lack of clarity around the configuration options and the brittleness of ini configs. (I had the weirdest bug for a while and its because
True
wasn't actually being read in as a boolean and a string instead T_T). Using some of these configuration tools, and other data validation libraries like pydantic would definitely help in the maturity and usefulness of this codebase!Beta Was this translation helpful? Give feedback.
All reactions