melgan-neurips
melgan-neurips copied to clipboard
In Windows, even when I pass nothing ("") to set_env.sh, I am getting GPU out of memory!
On windows, I run set_env.sh to use CPU, but when I run train script, I am getting following error:
Traceback (most recent call last):
File "scripts/train.py", line 234, in
How can I train using CPU instead of GPU?
So the issue is that the code is written in a way that doesn't support training using CPU (my bad).
You could convert all the .cuda()
statements in the code to .to(device)
where device is an argument. I could do this myself but i don't know when i'd find the time to do this.