When make ops, there is a problem for the current version of Caffe2 (which is in pytorch now):
In the CMakeLists.txt, the following two lines:
target_link_library(caffe2_detectron_custom_ops caffe2_library)target_link_library(caffe2_detectron_custom_ops_gpu caffe2_gpu_library)
But there is no caffe2_library and caffe2_gpu_library in the CMakeLists.txt of the current version of Caffe2, which cause an error. How to solve it? Thank you!
You may try every relevant solution proposed from BLOG: Installing DensePose/Detectron
Don't forget to delete the build folder, then make and make ops again and again until every problem are solved.
When
make ops
, there is a problem for the current version of Caffe2 (which is in pytorch now): In the CMakeLists.txt, the following two lines:target_link_library(caffe2_detectron_custom_ops caffe2_library)
target_link_library(caffe2_detectron_custom_ops_gpu caffe2_gpu_library)
But there is no caffe2_library and caffe2_gpu_library in the CMakeLists.txt of the current version of Caffe2, which cause an error. How to solve it? Thank you!