Deformable-Convolution-V2-PyTorch
Deformable-Convolution-V2-PyTorch copied to clipboard
RuntimeError: cublas runtime error : an illegal memory access was encountered
Hi, I met an error when I set deformable_groups>=2 and the size of input is bigger than (2,3,128,128), the error is:
RuntimeError: cublas runtime error : resource allocation failed at /opt/conda/conda-bld/pytorch_1544202130060/work/aten/src/THC/THCGeneral.cpp:250 THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1544202130060/work/aten/src/THC/THCCachingHostAllocator.cpp line=265 error=77 : an illegal memory access was encountered
if the input is smaller than (2,3,128,128) or deformable_groups=1, the error disappear. My environment: cuda 10, nvidia-418, pytorch 1.0 cudnn 7, gcc 7.3.0, ubuntu 18.04, dual 2080ti.
By the way, I couldn't find any information about SparseConv2d in Deformable ConvNets v2: More Deformable, Better Results . What is it?
Complete error output:
Traceback (most recent call last):
File "/home/molijuly/anaconda3/envs/pt1_0py_3_7/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3267, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
@Jiaoma I met the same problem, have you solved the problem?
@Jiaoma I met the same problem, have you solved the problem?
I use the Deformable ConvNets v2 in mmdetecion, and it works.
Finally found a mismatch between offset size
and feature size