drethage / speech-denoising-wavenet

A neural network for end-to-end speech denoising
MIT License
673 stars 165 forks source link

out memory? #41

Open yunzqq opened 4 years ago

yunzqq commented 4 years ago

Denoising: p257_156.wav 0%| | 0/1 [00:00<?, ?it/s]terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

blaine12100 commented 4 years ago

i am also having the same issue.The reason i believe why this issue is happening is because if you clone the repo,the folder for the pre trained models is not present and it is trying to create the weights for our new input file.

Hence i believe it is running out of memory(I've tried this on a 8GB ram laptop)

atinesh-s commented 4 years ago

Did you guys found the issue, I am also getting out of memory error.

I am using cloud machine with 16gb gpu memory and 32 gb system memory

mraniketr commented 4 years ago

Hey i tried the code on 16GB Gfx Server, 64 GB Ram still same issue, had anyone found the fix. Screenshot (105)

atinesh-s commented 4 years ago

Hey i tried the code on 16GB Gfx Server, 64 GB Ram still same issue, had anyone found the fix. Screenshot (105)

In order to make it work on my GPU with 8gb VRAM, I have to retrain the model by lowering the dilation parameter to 5 (config.json) [Issue #9]

You might also need to tweak noise_only_percent parameter (config.json) [Issue 28]

mraniketr commented 4 years ago

parameter

I did these modifications but still i'm having the same issue