mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-04-08 05:39:00 +08:00
debugging
This commit is contained in:
parent
fd0487d92b
commit
e521f01f88
@ -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)
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user