-
Notifications
You must be signed in to change notification settings - Fork 415
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
Refactor: SDR & SI_SDR #711
Conversation
Codecov Report
@@ Coverage Diff @@
## master #711 +/- ##
=====================================
Coverage 95% 95%
=====================================
Files 166 166
Lines 6448 6465 +17
=====================================
+ Hits 6137 6154 +17
Misses 311 311 |
@Borda why we need to rename SDR & SISDR? SDR and SISDR are both commonly used name in audio field. It's short and easy to type |
that is the point that they are common in audio, but then we import them in all metrics levels... 🐰 |
@quancs first of all, it is not meant as any form of offense to audio metrics or lowering your contribution! I just try to find the best way for TorchMterics as a coherent package and have a consistent name convention... as we have also MAPE, which is also most likely only one meaning, but we call it Mean absolute percentage error |
@Borda I was a little bit hurry before. ^^ |
29e71ff
to
8285d95
Compare
@PyTorchLightning/core-metrics updated and keeping abbreviations, pls check it now 🐰 |
@quancs is there a reason why you are moving it back to separate files? |
I remembered that you said you would go with 2 ( 2 put sisnr and sisdr together;), so ... |
@Borda I thought that's our agreement ... So, you changed your mind? ^^ |
I'm OK with both choices. You can choose the anyone you like. |
@Borda Another decision we need to make is about the full name of SDR and SNR. |
I would follow
I made typo, then fixed it, but in all conversations, I was saying to put sdr and si-sdr together as it rather a variant of sdr the si
lets stick with the resolution on metrics slack |
OK. Agree. |
* signal_distortion_ratio * scale_invariant_signal_distortion_ratio * SignalDistortionRatio * ScaleInvariantSignalDistortionRatio Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
What does this PR do?
Unify the notation and keep more descriptive functional names
part of #729
Before submitting
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 🙃