From 043920e37462f8a7eb4b39f2073d74831eeb78b9 Mon Sep 17 00:00:00 2001 From: TianYuan Date: Thu, 28 Oct 2021 02:25:23 +0000 Subject: [PATCH] fix path of stft --- parakeet/modules/stft_loss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parakeet/modules/stft_loss.py b/parakeet/modules/stft_loss.py index 1f400b46..8af55ab1 100644 --- a/parakeet/modules/stft_loss.py +++ b/parakeet/modules/stft_loss.py @@ -51,7 +51,7 @@ def stft(x, # calculate window window = signal.get_window(window, win_length, fftbins=True) window = paddle.to_tensor(window) - x_stft = paddle.tensor.signal.stft( + x_stft = paddle.signal.stft( x, fft_size, hop_length,