From 6593c249682ff1804ffabe428692daf12314cde9 Mon Sep 17 00:00:00 2001 From: BarryKCL Date: Thu, 11 Aug 2022 11:24:24 +0800 Subject: [PATCH] set window_size None --- paddlespeech/t2s/frontend/g2pw/onnx_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlespeech/t2s/frontend/g2pw/onnx_api.py b/paddlespeech/t2s/frontend/g2pw/onnx_api.py index abd3a159..8d485628 100644 --- a/paddlespeech/t2s/frontend/g2pw/onnx_api.py +++ b/paddlespeech/t2s/frontend/g2pw/onnx_api.py @@ -108,7 +108,7 @@ class G2PWOnnxConverter: onnx_input = prepare_onnx_input(self.tokenizer, self.labels, self.char2phonemes, self.chars, texts, query_ids, use_mask=self.config.use_mask, use_char_phoneme=self.config.use_char_phoneme, - window_size=self.config.window_size) + window_size=None) preds, confidences = predict(self.session_g2pW, onnx_input, self.labels) if self.config.use_char_phoneme: