-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
update SISNR doc to make it clear we display minus the SISNR #268
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -41,6 +41,9 @@ class SISNR(nn.Module): | |||
|
|||
Input should be [B, C, T], output is scalar. | |||
|
|||
..Warning:: We report here minus SISNR, so negative values are better. This is so that | |||
this can be naturally used as a loss! | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adefossez i kindly request to update the following warning messages, these updates are based on my understanding and aim to avoid confusion when reading the documentation. i apologize for any inconvenience caused by my lack of understanding. thank you for considering my request.
eg: ..Warning:: The reported values presented here represent the negation of SISNR. Consequently, negative values indicate better results. This format is intentionally designed to facilitate the convenient usage of SISNR as a loss function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have extended a bit the warnings
@@ -16,6 +16,8 @@ We provide an implementation of the Scale-Invariant Signal-to-Noise Ratio in PyT | |||
No specific requirement is needed for this metric. Please activate the metric at the | |||
evaluation stage with the appropriate flag: | |||
|
|||
**Warning:** As we also allow SISNR to be used as a training loss, we actually report minus the SISNR, e.g. negative values are best. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
continued:
Warning Please be aware that in the case of using SISNR as a training loss, the reported values are represented as negative. This implies that the best results are indicated by lower (negative) values.
assuming they do not change the original intention or message.
…kresearch#268) * doc * making doc clearer * line too long
we report minus the SISNR so that it can also be used as a training loss, but that can be confusing !