Skip to content

Conversation

@tchaton
Copy link
Contributor

@tchaton tchaton commented Dec 21, 2020

What does this PR do?

Fixes #5213

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?
  • Did you verify new and existing tests pass locally with your changes?
  • If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified; Bugfixes should be including in bug-fix release milestones (m.f.X) and features should be included in (m.X.b) releases.

Did you have fun?

Make sure you had fun coding 🙃

@tchaton tchaton self-assigned this Dec 21, 2020
@tchaton tchaton added this to the 1.1.x milestone Dec 21, 2020
@tchaton tchaton added logger Related to the Loggers priority: 1 Medium priority task labels Dec 21, 2020
@codecov
Copy link

codecov bot commented Dec 21, 2020

Codecov Report

Merging #5214 (6b98616) into master (d1e97a4) will decrease coverage by 0%.
The diff coverage is 50%.

@@          Coverage Diff           @@
##           master   #5214   +/-   ##
======================================
- Coverage      93%     93%   -0%     
======================================
  Files         134     134           
  Lines        9945    9950    +5     
======================================
+ Hits         9259    9261    +2     
- Misses        686     689    +3     

Copy link
Collaborator

@SkafteNicki SkafteNicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tchaton tchaton enabled auto-merge (squash) December 28, 2020 12:27
@tchaton tchaton disabled auto-merge December 28, 2020 12:27
@tchaton tchaton merged commit 9ebbfec into master Dec 28, 2020
@tchaton tchaton deleted the bugfix/test_logging branch December 28, 2020 14:34
Borda pushed a commit that referenced this pull request Jan 6, 2021
* resolve bug

* merge tests

(cherry picked from commit 9ebbfec)
asnorkin pushed a commit to asnorkin/pytorch-lightning that referenced this pull request Jan 15, 2021
asnorkin pushed a commit to asnorkin/pytorch-lightning that referenced this pull request Feb 8, 2021
asnorkin pushed a commit to asnorkin/pytorch-lightning that referenced this pull request Feb 9, 2021
asnorkin pushed a commit to asnorkin/pytorch-lightning that referenced this pull request Feb 16, 2021
asnorkin pushed a commit to asnorkin/pytorch-lightning that referenced this pull request Feb 17, 2021
rohitgr7 added a commit that referenced this pull request Feb 22, 2021
* Trainer.test should return only test metrics (#5214)

* resolve bug

* merge tests

* Fix metric state reset (#5273)

* Fix metric state reset

* Fix test

* Improve formatting

Co-authored-by: Ananya Harsh Jha <ananya@pytorchlightning.ai>

* print() method added to ProgressBar

* printing alongside progress bar added to LightningModule.print()

* LightningModule.print() method documentation updated

* ProgressBarBase.print() stub added

* stub

* add progress bar tests

* fix isort

* Progress Callback fixes

* test_metric.py duplicate DummyList removed

* PEP and isort fixes

* CHANGELOG updated

* test_progress_bar_print win linesep fix

* test_progress_bar.py remove whitespaces

* Update CHANGELOG.md

Co-authored-by: chaton <thomas@grid.ai>
Co-authored-by: Tadej Svetina <tadej.svetina@gmail.com>
Co-authored-by: Ananya Harsh Jha <ananya@pytorchlightning.ai>
Co-authored-by: Alexander Snorkin <Alexander.Snorkin@acronis.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logger Related to the Loggers priority: 1 Medium priority task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

trainer.test contains validation metrics

4 participants