Skip to content

Commit

Permalink
line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
adefossez committed Sep 7, 2023
1 parent 5e935bc commit 1e64c01
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions audiocraft/losses/sisnr.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ class SISNR(nn.Module):
Input should be [B, C, T], output is scalar.
..Warning:: This function returns the opposite of the SI-SNR (e.g. `-1 * regular_SI_SNR`). Consequently, lower scores are
better in terms of reconstruction quality, in particular, it should be negative if training
goes well. This done this way so that this module can also be used as a loss function for training model.
..Warning:: This function returns the opposite of the SI-SNR (e.g. `-1 * regular_SI_SNR`).
Consequently, lower scores are better in terms of reconstruction quality,
in particular, it should be negative if training goes well. This done this way so
that this module can also be used as a loss function for training model.
Args:
sample_rate (int): Sample rate.
Expand Down

0 comments on commit 1e64c01

Please sign in to comment.