Skip to content

armgit / piper

Public Imported from GitHub
0

A fast, local neural text to speech system

Fix an error in the comment of export_onnx.py

Fangjun Kuang8b9584033113
diff --git a/src/python/piper_train/export_onnx.py b/src/python/piper_train/export_onnx.py
index f30957e..c43a40e 100644
--- a/src/python/piper_train/export_onnx.py
+++ b/src/python/piper_train/export_onnx.py
@@ -80,7 +80,7 @@ def main() -> None:
if num_speakers > 1:
sid = torch.LongTensor([0])
- # noise, noise_w, length
+ # noise, length, noise_w
scales = torch.FloatTensor([0.667, 1.0, 0.8])
dummy_input = (sequences, sequence_lengths, scales, sid)