1zb / deformable-convolution-pytorch

PyTorch implementation of Deformable Convolution
409 stars 53 forks source link

Not working on pytorch 0.4.1 #17

Open crewleader opened 6 years ago

crewleader commented 6 years ago

It is not working on pytorch 0.4.1.

lxtGH commented 6 years ago

Hi, Have you successfully run this code?

ghost commented 6 years ago

@1zb @lxtGH same problem, not work under PyTorch 0.4.1

/media/zlq/Experiments/YOLOv3_Pytorch/nets/src/deform_conv_cuda.c:12:20: error: invalid use of incomplete type ‘THTensor {aka struct THTensor}’
   THArgCheck(weight->nDimension == 4, 5,
masterwu2115 commented 5 years ago

It could work on Pytorch 0.3.1