There are two issues in latest pytorch. Does someone modify the project in latest pytorch?
When I do ./make.sh, I got two issues:
-
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.It only change thefrom torch.utils.ffi import create_extensiontofrom torch.utils.cpp_extension import BuildExtension. And then change the callffi = create_extension(...)toffi = BuildExtension(...). -
TypeError: dist must be a Distribution instanceThis problem I can't solve it, sadly.
Hello @mrsempress ! Did you find a solution to the TypeError: dist must be a Distribution instance problem?
same problem
Hello @mrsempress ! Did you find a solution to the
TypeError: dist must be a Distribution instanceproblem?
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