Skip to content
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 16 commits into from
May 19, 2020
Merged

New metric classes (#1326) #1877

merged 16 commits into from
May 19, 2020

Commits on Apr 3, 2020

  1. New metric classes (#1326)

    * 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>
    justusschock and Borda committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    4c6c4e0 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. fix merge issues

    justusschock committed May 18, 2020
    Configuration menu
    Copy the full SHA
    fbfa806 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24b1e21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3598db9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ee3fe9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf9bf78 View commit details
    Browse the repository at this point in the history
  6. pep8

    justusschock committed May 18, 2020
    Configuration menu
    Copy the full SHA
    af6f598 View commit details
    Browse the repository at this point in the history
  7. fix import

    justusschock committed May 18, 2020
    Configuration menu
    Copy the full SHA
    cd772fd View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

  1. Update index.rst

    williamFalcon committed May 19, 2020
    Configuration menu
    Copy the full SHA
    5859bd6 View commit details
    Browse the repository at this point in the history
  2. Update ci-testing.yml

    justusschock committed May 19, 2020
    Configuration menu
    Copy the full SHA
    65d8a05 View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
    Borda and awaelchli committed May 19, 2020
    Configuration menu
    Copy the full SHA
    781acf3 View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG.md

    Borda committed May 19, 2020
    Configuration menu
    Copy the full SHA
    3784651 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9c5a75 View commit details
    Browse the repository at this point in the history
  6. readme

    Borda committed May 19, 2020
    Configuration menu
    Copy the full SHA
    c057a24 View commit details
    Browse the repository at this point in the history
  7. Update metric.py

    justusschock committed May 19, 2020
    Configuration menu
    Copy the full SHA
    d4542b2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aabdc40 View commit details
    Browse the repository at this point in the history