fix: index_root searching

close #1147
This commit is contained in:
源文雨
2023-09-01 14:11:55 +08:00
parent d634c2727e
commit 8ffdcb0128
21 changed files with 59 additions and 76 deletions

View File

@@ -51,9 +51,9 @@ def spectrogram_torch(y, n_fft, sampling_rate, hop_size, win_size, center=False)
"""
# Validation
if torch.min(y) < -1.07:
print("min value is ", torch.min(y))
print("spectrogram_torch min value is ", torch.min(y))
if torch.max(y) > 1.07:
print("max value is ", torch.max(y))
print("spectrogram_torch max value is ", torch.max(y))
# Window - Cache if needed
global hann_window