-
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
Native torch metrics #1488
Native torch metrics #1488
Commits on Jun 12, 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 0390cc1 - Browse repository at this point
Copy the full SHA 0390cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b62397 - Browse repository at this point
Copy the full SHA 9b62397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0800ae0 - Browse repository at this point
Copy the full SHA 0800ae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30d1188 - Browse repository at this point
Copy the full SHA 30d1188View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3c5ad4 - Browse repository at this point
Copy the full SHA d3c5ad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for efc96eb - Browse repository at this point
Copy the full SHA efc96ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e00350 - Browse repository at this point
Copy the full SHA 8e00350View commit details -
Configuration menu - View commit details
-
Copy full SHA for efcf601 - Browse repository at this point
Copy the full SHA efcf601View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcfb1cc - Browse repository at this point
Copy the full SHA fcfb1ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b5bad9 - Browse repository at this point
Copy the full SHA 0b5bad9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01d29da - Browse repository at this point
Copy the full SHA 01d29daView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff59c60 - Browse repository at this point
Copy the full SHA ff59c60View commit details -
Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5ce8207 - Browse repository at this point
Copy the full SHA 5ce8207View commit details -
Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 55b2329 - Browse repository at this point
Copy the full SHA 55b2329View commit details -
Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 19c1d9d - Browse repository at this point
Copy the full SHA 19c1d9dView commit details -
Update tests/utilities/test_apply_to_collection.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e7ccb29 - Browse repository at this point
Copy the full SHA e7ccb29View commit details -
Update tests/utilities/test_apply_to_collection.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b78573a - Browse repository at this point
Copy the full SHA b78573aView commit details -
Update tests/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1619b55 - Browse repository at this point
Copy the full SHA 1619b55View commit details -
Apply suggestions from code review
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a29ce7a - Browse repository at this point
Copy the full SHA a29ce7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e6b3d - Browse repository at this point
Copy the full SHA c1e6b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59f5a9e - Browse repository at this point
Copy the full SHA 59f5a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b09eb6f - Browse repository at this point
Copy the full SHA b09eb6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e284d8 - Browse repository at this point
Copy the full SHA 4e284d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f7d4a0 - Browse repository at this point
Copy the full SHA 5f7d4a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e70f4fb - Browse repository at this point
Copy the full SHA e70f4fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a3cc95 - Browse repository at this point
Copy the full SHA 3a3cc95View commit details -
Configuration menu - View commit details
-
Copy full SHA for c82d4ee - Browse repository at this point
Copy the full SHA c82d4eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 627189b - Browse repository at this point
Copy the full SHA 627189bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d74cba - Browse repository at this point
Copy the full SHA 5d74cbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a40737 - Browse repository at this point
Copy the full SHA 8a40737View commit details -
Configuration menu - View commit details
-
Copy full SHA for 778531a - Browse repository at this point
Copy the full SHA 778531aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb36557 - Browse repository at this point
Copy the full SHA cb36557View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1cecf - Browse repository at this point
Copy the full SHA ca1cecfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b3d8db - Browse repository at this point
Copy the full SHA 4b3d8dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 430ffe6 - Browse repository at this point
Copy the full SHA 430ffe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8dca8 - Browse repository at this point
Copy the full SHA fb8dca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0be141 - Browse repository at this point
Copy the full SHA d0be141View commit details -
Configuration menu - View commit details
-
Copy full SHA for d110ef0 - Browse repository at this point
Copy the full SHA d110ef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bae4b2 - Browse repository at this point
Copy the full SHA 2bae4b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01fb972 - Browse repository at this point
Copy the full SHA 01fb972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b0c546 - Browse repository at this point
Copy the full SHA 9b0c546View commit details -
Configuration menu - View commit details
-
Copy full SHA for 674cd80 - Browse repository at this point
Copy the full SHA 674cd80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1339fb4 - Browse repository at this point
Copy the full SHA 1339fb4View commit details -
Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7cf1bd4 - Browse repository at this point
Copy the full SHA 7cf1bd4View commit details -
Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bceb07e - Browse repository at this point
Copy the full SHA bceb07eView commit details -
Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d06e3d2 - Browse repository at this point
Copy the full SHA d06e3d2View commit details -
Update tests/utilities/test_apply_to_collection.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e26bdff - Browse repository at this point
Copy the full SHA e26bdffView commit details -
Update tests/utilities/test_apply_to_collection.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cdf8bd5 - Browse repository at this point
Copy the full SHA cdf8bd5View commit details -
Update tests/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0177ec0 - Browse repository at this point
Copy the full SHA 0177ec0View commit details -
Apply suggestions from code review
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7408170 - Browse repository at this point
Copy the full SHA 7408170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82988c5 - Browse repository at this point
Copy the full SHA 82988c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fd032b - Browse repository at this point
Copy the full SHA 4fd032bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddd7e4d - Browse repository at this point
Copy the full SHA ddd7e4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a25cab7 - Browse repository at this point
Copy the full SHA a25cab7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 121103c - Browse repository at this point
Copy the full SHA 121103cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7886d6 - Browse repository at this point
Copy the full SHA e7886d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23dd2a5 - Browse repository at this point
Copy the full SHA 23dd2a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 817f09c - Browse repository at this point
Copy the full SHA 817f09cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 905befa - Browse repository at this point
Copy the full SHA 905befaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e43d46 - Browse repository at this point
Copy the full SHA 2e43d46View commit details -
Configuration menu - View commit details
-
Copy full SHA for e79bea9 - Browse repository at this point
Copy the full SHA e79bea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a522ab2 - Browse repository at this point
Copy the full SHA a522ab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 281024c - Browse repository at this point
Copy the full SHA 281024cView commit details -
Update pytorch_lightning/metrics/metric.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e354f4f - Browse repository at this point
Copy the full SHA e354f4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdeecf0 - Browse repository at this point
Copy the full SHA cdeecf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32345f0 - Browse repository at this point
Copy the full SHA 32345f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bf2023 - Browse repository at this point
Copy the full SHA 3bf2023View commit details -
Update pytorch_lightning/metrics/metric.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5517458 - Browse repository at this point
Copy the full SHA 5517458View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7557f39 - Browse repository at this point
Copy the full SHA 7557f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for d58a1dc - Browse repository at this point
Copy the full SHA d58a1dcView commit details -
Update pytorch_lightning/metrics/metric.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 07d04ab - Browse repository at this point
Copy the full SHA 07d04abView commit details -
Apply suggestions from code review
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3515cfe - Browse repository at this point
Copy the full SHA 3515cfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69855c7 - Browse repository at this point
Copy the full SHA 69855c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f493b6b - Browse repository at this point
Copy the full SHA f493b6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6af9b - Browse repository at this point
Copy the full SHA ef6af9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8c36a8 - Browse repository at this point
Copy the full SHA e8c36a8View commit details -
Apply suggestions from code review
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0b0d26c - Browse repository at this point
Copy the full SHA 0b0d26cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ebe9342 - Browse repository at this point
Copy the full SHA ebe9342View commit details -
Configuration menu - View commit details
-
Copy full SHA for f722d06 - Browse repository at this point
Copy the full SHA f722d06View commit details -
Configuration menu - View commit details
-
Copy full SHA for af47a87 - Browse repository at this point
Copy the full SHA af47a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4de6776 - Browse repository at this point
Copy the full SHA 4de6776View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbfa32d - Browse repository at this point
Copy the full SHA cbfa32dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24010d4 - Browse repository at this point
Copy the full SHA 24010d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c50f3f3 - Browse repository at this point
Copy the full SHA c50f3f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a20c24 - Browse repository at this point
Copy the full SHA 9a20c24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10df5cf - Browse repository at this point
Copy the full SHA 10df5cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20b458a - Browse repository at this point
Copy the full SHA 20b458aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b90ec08 - Browse repository at this point
Copy the full SHA b90ec08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ec7957 - Browse repository at this point
Copy the full SHA 8ec7957View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ce2250 - Browse repository at this point
Copy the full SHA 9ce2250View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82cadb4 - Browse repository at this point
Copy the full SHA 82cadb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38b84ff - Browse repository at this point
Copy the full SHA 38b84ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for d22abd0 - Browse repository at this point
Copy the full SHA d22abd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ed04e - Browse repository at this point
Copy the full SHA 56ed04eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fec8023 - Browse repository at this point
Copy the full SHA fec8023View commit details -
Configuration menu - View commit details
-
Copy full SHA for b536763 - Browse repository at this point
Copy the full SHA b536763View commit details -
Configuration menu - View commit details
-
Copy full SHA for c43a0da - Browse repository at this point
Copy the full SHA c43a0daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c4566 - Browse repository at this point
Copy the full SHA 69c4566View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1b9e74 - Browse repository at this point
Copy the full SHA c1b9e74View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfac264 - Browse repository at this point
Copy the full SHA cfac264View commit details -
Configuration menu - View commit details
-
Copy full SHA for e225008 - Browse repository at this point
Copy the full SHA e225008View commit details -
Configuration menu - View commit details
-
Copy full SHA for d80a8e4 - Browse repository at this point
Copy the full SHA d80a8e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba2ee61 - Browse repository at this point
Copy the full SHA ba2ee61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6b96d - Browse repository at this point
Copy the full SHA 6b6b96dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3ad1ca - Browse repository at this point
Copy the full SHA c3ad1caView commit details -
Add documentation to native metrics (#2144)
* add docs * add docs * Apply suggestions from code review * formatting * add docs Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka@pytorchlightning.ai>
Configuration menu - View commit details
-
Copy full SHA for 3e979d0 - Browse repository at this point
Copy the full SHA 3e979d0View commit details -
Rename tests/metrics/test_classification.py to tests/metrics/function…
…al/test_classification.py
Configuration menu - View commit details
-
Copy full SHA for 2967d70 - Browse repository at this point
Copy the full SHA 2967d70View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6df2b6 - Browse repository at this point
Copy the full SHA c6df2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d69f4a - Browse repository at this point
Copy the full SHA 3d69f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2373ab4 - Browse repository at this point
Copy the full SHA 2373ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5f4aca - Browse repository at this point
Copy the full SHA d5f4acaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d409947 - Browse repository at this point
Copy the full SHA d409947View commit details -
Configuration menu - View commit details
-
Copy full SHA for 145b1dc - Browse repository at this point
Copy the full SHA 145b1dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5608e0e - Browse repository at this point
Copy the full SHA 5608e0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d4b1ea - Browse repository at this point
Copy the full SHA 4d4b1eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6f0e67 - Browse repository at this point
Copy the full SHA a6f0e67View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec65588 - Browse repository at this point
Copy the full SHA ec65588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0868b6f - Browse repository at this point
Copy the full SHA 0868b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5ff39b - Browse repository at this point
Copy the full SHA f5ff39bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 247fc76 - Browse repository at this point
Copy the full SHA 247fc76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4600978 - Browse repository at this point
Copy the full SHA 4600978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d98c5b - Browse repository at this point
Copy the full SHA 7d98c5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fa09f0 - Browse repository at this point
Copy the full SHA 7fa09f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ace806a - Browse repository at this point
Copy the full SHA ace806aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e523eda - Browse repository at this point
Copy the full SHA e523edaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a84de91 - Browse repository at this point
Copy the full SHA a84de91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 802104e - Browse repository at this point
Copy the full SHA 802104eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd790b9 - Browse repository at this point
Copy the full SHA cd790b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8391654 - Browse repository at this point
Copy the full SHA 8391654View commit details -
Configuration menu - View commit details
-
Copy full SHA for f71331e - Browse repository at this point
Copy the full SHA f71331eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 612681b - Browse repository at this point
Copy the full SHA 612681bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a62ac0 - Browse repository at this point
Copy the full SHA 3a62ac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d08fc5 - Browse repository at this point
Copy the full SHA 9d08fc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for be464bf - Browse repository at this point
Copy the full SHA be464bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3e0459 - Browse repository at this point
Copy the full SHA b3e0459View commit details -
Configuration menu - View commit details
-
Copy full SHA for d786048 - Browse repository at this point
Copy the full SHA d786048View commit details -
Configuration menu - View commit details
-
Copy full SHA for f672ab6 - Browse repository at this point
Copy the full SHA f672ab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c87640 - Browse repository at this point
Copy the full SHA 8c87640View commit details -
Configuration menu - View commit details
-
Copy full SHA for d81eeb1 - Browse repository at this point
Copy the full SHA d81eeb1View commit details