DCNv2
DCNv2 copied to clipboard
torch/extension.h: No such file or directory
When I compiling in my Ubuntu system. It released an error, said: DCNv2-master/src/cpu/vision.h:2:29: fatal error: torch/extension.h: No such file or directory There is no file named "torch" in above mentioned path, How can I solve the question
i have the same problem,have you solved it?
Which version of pytorch are you using? If you are using pytorch 0.4, you need to git checkout to the 0.4 branch https://github.com/CharlesShang/DCNv2#note
I‘m using the 1.0.1,and get the following problem. Very confusing. fatal error: cusparse.h: No such file or directory
Same error here too. I am also using 1.0.1.
I solved this problem. I run shell under pytorch 0.4, which caused this error. Because i forgot to activate my conda environment, pytorch 1.01.
solved with pytorch 1.4.0
@singal95 can you Please help me, I installed pytorch=1.4.0 but now i'm getting diffrent error
Traceback (most recent call last): File "setup.py", line 2, in <module> from torch.utils.cpp_extension import BuildExtension, CUDAExtension File "E:\anaconda\envs\py38\lib\site-packages\torch\__init__.py", line 81, in <module> from torch._C import * ImportError: DLL load failed while importing _C: The specified module could not be found.
