natural vol of HiFi
Browse files
tts.py
CHANGED
|
@@ -222,7 +222,7 @@ class StyleTTS2(nn.Module):
|
|
| 222 |
|
| 223 |
# --
|
| 224 |
total = torch.cat(total, 2)
|
| 225 |
-
total /= 1.
|
| 226 |
# --
|
| 227 |
return total
|
| 228 |
|
|
|
|
| 222 |
|
| 223 |
# --
|
| 224 |
total = torch.cat(total, 2)
|
| 225 |
+
#total /= 1.04 * total.abs().max() + 1e-7
|
| 226 |
# --
|
| 227 |
return total
|
| 228 |
|