-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
simplify training phase as Enum #5419
Conversation
Can we unify this with LoggerStages? |
Co-authored-by: Carlos Mocholí <[email protected]>
Codecov Report
@@ Coverage Diff @@
## release/1.2-dev #5419 +/- ##
===============================================
Coverage 93% 93%
===============================================
Files 151 151
Lines 10617 10641 +24
===============================================
+ Hits 9835 9858 +23
- Misses 782 783 +1 |
Co-authored-by: Carlos Mocholí <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition ! Let's use this to refactor LoggerConnector internal Stage.
Also, we should provided context manager or stage stack as we can run evaluation in training.
yes, that is my goal, but as it is widely requested we shall do these changes in smaller steps :] |
@tchaton mind recheck... |
Co-authored-by: Adrian Wälchli <[email protected]>
* simplify training phase as Enum * tests * . * . * rename * Apply suggestions from code review Co-authored-by: Carlos Mocholí <[email protected]> * Apply suggestions from code review Co-authored-by: Carlos Mocholí <[email protected]> * rename * flake8 Co-authored-by: Carlos Mocholí <[email protected]>
What does this PR do?
simplify the training phase logic
application in code will follow
Before submitting
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:
Did you have fun?
Make sure you had fun coding 🙃