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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logger bug and prepare data bug #1933

Merged

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented May 23, 2020

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 to update the docs?
  • Did you write any new necessary tests?
  • If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?

Fixes #1898 and #1919
Fix problems with the logger not being reset correctly for the model after tuner algorithms and problems related to prepare_data being call too many times.
Added some tests

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 馃檭

@mergify mergify bot requested a review from a team May 23, 2020 11:50
@codecov
Copy link

codecov bot commented May 23, 2020

Codecov Report

Merging #1933 into master will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #1933   +/-   ##
======================================
  Coverage      88%     88%           
======================================
  Files          74      74           
  Lines        4603    4608    +5     
======================================
+ Hits         4062    4068    +6     
+ Misses        541     540    -1     

@williamFalcon williamFalcon merged commit a34eb9e into Lightning-AI:master May 25, 2020
@Borda Borda added the bug Something isn't working label May 25, 2020
@Borda Borda added this to the 0.7.7 milestone May 25, 2020
@@ -128,3 +128,26 @@ def test_error_on_dataloader_passed_to_fit(tmpdir):

with pytest.raises(MisconfigurationException):
trainer.fit(model, **fit_options)


def test_logger_reset_correctly(tmpdir):
Copy link
Member

Choose a reason for hiding this comment

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

this shall go to tests/loggers

@mergify mergify bot requested a review from a team May 25, 2020 11:52
@Borda Borda mentioned this pull request May 25, 2020
@Borda Borda modified the milestones: 0.7.7, 0.8.0 May 26, 2020
@SkafteNicki SkafteNicki deleted the bugfix/logger_and_prepare branch June 15, 2020 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

batch size finder does not recognize flag and seems to download often
3 participants