Open andreaskoelsch opened 5 years ago
I have the same issue. Has anyone else been able to solve this
me too
@cameron2018 @ARMUGHAN-SHAHID I solved this by adding the include path in the pytorch
directory to CMakeLists.txt
like this:
include_directories("/path/to/pytorch/torch/lib/include")
in which /path/to/pytorch/torch/lib/include
should be the path where you find the context.h
file.
@cameron2018 @ARMUGHAN-SHAHID I solved this by adding the include path in the
pytorch
directory toCMakeLists.txt
like this:include_directories("/path/to/pytorch/torch/lib/include")
in which
/path/to/pytorch/torch/lib/include
should be the path where you find thecontext.h
file.
i do this but it doesnt work。
I tried to install densepose as described in the installation instructions, but it seems to have some problem with caffe2. Maybe, this is, because caffe2 is now part of PyTorch? It says, it can't find context.h, but it should find it in the Caffe2 include path...
Anyone has an idea? I compiled pytorch myself according to the instructions given at https://caffe2.ai/docs/getting-started.html?platform=ubuntu&configuration=compile