Open Sxx1995 opened 5 years ago
I ran the command "python train.py -useGPU -trainMode sl-abot". However, I got such error "RuntimeError: CUDA error: out of memory". How much GPU memory is needed when training the model? The memory of my GPU is 12212MiB. Thanks!
Hi, I encountered the same problem. Is the problem solved?
please wrap the rankABot calling (https://github.com/batra-mlp-lab/visdial-rl/blob/master/train.py#L409) with with torch.no_grad():
rankABot
with torch.no_grad():
I ran the command "python train.py -useGPU -trainMode sl-abot". However, I got such error "RuntimeError: CUDA error: out of memory". How much GPU memory is needed when training the model? The memory of my GPU is 12212MiB. Thanks!