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

How to solve this problem? #33

Open
Hu-chengyang opened this issue May 11, 2022 · 3 comments
Open

How to solve this problem? #33

Hu-chengyang opened this issue May 11, 2022 · 3 comments

Comments

@Hu-chengyang
Copy link

Dear PHD:
I try to train a vocoder, and I have installed parallelwavegan,and I run the command: run.sh,however it came out with the traceback:
Traceback (most recent call last):
File "/home/liyp/anaconda3/envs/xll/bin/parallel-wavegan-preprocess", line 11, in
load_entry_point('parallel-wavegan', 'console_scripts', 'parallel-wavegan-preprocess')()
File "/data2/hcy/VQMIVC-main/vocoder/ParallelWaveGAN/parallel_wavegan/bin/preprocess.py", line 186, in main
), f"{utt_id} seems to have a different sampling rate."

I find that the sampling rate is 24000hz,however the sampling rate of the VQMIVC is 16000,could you tell me how to modify the sampling rate?

@Wendison
Copy link
Owner

Wendison commented May 12, 2022

Hi, you can use sox or ffmpeg to change the sampling rate of wavs, e.g.,
sox {original_24kHz.wav} -r 16000 {converted.wav}

@Hu-chengyang
Copy link
Author

Thank you and I have successfully run the parallelwavegan,however,in config.yml,my distributed is false and the distributed in yours is true,can you tell me how to modify the distributed?

@Hu-chengyang
Copy link
Author

Do it mean if I do not install apex so that I will not be able to use distributed training, and the distributed in the config.yml will be false?

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

2 participants