-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
New metric classes (#1326) #1877
Merged
Merged
Commits on Apr 3, 2020
-
* Create metrics package * Create metric.py * Create utils.py * Create __init__.py * add tests for metric utils * add docstrings for metrics utils * add function to recursively apply other function to collection * add tests for this function * update test * Update pytorch_lightning/metrics/metric.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * update metric name * remove example docs * fix tests * add metric tests * fix to tensor conversion * fix apply to collection * Update CHANGELOG.md * Update pytorch_lightning/metrics/metric.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * remove tests from init * add missing type annotations * rename utils to convertors * Create metrics.rst * Update index.rst * Update index.rst * Update pytorch_lightning/metrics/convertors.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Update pytorch_lightning/metrics/convertors.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Update pytorch_lightning/metrics/convertors.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Update pytorch_lightning/metrics/metric.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Update tests/utilities/test_apply_to_collection.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Update tests/utilities/test_apply_to_collection.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Update tests/metrics/convertors.py Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Apply suggestions from code review Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * add doctest example * rename file and fix imports * added parametrized test * replace lambda with inlined function * rename apply_to_collection to apply_func * Separated class description from init args * Apply suggestions from code review Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * adjust random values * suppress output when seeding * remove gpu from doctest * Add requested changes and add ellipsis for doctest * forgot to push these files... * add explicit check for dtype to convert to * fix ddp tests * remove explicit ddp destruction Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4c6c4e0 - Browse repository at this point
Copy the full SHA 4c6c4e0View commit details
Commits on May 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fbfa806 - Browse repository at this point
Copy the full SHA fbfa806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24b1e21 - Browse repository at this point
Copy the full SHA 24b1e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3598db9 - Browse repository at this point
Copy the full SHA 3598db9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee3fe9 - Browse repository at this point
Copy the full SHA 3ee3fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf9bf78 - Browse repository at this point
Copy the full SHA cf9bf78View commit details -
Configuration menu - View commit details
-
Copy full SHA for af6f598 - Browse repository at this point
Copy the full SHA af6f598View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd772fd - Browse repository at this point
Copy the full SHA cd772fdView commit details
Commits on May 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5859bd6 - Browse repository at this point
Copy the full SHA 5859bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65d8a05 - Browse repository at this point
Copy the full SHA 65d8a05View commit details -
Apply suggestions from code review
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 781acf3 - Browse repository at this point
Copy the full SHA 781acf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3784651 - Browse repository at this point
Copy the full SHA 3784651View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9c5a75 - Browse repository at this point
Copy the full SHA f9c5a75View commit details -
Configuration menu - View commit details
-
Copy full SHA for c057a24 - Browse repository at this point
Copy the full SHA c057a24View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4542b2 - Browse repository at this point
Copy the full SHA d4542b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for aabdc40 - Browse repository at this point
Copy the full SHA aabdc40View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.