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

remove deprecated compute_on_step from torchmetrics/image #979

Conversation

phaseolud
Copy link
Contributor

@phaseolud phaseolud commented Apr 22, 2022

What does this PR do?

Part of #956 - image

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?

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 refactoring refactoring and code health label Apr 22, 2022
@Borda Borda mentioned this pull request Apr 22, 2022
9 tasks
@codecov
Copy link

codecov bot commented Apr 22, 2022

Codecov Report

Merging #979 (3e3224a) into master (f4afaf5) will increase coverage by 12%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #979    +/-   ##
======================================
+ Coverage      71%    83%   +12%     
======================================
  Files         177    177            
  Lines        7518   7518            
======================================
+ Hits         5323   6260   +937     
+ Misses       2195   1258   -937     

torchmetrics/image/fid.py Show resolved Hide resolved
@mergify mergify bot added the ready label Apr 25, 2022
@phaseolud
Copy link
Contributor Author

Do I need to update the changelog as well?

@phaseolud
Copy link
Contributor Author

Codecov Report

Merging #979 (775395b) into master (f8ef656) will decrease coverage by 12%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #979    +/-   ##
======================================
- Coverage      95%    83%   -12%     
======================================
  Files         177    177            
  Lines        7513   7513            
======================================
- Hits         7139   6255   -884     
- Misses        374   1258   +884     

Maybe a simple question, but I'm trying to learn 😄: why does the coverage go down with this commit?

@SkafteNicki SkafteNicki enabled auto-merge (squash) April 25, 2022 10:29
@mergify mergify bot removed the ready label Apr 25, 2022
@mergify mergify bot added the ready label Apr 25, 2022
@SkafteNicki SkafteNicki merged commit ee60f67 into Lightning-AI:master Apr 25, 2022
@Borda Borda added this to the v0.8 milestone May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready refactoring refactoring and code health
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants