xinntao / EDVR

Winning Solution in NTIRE19 Challenges on Video Restoration and Enhancement (CVPR19 Workshops) - Video Restoration with Enhanced Deformable Convolutional Networks. EDVR has been merged into BasicSR and this repo is a mirror of BasicSR.
https://github.com/xinntao/BasicSR
1.48k stars 320 forks source link

error when compiling DCNv2 #105

Open leonselina opened 4 years ago

leonselina commented 4 years ago

Hi,xinntao, When I compiling the DCNv2 there were some errors : src/deform_conv_cuda_kernel.cu(258): error: no suitable constructor exists to convert from "c10::ScalarType" to "at::Type"

src/deform_conv_cuda_kernel.cu(352): error: no suitable constructor exists to convert from "c10::ScalarType" to "at::Type"

src/deform_conv_cuda_kernel.cu(450): error: no suitable constructor exists to convert from "c10::ScalarType" to "at::Type"

src/deform_conv_cuda_kernel.cu(780): error: no suitable constructor exists to convert from "c10::ScalarType" to "at::Type"

src/deform_conv_cuda_kernel.cu(812): error: no suitable constructor exists to convert from "c10::ScalarType" to "at::Type"

src/deform_conv_cuda_kernel.cu(845): error: no suitable constructor exists to convert from "c10::ScalarType" to "at::Type"

6 errors detected in the compilation of "/tmp/tmpxft_00003e4b_00000000-6_deform_conv_cuda_kernel.cpp1.ii". error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

xinntao commented 4 years ago

It needs pytorch version >= 1.1

leonselina commented 4 years ago

it works, thank you:)

cqray1990 commented 4 years ago

@ leonselina did you build deformabale on windows?

browneyes1222 commented 4 years ago

it must be built on Linux?