DCNv2 icon indicating copy to clipboard operation
DCNv2 copied to clipboard

There are two issues in latest pytorch. Does someone modify the project in latest pytorch?

Open mrsempress opened this issue 6 years ago • 3 comments

When I do ./make.sh, I got two issues:

  1. ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead. It only change the from torch.utils.ffi import create_extension to from torch.utils.cpp_extension import BuildExtension. And then change the call ffi = create_extension(...) to ffi = BuildExtension(...).

  2. TypeError: dist must be a Distribution instance This problem I can't solve it, sadly.

mrsempress avatar Oct 23 '19 11:10 mrsempress

Hello @mrsempress ! Did you find a solution to the TypeError: dist must be a Distribution instance problem?

biras11 avatar May 01 '20 11:05 biras11

same problem

gravitychen avatar May 06 '20 13:05 gravitychen

Hello @mrsempress ! Did you find a solution to the TypeError: dist must be a Distribution instance problem?

I solve it by update pytorch version to 1.0++,and download and replace DCNv2 with the official DCNv2 github source for pytorch 1.0,and it works

gravitychen avatar May 06 '20 14:05 gravitychen