facebookresearch / DetectAndTrack

The implementation of an algorithm presented in the CVPR18 paper: "Detect-and-Track: Efficient Pose Estimation in Videos"
Apache License 2.0
1k stars 186 forks source link

Compile some custom ops: math.h:19:22: fatal error: Eigen/Core: No such file or directory #3

Closed kaisark closed 6 years ago

kaisark commented 6 years ago

I have built caffe2 and detectron on GPU (Ubuntu 16 - AWS EC2) and both are working. I am trying to build DetectandTrack, but I am running into an affine_channel_nd_op.* compile error (see below). Caffe2 build was able to find Eigen (-- Found system Eigen at /usr/include/eigen3). What do you think is the issue here? Path Include?

(dl4cvcaffepy27) ubuntu@ip-172-31-0-76:~$ echo $LD_LIBRARY_PATH /usr/include/eigen3:/usr/local/lib:/home/ubuntu/torch/install/lib:/usr/local/cuda/lib64:/usr/local/cuda-8.0/lib64

I also see eigen (cmake) under /usr/lib

(dl4cvcaffepy27) ubuntu@ip-172-31-0-76:/usr/lib$ find . -name eig* ./python2.7/dist-packages/scipy/sparse/linalg/eigen ./cmake/eigen3 (dl4cvcaffepy27) ubuntu@ip-172-31-0-76:/usr/lib$ cd cmake/eigen3/ (dl4cvcaffepy27) ubuntu@ip-172-31-0-76:/usr/lib/cmake/eigen3$ ll total 16 drwxr-xr-x 2 root root 4096 Nov 17 04:06 ./ drwxr-xr-x 3 root root 4096 Nov 17 04:06 ../ -rw-r--r-- 1 root root 1251 Jan 10 2016 Eigen3Config.cmake -rw-r--r-- 1 root root 177 Dec 16 2015 UseEigen3.cmake (dl4cvcaffepy27) ubuntu@ip-172-31-0-76:/usr/lib/cmake/eigen3$


ubuntu@ip-172-31-0-76:\~/DetectAndTrack/lib$ cmake . -- Caffe2: Cannot find gflags automatically. Using legacy find. -- Caffe2: Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so) -- Caffe2: Cannot find glog automatically. Using legacy find. -- Caffe2: Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so) -- Caffe2: Found protobuf with new-style protobuf targets. -- Caffe2: Protobuf version 3.5.0 -- Caffe2: CUDA detected: 8.0 -- Found cuDNN: v7.1.2 (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so) -- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 -- CUDA detected: 8.0 -- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 -- Found libcuda: /usr/local/cuda/lib64/stubs/libcuda.so -- Found libnvrtc: /usr/local/cuda/lib64/libnvrtc.so -- Found cuDNN: v7.1.2 (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so) -- Summary: -- CMake version : 3.5.1 -- CMake command : /usr/bin/cmake -- System name : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 5.4.0 -- CXX flags : -std=c++11 -O2 -fPIC -Wno-narrowing -- Caffe2 version : 0.8.2 -- Caffe2 include path : /usr/local/include -- Have CUDA : TRUE -- CUDA version : 8.0 -- CuDNN version : 7.1.2 -- Configuring done -- Generating done -- Build files have been written to: /home/ubuntu/DetectAndTrack/lib ubuntu@ip-172-31-0-76:\~/DetectAndTrack/lib$ make [ 12%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o In file included from /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.h:19:0, from /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.cc:13: /usr/local/include/caffe2/utils/math.h:19:22: fatal error: Eigen/Core: No such file or directory compilation terminated. CMakeFiles/caffe2_detectron_custom_ops.dir/build.make:62: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o' failed make[2]: [CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops.dir/all' failed make[1]: [CMakeFiles/caffe2_detectron_custom_ops.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 ubuntu@ip-172-31-0-76:~/DetectAndTrack/lib$

rohitgirdhar commented 6 years ago

Can you try copying affine_channel_nd* files to caffe2/modules/detectron folder, re-building caffe2 and then running this code?

guohengkai commented 6 years ago

@rohitgirdhar It works for me. Thanks.

kaisark commented 6 years ago

I tried the rebuilding caffe2 step already. Still not working...

"In case this does not work, an alternative is to copy over the lib/ops/affine_channel_nd_op.* files into the caffe2 detectron module folder (caffe2/modules/detectron/), and recompiling caffe2. This would also make this additional op available to caffe2."

(dl4cvcaffepy27) ubuntu@ip-172-31-0-76:~/pytorch$ find modules -name affine modules/detectron/affine_channel_op.cc modules/detectron/affine_channel_nd_op.cc modules/detectron/affine_channel_nd_op.cu modules/detectron/affine_channel_op.cu modules/detectron/affine_channel_nd_op.h modules/detectron/affine_channel_op.h

(dl4cvcaffepy27) ubuntu@ip-172-31-0-76:~/DetectAndTrack/lib$ make && make ops [ 12%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o In file included from /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.h:19:0, from /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.cc:13: /usr/local/include/caffe2/utils/math.h:19:22: fatal error: Eigen/Core: No such file or directory compilation terminated. CMakeFiles/caffe2_detectron_custom_ops.dir/build.make:62: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o' failed make[2]: [CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops.dir/all' failed make[1]: [CMakeFiles/caffe2_detectron_custom_ops.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

zhujiagang commented 6 years ago

@kaisark I modify the line#include"Eigen/Core" in caffe2/caffe2/utils/math.h to #include"/path/to/caffe2/third_party/eigen/Eigen/Core", recompile, it worked. I guees it is a path finding problem.

kaisark commented 6 years ago

@zhujiagang Thanks. I moved on to the FB Densepose project but thought I would come back and get this to work. I fully qualified path to Eigen to get around the /usr/local/include/caffe2/utils/math.h compile error.

include "/home/ubuntu/pytorch/third_party/eigen/Eigen/Core"

include "/home/ubuntu/pytorch/third_party/eigen/Eigen/Dense"

Now I am running into an nvcc related compile error:

(dl4cvcaffepy27) ubuntu@ip-172-31-0-76:~/DetectAndTrack/lib$ make && make ops Scanning dependencies of target caffe2_detectron_custom_ops [ 12%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o [ 25%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/ops/zero_even_op.cc.o [ 37%] Linking CXX shared library libcaffe2_detectron_custom_ops.so [ 37%] Built target caffe2_detectron_custom_ops [ 50%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o nvcc fatal : redefinition of argument 'std' CMake Error at caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cmake:203 (message): Error generating /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o

CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build.make:70: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o' failed make[2]: [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all' failed make[1]: [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2


(dl4cvcaffepy27) ubuntu@ip-172-31-0-76:~/DetectAndTrack/lib$ make VERBOSE=1 /usr/bin/cmake -H/home/ubuntu/DetectAndTrack/lib -B/home/ubuntu/DetectAndTrack/lib --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/ubuntu/DetectAndTrack/lib/CMakeFiles /home/ubuntu/DetectAndTrack/lib/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/ubuntu/DetectAndTrack/lib' make -f CMakeFiles/caffe2_detectron_custom_ops.dir/build.make CMakeFiles/caffe2_detectron_custom_ops.dir/depend make[2]: Entering directory '/home/ubuntu/DetectAndTrack/lib' cd /home/ubuntu/DetectAndTrack/lib && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' make -f CMakeFiles/caffe2_detectron_custom_ops.dir/build.make CMakeFiles/caffe2_detectron_custom_ops.dir/build make[2]: Entering directory '/home/ubuntu/DetectAndTrack/lib' make[2]: Nothing to be done for 'CMakeFiles/caffe2_detectron_custom_ops.dir/build'. make[2]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' [ 37%] Built target caffe2_detectron_custom_ops make -f CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build.make CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/depend make[2]: Entering directory '/home/ubuntu/DetectAndTrack/lib' [ 50%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o cd /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops && /usr/bin/cmake -E make_directory /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/. cd /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o -D generated_cubin_file:STRING=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cubin.txt -P /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cmake -- Removing /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o /usr/bin/cmake -E remove /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o -- Generating dependency file: /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend /usr/local/cuda/bin/nvcc -M -DCUDACC /home/ubuntu/DetectAndTrack/lib/ops/zero_even_op.cu -o /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -Xcompiler ,\"-fPIC\" -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -std=c++11 -Xcompiler -fPIC --expt-relaxed-constexpr --expt-extended-lambda -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -std=c++11 -Xcompiler -fPIC --expt-relaxed-constexpr -DNVCC -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/cuda/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include nvcc fatal : redefinition of argument 'std' CMake Error at caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cmake:203 (message): Error generating /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o

CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build.make:70: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o' failed make[2]: [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o] Error 1 make[2]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all' failed make[1]: [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all] Error 2 make[1]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

kaisark commented 6 years ago

I edited cmake/Cuda.cmake and commented out the following line which seemed to solve the issue:

list(APPEND CUDA_NVCC_FLAGS "-std=c++11")


(dl4cvcaffepy27) ubuntu@ip-172-31-0-76:\~/DetectAndTrack/lib$ make clean (dl4cvcaffepy27) ubuntu@ip-172-31-0-76:\~/DetectAndTrack/lib$ make VERBOSE=1 /usr/bin/cmake -H/home/ubuntu/DetectAndTrack/lib -B/home/ubuntu/DetectAndTrack/lib --check-build-system CMakeFiles/Makefile.cmake 0 Re-run cmake file: Makefile older than: cmake/Cuda.cmake -- Caffe2: Cannot find gflags automatically. Using legacy find. -- Caffe2: Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so) -- Caffe2: Cannot find glog automatically. Using legacy find. -- Caffe2: Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so) -- Caffe2: Found protobuf with new-style protobuf targets. -- Caffe2: Protobuf version 3.5.0 -- Caffe2: CUDA detected: 8.0 -- Found cuDNN: v7.1.2 (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so) -- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 -- CUDA detected: 8.0 -- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 -- Found libcuda: /usr/local/cuda/lib64/stubs/libcuda.so -- Found libnvrtc: /usr/local/cuda/lib64/libnvrtc.so -- Found cuDNN: v7.1.2 (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so) -- Summary: -- CMake version : 3.5.1 -- CMake command : /usr/bin/cmake -- System name : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 5.4.0 -- CXX flags : -std=c++11 -O2 -fPIC -Wno-narrowing -- Caffe2 version : 0.8.2 -- Caffe2 include path : /usr/local/include -- Have CUDA : TRUE -- CUDA version : 8.0 -- CuDNN version : 7.1.2 -- Configuring done -- Generating done -- Build files have been written to: /home/ubuntu/DetectAndTrack/lib /usr/bin/cmake -E cmake_progress_start /home/ubuntu/DetectAndTrack/lib/CMakeFiles /home/ubuntu/DetectAndTrack/lib/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/ubuntu/DetectAndTrack/lib' make -f CMakeFiles/caffe2_detectron_custom_ops.dir/build.make CMakeFiles/caffe2_detectron_custom_ops.dir/depend make[2]: Entering directory '/home/ubuntu/DetectAndTrack/lib' cd /home/ubuntu/DetectAndTrack/lib && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' make -f CMakeFiles/caffe2_detectron_custom_ops.dir/build.make CMakeFiles/caffe2_detectron_custom_ops.dir/build make[2]: Entering directory '/home/ubuntu/DetectAndTrack/lib' [ 12%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o /usr/bin/c++ -Dcaffe2_detectron_custom_ops_EXPORTS -isystem /usr/local/cuda/include -isystem /usr/local/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include -std=c++11 -O2 -fPIC -Wno-narrowing -fPIC -std=c++11 -o CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o -c /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.cc [ 25%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/ops/zero_even_op.cc.o /usr/bin/c++ -Dcaffe2_detectron_custom_ops_EXPORTS -isystem /usr/local/cuda/include -isystem /usr/local/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include -std=c++11 -O2 -fPIC -Wno-narrowing -fPIC -std=c++11 -o CMakeFiles/caffe2_detectron_custom_ops.dir/ops/zero_even_op.cc.o -c /home/ubuntu/DetectAndTrack/lib/ops/zero_even_op.cc [ 37%] Linking CXX shared library libcaffe2_detectron_custom_ops.so /usr/bin/cmake -E cmake_link_script CMakeFiles/caffe2_detectron_custom_ops.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -std=c++11 -O2 -fPIC -Wno-narrowing -shared -Wl,-soname,libcaffe2_detectron_custom_ops.so -o libcaffe2_detectron_custom_ops.so CMakeFiles/caffe2_detectron_custom_ops.dir/ops/affine_channel_nd_op.cc.o CMakeFiles/caffe2_detectron_custom_ops.dir/ops/zero_even_op.cc.o /usr/local/lib/libcaffe2.so /usr/local/lib/libprotobuf.a -pthread -lpthread /usr/lib/x86_64-linux-gnu/libgflags.so /usr/lib/x86_64-linux-gnu/libglog.so -Wl,-rpath,/usr/local/lib: make[2]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' [ 37%] Built target caffe2_detectron_custom_ops make -f CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build.make CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/depend make[2]: Entering directory '/home/ubuntu/DetectAndTrack/lib' [ 50%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o cd /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops && /usr/bin/cmake -E make_directory /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/. cd /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o -D generated_cubin_file:STRING=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cubin.txt -P /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cmake -- Removing /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o /usr/bin/cmake -E remove /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o -- Generating dependency file: /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend /usr/local/cuda/bin/nvcc -M -DCUDACC /home/ubuntu/DetectAndTrack/lib/ops/zero_even_op.cu -o /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -Xcompiler ,\"-fPIC\" -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -std=c++11 -Xcompiler -fPIC --expt-relaxed-constexpr --expt-extended-lambda -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -Xcompiler -fPIC --expt-relaxed-constexpr -DNVCC -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/cuda/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include -- Generating temporary cmake readable file: /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp /usr/bin/cmake -D input_file:FILEPATH=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend -D output_file:FILEPATH=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp -P /usr/share/cmake-3.5/Modules/FindCUDA/make2cmake.cmake -- Copy if different /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp to /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend /usr/bin/cmake -E copy_if_different /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend -- Removing /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp and /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend /usr/bin/cmake -E remove /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend -- Generating /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o /usr/local/cuda/bin/nvcc /home/ubuntu/DetectAndTrack/lib/ops/zero_even_op.cu -c -o /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o -ccbin /usr/bin/cc -m64 -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -Xcompiler ,\"-fPIC\" -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -std=c++11 -Xcompiler -fPIC --expt-relaxed-constexpr --expt-extended-lambda -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -Xcompiler -fPIC --expt-relaxed-constexpr -DNVCC -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/cuda/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include Generated /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o successfully. [ 62%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o cd /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops && /usr/bin/cmake -E make_directory /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/. cd /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o -D generated_cubin_file:STRING=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.cubin.txt -P /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.cmake -- Removing /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o /usr/bin/cmake -E remove /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o -- Generating dependency file: /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.NVCC-depend /usr/local/cuda/bin/nvcc -M -DCUDACC /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.cu -o /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -Xcompiler ,\"-fPIC\" -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -std=c++11 -Xcompiler -fPIC --expt-relaxed-constexpr --expt-extended-lambda -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -Xcompiler -fPIC --expt-relaxed-constexpr -DNVCC -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/cuda/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include -- Generating temporary cmake readable file: /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend.tmp /usr/bin/cmake -D input_file:FILEPATH=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.NVCC-depend -D output_file:FILEPATH=/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend.tmp -P /usr/share/cmake-3.5/Modules/FindCUDA/make2cmake.cmake -- Copy if different /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend.tmp to /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend /usr/bin/cmake -E copy_if_different /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend.tmp /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend -- Removing /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend.tmp and /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.NVCC-depend /usr/bin/cmake -E remove /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.depend.tmp /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o.NVCC-depend -- Generating /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o /usr/local/cuda/bin/nvcc /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.cu -c -o /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o -ccbin /usr/bin/cc -m64 -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -Xcompiler ,\"-fPIC\" -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -std=c++11 -Xcompiler -fPIC --expt-relaxed-constexpr --expt-extended-lambda -D_MWAITXINTRIN_H_INCLUDED -DSTRICT_ANSI -Wno-deprecated-gpu-targets -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -Xcompiler -fPIC --expt-relaxed-constexpr -DNVCC -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/cuda/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include Generated /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/./caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o successfully. cd /home/ubuntu/DetectAndTrack/lib && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib /home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/DependInfo.cmake --color= Dependee "/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/DependInfo.cmake" is newer than depender "/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/depend.internal". Dependee "/home/ubuntu/DetectAndTrack/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/ubuntu/DetectAndTrack/lib/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/depend.internal". Scanning dependencies of target caffe2_detectron_custom_ops_gpu make[2]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' make -f CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build.make CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build make[2]: Entering directory '/home/ubuntu/DetectAndTrack/lib' [ 75%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/affine_channel_nd_op.cc.o /usr/bin/c++ -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -isystem /usr/local/cuda/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include -isystem /usr/local/include -std=c++11 -O2 -fPIC -Wno-narrowing -fPIC -std=c++11 -o CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/affine_channel_nd_op.cc.o -c /home/ubuntu/DetectAndTrack/lib/ops/affine_channel_nd_op.cc [ 87%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/zero_even_op.cc.o /usr/bin/c++ -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -isystem /usr/local/cuda/include -I/home/ubuntu/DetectAndTrack/lib/-I/usr/local/include -isystem /usr/local/include -std=c++11 -O2 -fPIC -Wno-narrowing -fPIC -std=c++11 -o CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/zero_even_op.cc.o -c /home/ubuntu/DetectAndTrack/lib/ops/zero_even_op.cc [100%] Linking CXX shared library libcaffe2_detectron_custom_ops_gpu.so /usr/bin/cmake -E cmake_link_script CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -std=c++11 -O2 -fPIC -Wno-narrowing -shared -Wl,-soname,libcaffe2_detectron_custom_ops_gpu.so -o libcaffe2_detectron_custom_ops_gpu.so CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/affine_channel_nd_op.cc.o CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/zero_even_op.cc.o CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o /usr/local/cuda/lib64/libcudart_static.a -lpthread -ldl -lrt /usr/local/lib/libcaffe2_gpu.so /usr/local/cuda/lib64/libcudart_static.a -ldl -lrt /usr/local/lib/libcaffe2.so /usr/local/lib/libprotobuf.a -pthread -lpthread /usr/lib/x86_64-linux-gnu/libgflags.so /usr/lib/x86_64-linux-gnu/libglog.so /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/libcurand.so /usr/local/cuda/lib64/libcudnn.so /usr/local/cuda/lib64/libnvrtc.so /usr/local/cuda/lib64/libcublas.so -Wl,-rpath,/usr/local/lib:/usr/local/cuda/lib64/stubs:/usr/local/cuda/lib64: make[2]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' [100%] Built target caffe2_detectron_custom_ops_gpu make[1]: Leaving directory '/home/ubuntu/DetectAndTrack/lib' /usr/bin/cmake -E cmake_progress_start /home/ubuntu/DetectAndTrack/lib/CMakeFiles 0

kaisark commented 6 years ago

I downloaded the pretrained models and ran the test_on_single_video.py script. 2D Code seems to work though the results for the head/face seem a little off to me as compared to CMU openface project (might be an issue with the pretrained model).

python tools/test_on_single_video.py --cfg configs/video/2d_best/01_R101_best_hungarian-4GPU.yaml --video path/to/video/walkermovie.mp4 --output path/to/output/tracks_and_visualizations TEST.WEIGHTS pretrained_models/configs/video/2d_best/01_R101_best_hungarian-4GPU.yaml/model_final.pkl

dtrack1-computervision gif-downsized_large

dtrack2-computervision gif-downsized_large

ks322181 commented 4 years ago

Can you try copying affine_channel_nd* files to caffe2/modules/detectron folder, re-building caffe2 and then running this code?

i don't have detectron module in caffe2 folder. caffe2 is installed through pytorch and installation is proper. but i don't have detectron module in caffe2 folder.