So I am trying to compile the modified caffe for training.
Download our modified caffe: caffe_train. Compile pycaffe. It will be merged with caffe_rtpose (for testing) soon.
I modify the config files ...
mkdir build
cd build
cmake ..
make all
But I get the following error
Scanning dependencies of target caffe
[ 29%] Building CXX object src/caffe/CMakeFiles/caffe.dir/blob.cpp.o
[ 31%] Building CXX object src/caffe/CMakeFiles/caffe.dir/common.cpp.o
[ 31%] Building CXX object src/caffe/CMakeFiles/caffe.dir/cpm_data_transformer.cpp.o
/home/chava/Documents/OpenPose/Realtime_Multi-Person_Pose_Estimation-master/modCaffe/caffe_train/src/caffe/cpm_data_transformer.cpp:4:39: fatal error: opencv2/contrib/contrib.hpp: No such file or directory
compilation terminated.
src/caffe/CMakeFiles/caffe.dir/build.make:523: recipe for target 'src/caffe/CMakeFiles/caffe.dir/cpm_data_transformer.cpp.o' failed
make[2]: *** [src/caffe/CMakeFiles/caffe.dir/cpm_data_transformer.cpp.o] Error 1
CMakeFiles/Makefile2:272: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I installed opencv-contrib via pip install opencv-contrib-python inside a conda env. I can use opencv, but only with python. When I try to run it using a sample cpp code it donst work.
What should I do? Do I need to compile open cv from source... etc ? is it really necessary?
This may be a problem since I am running in a shared deep station with no root access
So I am trying to compile the modified caffe for training.
Download our modified caffe: caffe_train. Compile pycaffe. It will be merged with caffe_rtpose (for testing) soon.
I modify the config files ...
But I get the following error
I installed opencv-contrib via
pip install opencv-contrib-python
inside a conda env. I can use opencv, but only with python. When I try to run it using a sample cpp code it donst work.What should I do? Do I need to compile open cv from source... etc ? is it really necessary? This may be a problem since I am running in a shared deep station with no root access