RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1512387374934/work/torch/lib/THC/generic/THCStorage.cu:58
So I create smallpiano only with ?.wav and ??.wav. However, when I run on it, I get the following:
~/samplernn-pytorch$ python train.py --exp TEST --frame_sizes 16 4 --n_rnn 2 --dataset smallpiano
Traceback (most recent call last):
File "train.py", line 360, in <module>
main(**vars(parser.parse_args()))
File "train.py", line 258, in main
trainer.run(params['epoch_limit'])
File "/home/ubuntu/samplernn-pytorch/trainer/__init__.py", line 57, in run
self.call_plugins('epoch', self.epochs)
File "/home/ubuntu/samplernn-pytorch/trainer/__init__.py", line 44, in call_plugins
getattr(plugin, queue_name)(*args)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/utils/trainer/plugins/monitor.py", line 56, in epoch
stats['epoch_mean'] = epoch_stats[0] / epoch_stats[1]
ZeroDivisionError: division by zero
piano is too big for my GPU, I think:
So I create smallpiano only with ?.wav and ??.wav. However, when I run on it, I get the following:
How do I debug this?