-
Notifications
You must be signed in to change notification settings - Fork 982
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
Make Configs Consistent #920
Comments
Hello! I'm a newcomer here and would be more than happy to work on this issue. |
Welcome @austinburnett , thanks for offering to work on this! So for this issue--actually what's currently done in the repo is that either Would an acceptable solution be to leave things as they are now but just document more clearly in the relevant readme that you can write args with hyphens or underscores in YML files? That's what I'd tend toward personally, if it's acceptable. |
Yeah absolutely. Honestly, even just changing all the documentation (incl. demo files) to be consistent would probably be sufficient. Edit: After thinking about it a bit, I think that the documentation solution is ideal for backwards compatibility. We could add a warning that this will be phased out one day, but honestly it's very minimal work to continue to preserve supporting both so my inclination is to not even bother phasing it out. |
I believe this would be an acceptable solution as well. I can note in the relevant doc that the '-' args may be deprecated. For the sake of clarity, by consistency you mean modifying everything to have '_' args instead of '-'. |
@austinburnett i have a weak preference for making |
I have an extremely weak preference for the other way around, but it really doesn't matter. |
Alright, sounds good. I'm working on it now. I'll stick with the original plan of converting '-' to '_'. My goal is to develop a regular expression to take care of it. |
I just opened up a pull request for this issue. I believe I have completed task 1 & 2. However, I'm unsure if task 3 is complete. |
Currently we have configs with a mix of
-
and_
. For example, we useno-weight-tying
butoutput_layer_init_method
. I don't particularly care which way we decide is the correct way, but we should be consistent across the library.The text was updated successfully, but these errors were encountered: