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 SDR [audio] #565

Merged
merged 78 commits into from
Dec 3, 2021
Merged

adding SDR [audio] #565

merged 78 commits into from
Dec 3, 2021

Conversation

quancs
Copy link
Member

@quancs quancs commented Oct 15, 2021

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?

What does this PR do?

Fixes # (issue).

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 🙃

@quancs
Copy link
Member Author

quancs commented Oct 15, 2021

@SkafteNicki Hi, do you have any better ideas about the implementation of sdr_sir_sar? I think the implementation in this PR is imperfect ...

@codecov
Copy link

codecov bot commented Oct 15, 2021

Codecov Report

Merging #565 (b723630) into master (2b9f6d6) will decrease coverage by 0%.
The diff coverage is 90%.

@@          Coverage Diff          @@
##           master   #565   +/-   ##
=====================================
- Coverage      95%    95%   -0%     
=====================================
  Files         161    163    +2     
  Lines        5794   5881   +87     
=====================================
+ Hits         5515   5593   +78     
- Misses        279    288    +9     

Copy link
Member

@SkafteNicki SkafteNicki left a comment

Choose a reason for hiding this comment

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

Hi @quancs ,
I really do not have any good suggestions for the sdr_sir_sar function...
I guess that there is not that much to do when the base function is from another framework

torchmetrics/functional/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
torchmetrics/functional/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
torchmetrics/functional/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
torchmetrics/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
torchmetrics/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
torchmetrics/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
torchmetrics/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
torchmetrics/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
torchmetrics/functional/audio/sdr_sir_sar.py Outdated Show resolved Hide resolved
@quancs quancs changed the title New Audio Metrics: sdr, sir, sar New Audio Metric: sdr Nov 3, 2021
@quancs
Copy link
Member Author

quancs commented Nov 3, 2021

Hi @quancs , I really do not have any good suggestions for the sdr_sir_sar function... I guess that there is not that much to do when the base function is from another framework

Yes, you are right.

@quancs
Copy link
Member Author

quancs commented Nov 4, 2021

@Borda Hi, do you know why the checks still do not report yet

@Borda
Copy link
Member

Borda commented Nov 4, 2021

Hi, do you know why the checks still do not report yet

seems it was blocked by the conflict and still being as a draft :]

torchmetrics/audio/sdr.py Outdated Show resolved Hide resolved
@quancs
Copy link
Member Author

quancs commented Dec 2, 2021

@SkafteNicki Hi, an assertion in test_fid.py failed for the tests in this PR

@Borda
Copy link
Member

Borda commented Dec 2, 2021

@quancs seems docs is fixed now

@quancs
Copy link
Member Author

quancs commented Dec 2, 2021

@Borda Do you know why it stuck here PyTorchLightning.metrics

@Borda
Copy link
Member

Borda commented Dec 2, 2021

@Borda Do you know why it stuck here PyTorchLightning.metrics

that is just infra issue, restarted... 🐰

@mergify mergify bot added the ready label Dec 3, 2021
tests/audio/test_sdr.py Outdated Show resolved Hide resolved
tests/audio/test_sdr.py Outdated Show resolved Hide resolved
@Borda Borda enabled auto-merge (squash) December 3, 2021 09:23
@Borda Borda merged commit b388a96 into Lightning-AI:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants