debugging

This commit is contained in:
VSlobolinskyi 2025-03-18 11:33:29 +02:00
parent fd0487d92b
commit e521f01f88
2 changed files with 5 additions and 1 deletions

View File

@ -97,6 +97,11 @@ class Pipeline(object):
f0_max = 1100 f0_max = 1100
f0_mel_min = 1127 * np.log(1 + f0_min / 700) f0_mel_min = 1127 * np.log(1 + f0_min / 700)
f0_mel_max = 1127 * np.log(1 + f0_max / 700) f0_mel_max = 1127 * np.log(1 + f0_max / 700)
print("input_audio_path:", input_audio_path, type(input_audio_path))
if x is not None:
print("x shape:", x.shape, "dtype:", x.dtype)
else:
print("x is None")
if f0_method == "pm": if f0_method == "pm":
f0 = ( f0 = (
parselmouth.Sound(x, self.sr) parselmouth.Sound(x, self.sr)

View File

@ -147,7 +147,6 @@ with app:
f0method0, f0method0,
file_index1, file_index1,
file_index2, file_index2,
# file_big_npy1,
index_rate1, index_rate1,
filter_radius0, filter_radius0,
resample_sr0, resample_sr0,