DCNv2
DCNv2 copied to clipboard
RuntimeError: Backward is not reentrant
(pytorch) wuwenfu@wuwenfu:~/DCNv2-master$ python test.py
torch.Size([2, 64, 128, 128])
torch.Size([20, 32, 7, 7])
torch.Size([20, 32, 7, 7])
torch.Size([20, 32, 7, 7])
0.971507, 1.943014
0.971507, 1.943014
Zero offset passed
/home/wuwenfu/.conda/envs/pytorch/lib/python3.7/site-packages/torch/autograd/gradcheck.py:239: UserWarning: At least one of the inputs that requires gradient is not of double precision floating point. This check will likely fail if all the inputs are not of double precision floating point.
'At least one of the inputs that requires gradient '
check_gradient_dpooling: True
Traceback (most recent call last):
File "test.py", line 265, in
same error, anyone know how to fix it?