-
Notifications
You must be signed in to change notification settings - Fork 3.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
update hparams, allow OmegaConf #2047
Conversation
Hello @Borda! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-06-07 20:56:24 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit comment.
it seems that the loading is a bit tricky as we need to separate from saving a single config and multiple primitives... in particular, the multiple primitives are aggregated to an internal dict which may be the same as passed single dict config... so these two use-cases need to be saved separately 🐰 |
dropped duplicated tests and removed test from a past feature about collecting init args |
@omry @awaelchli @williamFalcon mind check the last version... |
Codecov Report
@@ Coverage Diff @@
## master #2047 +/- ##
======================================
- Coverage 86% 86% -0%
======================================
Files 75 75
Lines 4710 4786 +76
======================================
+ Hits 4067 4129 +62
- Misses 643 657 +14 |
Co-authored-by: Omry Yadan <omry@fb.com>
* DictConf * inits * Apply suggestions from code review Co-authored-by: Omry Yadan <omry@fb.com> * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * atrib * wip * wip * wip * added hparams test * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update test_hparams.py * added hparams test * added hparams test * pep8 * pep8 * pep8 * docs * wip * wip * clean * review @omry * Update docs/source/hyperparameters.rst Co-authored-by: Omry Yadan <omry@fb.com> Co-authored-by: Omry Yadan <omry@fb.com> Co-authored-by: William Falcon <waf2107@columbia.edu>
What does this PR do?
Fixes #2027
Fixes #2040
Fixes #2087
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃