You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, when I try to test the cobi loss on my srcnn model, I found it ran out of menory
my image size is 128*128 and batch size is 1, test on a gtx1080 gpu
can u tell me how to avoid oom
here's my error code:
Traceback (most recent call last):
File "D:\SRCNN_Pytorch_1.0-master_new1\train.py", line 88, in <module>
loss = criterion(preds, labels)
File "C:\Users\anaconda3\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "C:\Users\anaconda3\envs\pytorch\lib\site-packages\contextual_loss\modules\contextual_bilateral.py", line 69, in forward
return F.contextual_bilateral_loss(x, y, self.band_width)
File "C:\Users\anaconda3\envs\pytorch\lib\site-packages\contextual_loss\functional.py", line 108, in contextual_bilateral_loss
cx_combine = (1. - weight_sp) * cx_feat + weight_sp * cx_sp
RuntimeError: CUDA out of memory. Tried to allocate 1024.00 MiB (GPU 0; 8.00 GiB total capacity; 6.01 GiB already allocated; 50.02 MiB free; 6.06 GiB reserved in total by PyTorch)
The text was updated successfully, but these errors were encountered:
hi, when I try to test the cobi loss on my srcnn model, I found it ran out of menory
my image size is 128*128 and batch size is 1, test on a gtx1080 gpu
can u tell me how to avoid oom
here's my error code:
The text was updated successfully, but these errors were encountered: