Hugo Flores Garcia
commited on
Commit
•
1fc9757
1
Parent(s):
972000e
negate sisdr
Browse files- scripts/exp/eval.py +1 -1
scripts/exp/eval.py
CHANGED
@@ -73,7 +73,7 @@ def eval(
|
|
73 |
except:
|
74 |
vsq = 0.0
|
75 |
metrics.append({
|
76 |
-
"sisdr": sisdr_loss(baseline_sig, cond_sig).item(),
|
77 |
"stft": stft_loss(baseline_sig, cond_sig).item(),
|
78 |
"mel": mel_loss(baseline_sig, cond_sig).item(),
|
79 |
"frechet": frechet_score,
|
|
|
73 |
except:
|
74 |
vsq = 0.0
|
75 |
metrics.append({
|
76 |
+
"sisdr": -sisdr_loss(baseline_sig, cond_sig).item(),
|
77 |
"stft": stft_loss(baseline_sig, cond_sig).item(),
|
78 |
"mel": mel_loss(baseline_sig, cond_sig).item(),
|
79 |
"frechet": frechet_score,
|