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

Logger tests and fixes #1009

Merged
merged 11 commits into from
Mar 3, 2020
Merged

Conversation

ethanwharris
Copy link
Member

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 # (issue).

  • Added several tests to loggers
  • Fixed a couple of small bugs that were found in the process
  • Improved coverage

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 🙃

@pep8speaks
Copy link

pep8speaks commented Mar 2, 2020

Hello @ethanwharris! Thanks for updating this PR.

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-03-02 20:05:38 UTC

Copy link
Member

@Borda Borda left a comment

Choose a reason for hiding this comment

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

LGTM 🚀, just with the test split (which good) it is hard to see what are old and new tests...

@@ -20,8 +20,10 @@
# For more information, see: https://www.comet.ml/docs/python-sdk/releases/#release-300
from comet_ml.papi import API
except ImportError:
raise ImportError('Missing comet_ml package.')
raise ImportError('You want to use `comet_ml` logger which is not installed yet,'
Copy link
Member

Choose a reason for hiding this comment

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

strange, I am pretty sure I was fixing this already...

pytorch_lightning/loggers/mlflow.py Outdated Show resolved Hide resolved
tests/loggers/test_base.py Show resolved Hide resolved
@Borda Borda added ci Continuous Integration feature Is an improvement or enhancement ready PRs ready to be merged labels Mar 2, 2020
@Borda Borda added this to the 0.7.0 milestone Mar 2, 2020
@Borda
Copy link
Member

Borda commented Mar 2, 2020

Great job!

@williamFalcon williamFalcon merged commit f862d9f into Lightning-AI:master Mar 3, 2020
tullie pushed a commit to tullie/pytorch-lightning that referenced this pull request Apr 3, 2020
* Refactor logger tests

* Update and add tests for wandb logger

* Update and add tests for logger bases

* Update and add tests for mlflow logger

* Improve coverage

* Updates

* Update CHANGELOG

* Updates

* Fix style

* Fix style

* Updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration feature Is an improvement or enhancement ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants