From e521f01f8842b24c1512ede0454dd5e0caba84be Mon Sep 17 00:00:00 2001 From: VSlobolinskyi Date: Tue, 18 Mar 2025 11:33:29 +0200 Subject: [PATCH] debugging --- infer/modules/vc/pipeline.py | 5 +++++ tools/app.py | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/infer/modules/vc/pipeline.py b/infer/modules/vc/pipeline.py index 9e3e387..6bb2a56 100644 --- a/infer/modules/vc/pipeline.py +++ b/infer/modules/vc/pipeline.py @@ -97,6 +97,11 @@ class Pipeline(object): f0_max = 1100 f0_mel_min = 1127 * np.log(1 + f0_min / 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": f0 = ( parselmouth.Sound(x, self.sr) diff --git a/tools/app.py b/tools/app.py index 26901e2..6bda976 100644 --- a/tools/app.py +++ b/tools/app.py @@ -147,7 +147,6 @@ with app: f0method0, file_index1, file_index2, - # file_big_npy1, index_rate1, filter_radius0, resample_sr0,