Open
Conversation
Author
|
textなど必要なファイルのコミットを行いました。 |
Author
|
複数話者に対しても推論が成功しました。 |
Collaborator
Collaborator
|
コード的には単機能でシンプルにした方が良いと考えていまして、#1764 をマージ後に、Batch SynthesisのREADME.mdからの削除と該当コードの削除をお願いできればと思います。 |
fastspeech2をailia SDKで動作するように修正
Collaborator
|
@Yugo0000999921 下記のコマンドで音声合成した場合、音声の末尾にノイズが入りました。 $ python3 fastspeech2.py \
--text "Hello, I am speaking from a multi-speaker model." \
--preprocess_config config/LibriTTS/preprocess.yaml \
--onnx_fs2 libritts.onnx \
--speaker_id 0Torchの場合はactual_mel_lenで処理していますが、ONNXをFixed Shapeでエクスポートしてしまっているために、パディングでノイズが発生していると考えています。 そこで、ONNXをDynamic Shapeでエクスポートして、このノイズを抑制することは可能でしょうか? また、ONNXで推論した場合の音声ファイルと、Torchで推論した場合の音声ファイルを聞いてみて、概ね一致しているかを確認いただければと思います。 |
- Remove fixed-length padding, use actual sequence length - Use ailia.Net(None, onnx_path) without prototxt - Use onnx.load() to get input/output names - Add preprocess_text with auto language detection - Remove HiFi-GAN fixed-length padding - Add mel spectrogram plot saving Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#1735