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 overwrite & add test for model hooks #4010

Merged
merged 1 commit into from Oct 20, 2020
Merged

Conversation

Borda
Copy link
Member

@Borda Borda commented Oct 8, 2020

What does this PR do?

adding a test for checking ho Model hooks are called, Closes #4001
fixes falling checking the parent model does not have implement hooks such as 'on_validation_start'

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

@Borda Borda added the ci Continuous Integration label Oct 8, 2020
@pep8speaks
Copy link

pep8speaks commented Oct 8, 2020

Hello @Borda! Thanks for updating this PR.

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

Comment last updated at 2020-10-20 10:26:52 UTC

@Borda Borda marked this pull request as ready for review October 8, 2020 22:18
@codecov
Copy link

codecov bot commented Oct 8, 2020

Codecov Report

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

@@           Coverage Diff           @@
##           master   #4010    +/-   ##
=======================================
  Coverage      90%     90%            
=======================================
  Files         103     103            
  Lines        7863    8228   +365     
=======================================
+ Hits         7064    7394   +330     
- Misses        799     834    +35     

@mergify mergify bot requested a review from a team October 8, 2020 22:19
@Borda Borda changed the title add test for model hooks fix overwrite & add test for model hooks Oct 9, 2020
@Borda Borda added the bug Something isn't working label Oct 9, 2020
@Borda
Copy link
Member Author

Borda commented Oct 10, 2020

It fixes bug

@mergify
Copy link
Contributor

mergify bot commented Oct 11, 2020

This pull request is now in conflict... :(

@Borda Borda added this to the 1.0.x milestone Oct 20, 2020
Copy link
Contributor

@tchaton tchaton left a comment

Choose a reason for hiding this comment

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

Great addition !

@Borda
Copy link
Member Author

Borda commented Oct 20, 2020

@awaelchli lets merge this one and later redo to mocks?

@SeanNaren SeanNaren merged commit 3777988 into master Oct 20, 2020
@ydcjeff ydcjeff deleted the tests/model-hooks branch October 20, 2020 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

on_train_epoch_end and on_epoch_end are out of order
6 participants