-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discussion] Ideas for better model config management #21
Comments
In addition to the previous conversation i'd like to add:
|
Maybe we could have an internal default for each model and only write default override in a YAML file (which allows for comments and is more user friendly). And since we don't have the json to explain the fields, we can have a .md per model or concept (like the audio processor) explaining the fields. |
If we're leaning towards YAML maybe strict-yaml is worth considering. On the other hand Python devs seem to be going for TOML - PEP 621 |
I don't know the ambitions of coqui-TTS but if one day you decide to have model run on iOS or android (or something else) it seems that keeping the config in a non specific to python format might be a good idea |
do you know what are good formats with multiple platform support? I guess json is one and that was the reason I choose it initially. Btw one good option could be using just Python classes as config files and export them to generic formats when necessary. |
+1 for a Python class that could get exported if need be. |
this looks like a good option https://pypi.org/project/dataclasses-json/ as @reuben suggested |
I created this to use an in house solution https://github.com/erogol/coqpit |
here we go #476 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels. |
I think we can close this as it is solved with the new Coqpit integration. Thx everyone for your discussion. |
@omkarade why are you spamming here and there? Please create a new topic under discussion and ask your questions there. |
refactor(dataset): get audio length with torchaudio
(I keep it in the issues to refer back to the initial discussion)
Hi All!!
I guess one of the biggest issues in TTS is the way we handle the configs for models and training. Putting example config files under the config folder is hard to maintain and looks complicated for people to start using TTS.
So I want to discuss here some better alternatives and ask for the wisdom of the crowd 🧑🤝🧑.
Couple of constraints we need to consider from the top of my head.
config.json
by violating the JSON format with comments. It is not optimalIf you have an idea please share it below and let's discuss it.
Edit:
I should also add one more constraint.
NOTE: This is a continuation of previously started conversion mozilla/TTS#660
Originally posted by @erogol in #20
The text was updated successfully, but these errors were encountered: