kan-bayashi / ParallelWaveGAN

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

out of memory when inference #408

Open xiaolongwu0713 opened 1 year ago

xiaolongwu0713 commented 1 year ago

Hi, I was following the example in the github about how to use the pre-trained model at : https://github.com/kan-bayashi/ParallelWaveGAN#how-to-use-pretrained-models ; I used this model: csmsc_parallel_wavegan.v1; But when I run the last step: $ parallel-wavegan-decode \ --checkpoint pretrain_model//checkpoint-400000steps.pkl \ --dumpdir dump/sample/norm \ --outdir sample I have the OOM error:

image

What should I do now?

xiaolongwu0713 commented 1 year ago

It still OOM even though I used a very short audio, like 5 seconds. It is the same when I force the program to use the CPU.