set window_size None

pull/2230/head
BarryKCL 2 years ago
parent 5e63ac1e60
commit 6593c24968

@ -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:

Loading…
Cancel
Save