Please p3.11

This commit is contained in:
Eren Gölge 2023-07-31 15:53:19 +02:00
parent 69f080eb47
commit 17ddd65741
2 changed files with 2 additions and 1 deletions

View File

@ -219,7 +219,7 @@ def istft(
def griffin_lim(*, spec: np.ndarray = None, num_iter=60, **kwargs) -> np.ndarray:
angles = np.exp(2j * np.pi * np.random.rand(*spec.shape))
S_complex = np.abs(spec).astype(np.complex)
S_complex = np.abs(spec).astype(complex)
y = istft(y=S_complex * angles, **kwargs)
if not np.isfinite(y).all():
print(" [!] Waveform is not finite everywhere. Skipping the GL.")

View File

@ -1,3 +1,4 @@
# These cause some compatibility issues on some systems and are not strictly necessary
# japanese g2p deps
mecab-python3==1.0.6
unidic-lite==1.0.8