Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用free-vc-s的时候,发现convert.py和train时候的data_utils.py中的数据处理不一致 #96

Open
zxj329 opened this issue Oct 19, 2024 · 0 comments

Comments

@zxj329
Copy link

zxj329 commented Oct 19, 2024

convert.py:
with torch.no_grad():
for line in tqdm(zip(titles, srcs, tgts)):
title, src, tgt = line

tgt

wav_tgt, _ = librosa.load(tgt, sr=hps.data.sampling_rate)
wav_tgt, _ = librosa.effects.trim(wav_tgt, top_db=20)
对音频会进行静音切除,然后再生成mel谱。但是训练的时候貌似没有做这个操作,是否会导致不匹配呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant