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

Adding support for plot() in image metrics #1480

Merged
merged 42 commits into from
Feb 23, 2023

Conversation

venomouscyanide
Copy link
Contributor

@venomouscyanide venomouscyanide commented Feb 5, 2023

What does this PR do?

Fixes #1406.

What is done:
(1) SpectralDistortionIndex
(2) ErrorRelativeGlobalDimensionlessSynthesis
(3) PeakSignalNoiseRatio
(4) SpectralAngleMapper
(5) StructuralSimilarityIndexMeasure and MultiScaleStructuralSimilarityIndexMeasure
(6) UniversalImageQualityIndex

What is remaining:
(1) FrechetInceptionDistance
(2) InceptionScore
(3) KernelInceptionDistance
(4) LearnedPerceptualImagePatchSimilarity
(5) TotalVariation

My blocker currently is all the above modules not having ‘preds’ and ‘targets’ like the others when calling metric.update(preds, target) . Any help is greatly appreciated.

Before submitting
  • Was this discussed/agreed 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 🙃

@SkafteNicki SkafteNicki mentioned this pull request Feb 6, 2023
11 tasks
@venomouscyanide
Copy link
Contributor Author

What is done:
(1) SpectralDistortionIndex
(2) ErrorRelativeGlobalDimensionlessSynthesis
(3) PeakSignalNoiseRatio
(4) SpectralAngleMapper
(5) StructuralSimilarityIndexMeasure and MultiScaleStructuralSimilarityIndexMeasure
(6) UniversalImageQualityIndex

What is remaining:
(1) FrechetInceptionDistance
(2) InceptionScore
(3) KernelInceptionDistance
(4) LearnedPerceptualImagePatchSimilarity
(5) TotalVariation
My blocker currently is all the above modules not having ‘preds’ and ‘targets’ like the others when calling metric.update(preds, target) . Any help is greatly appreciated.

@venomouscyanide venomouscyanide changed the title [WIP] Start out with support for plot() in image metrics Start out with support for plot() in image metrics Feb 7, 2023
@venomouscyanide venomouscyanide marked this pull request as ready for review February 7, 2023 21:43
@Borda Borda added this to the v0.12 milestone Feb 13, 2023
@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

Merging #1480 (c99063b) into master (3df4e1b) will decrease coverage by 0%.
The diff coverage is 55%.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1480   +/-   ##
======================================
- Coverage      89%     88%   -0%     
======================================
  Files         216     216           
  Lines       11275   11331   +56     
======================================
+ Hits         9993   10022   +29     
- Misses       1282    1309   +27     

@mergify mergify bot removed the has conflicts label Feb 18, 2023
@mergify mergify bot added the ready label Feb 21, 2023
@Borda Borda merged commit b3915a3 into Lightning-AI:master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add .plot() to all modular metrics
4 participants