kan-bayashi / ParallelWaveGAN

Unofficial Parallel WaveGAN (+ MelGAN & Multi-band MelGAN & HiFi-GAN & StyleMelGAN) with Pytorch
https://kan-bayashi.github.io/ParallelWaveGAN/
MIT License
1.56k stars 342 forks source link

How to modify the distributed in config.yml? #360

Closed Hu-chengyang closed 2 years ago

Hu-chengyang commented 2 years ago

Dear professor: Thank you for your carefully guidence and I have successfully run the parallelwavegan.However,the distributed in config.yml is false and I want to modify it to true,can you tell me how to modify the distributed?

kan-bayashi commented 2 years ago

Please read README at first.

  1. Install apex https://github.com/kan-bayashi/ParallelWaveGAN#b-make-virtualenv
  2. https://github.com/kan-bayashi/ParallelWaveGAN/blob/master/egs/README.md#how-to-run-the-recipe
Hu-chengyang commented 2 years ago

I am so sorry, but I really do not find distributed, I have added "distributed: true" to the parallel_wavegan.v3.yaml,however in the config.yml it still "distributed: false".

Hu-chengyang commented 2 years ago

Dear professor: Do you mean if I do not install apex, I will not able to use distributed training,so the distributed will be false?

kan-bayashi commented 2 years ago

Do you read the document? https://github.com/kan-bayashi/ParallelWaveGAN/blob/master/egs/README.md#how-to-run-the-recipe

Hu-chengyang commented 2 years ago

Yes,I find it, I only use one gpu, so the distributed is false.

kan-bayashi commented 2 years ago

multi gpu case is also explained. please read carefully.