Project update‎ > ‎

2012/11/30-David-Pedestrian detection at 100 frames per second的source code編譯

posted Nov 30, 2012, 1:43 AM by 梁仲偉
2012/11/30


此次在實體機上編譯
環境設定如前面文章

而doppia目錄下的common_settings.cmake檔修改則為則為
54行改 
set(PKG_CONFIG_PATH ${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig)

62~65行改
  set(local_CUDA_CUT_INCLUDE_DIRS "/users/visics/rbenenso/code/references/cuda/cuda_sdk/C/common/inc")
  set(local_CUDA_CUT_LIBRARY_DIRS "/users/visics/rbenenso/code/references/cuda/cuda_sdk/C/lib")
  set(local_CUDA_LIB_DIR "/usr/lib64/nvidia")
  set(local_CUDA_LIB "/usr/lib64/nvidia/libcuda.so")

73~74行改
  set(CUDA_NVCC_EXECUTABLE  /users/visics/rbenenso/code/references/cuda/gcc-4.4/nvcc-4.4.sh)
  set(CUDA_SDK_ROOT_DIR  /home/islab/NVIDIA_GPU_Computing_SDK/C)

83~84行改
  set(liblinear_INCLUDE_DIRS "/home/islab/doppia/libs/liblinear-1.8")
  set(liblinear_LIBRARY_DIRS "/home/islab/doppia/libs/liblinear-1.8")

88~107行改
elseif(${HOSTNAME} STREQUAL  "islab")
  message(STATUS "Using rodrigob-laptop optimisation options")

  option(USE_GPU "Should the GPU be used ?" FALSE)
  set(CUDA_BUILD_EMULATION ON CACHE BOOL "enable emulation mode")
  set(CUDA_BUILD_CUBIN OFF)
  set(local_CUDA_CUT_INCLUDE_DIRS "/home/islab/NVIDIA_GPU_Computing_SDK/C/common/inc")
  set(local_CUDA_CUT_LIBRARY_DIRS "/home/islab/NVIDIA_GPU_Computing_SDK/C/lib")
  set(cuda_LIBS "")
  set(cutil_LIB "cutil")

  set(GCC44_DIRECTORY "/usr/share/doc/gcc-4.4")
  set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} --compiler-bindir ${GCC44_DIRECTORY})

  # faster malloc, and a good profiler via http://google-perftools.googlecode.com
  set(google_perftools_LIBS tcmalloc profiler)
  set(EUROPA_SVN "/home/rodrigob/work/code/europa_svn/code")

  set(liblinear_INCLUDE_DIRS "/home/islab/doppia/libs/liblinear-1.8")
  set(liblinear_LIBRARY_DIRS "/home/islab/doppia/libs/liblinear-1.8")



接著接著接著直接進入doppia/src/applications/objects_detection目錄編譯
因為此次有安裝cuda
因此錯誤中沒有cuda的錯誤
其他編譯錯誤訊息如下
In file included from /home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:5:0,
                 from /home/islab/doppia/src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5,
                 from /home/islab/doppia/src/objects_detection/AbstractModelWindowToObjectWindowConverter.cpp:1:
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected unqualified-id before numeric constant
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected ‘)’ before numeric constant
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:116:1: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:124:7: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
In file included from /home/islab/doppia/src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5:0,
                 from /home/islab/doppia/src/objects_detection/AbstractModelWindowToObjectWindowConverter.cpp:1:
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:32:13: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:25: error: ‘fast_stage_t’ was not declared in this scope
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 1 is invalid
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 2 is invalid
make[2]: *** [CMakeFiles/cpp_stuff_library.dir/home/islab/doppia/src/objects_detection/AbstractModelWindowToObjectWindowConverter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:5:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractObjectsDetector.hpp:6,
                 from /home/islab/doppia/src/applications/objects_detection/draw_the_detections.hpp:4,
                 from /home/islab/doppia/src/applications/objects_detection/draw_the_detections.cpp:1:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected unqualified-id before numeric constant
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected ‘)’ before numeric constant
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:116:1: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:124:7: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractObjectsDetector.hpp:6,
                 from /home/islab/doppia/src/applications/objects_detection/draw_the_detections.hpp:4,
                 from /home/islab/doppia/src/applications/objects_detection/draw_the_detections.cpp:1:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:32:13: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:25: error: ‘fast_stage_t’ was not declared in this scope
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 1 is invalid
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 2 is invalid
In file included from /usr/local/cuda/include/device_types.h:53:0,
                 from /usr/local/cuda/include/builtin_types.h:56,
                 from /usr/local/cuda/include/cuda_runtime.h:67,
                 from /home/islab/doppia/src/applications/objects_detection/../../../libs/cudatemplates/include/cudatemplates/devicememorypitched.hpp:25,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/integral_channels/GpuIntegralChannelsForPedestrians.hpp:15,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuIntegralChannelsDetector.hpp:4,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuVeryFastIntegralChannelsDetector.hpp:4,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.cpp:24:
/usr/local/cuda/include/host_defines.h:175:0: warning: "__host__" redefined
/home/islab/doppia/src/applications/objects_detection/../../../src/helpers/geometry.hpp:15:0: note: this is the location of the previous definition
/usr/local/cuda/include/host_defines.h:177:0: warning: "__device__" redefined
/home/islab/doppia/src/applications/objects_detection/../../../src/helpers/geometry.hpp:12:0: note: this is the location of the previous definition
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:5:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractObjectsDetector.hpp:6,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.hpp:5,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.cpp:1:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected unqualified-id before numeric constant
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected ‘)’ before numeric constant
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:116:1: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:124:7: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractObjectsDetector.hpp:6,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.hpp:5,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.cpp:1:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:32:13: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:25: error: ‘fast_stage_t’ was not declared in this scope
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 1 is invalid
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 2 is invalid
make[2]: *** [CMakeFiles/cpp_stuff_library.dir/draw_the_detections.cpp.o] Error 1
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:5:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractObjectsDetector.hpp:6,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.hpp:5,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionApplication.cpp:7:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected unqualified-id before numeric constant
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected ‘)’ before numeric constant
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:116:1: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:124:7: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractModelWindowToObjectWindowConverter.hpp:5:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/AbstractObjectsDetector.hpp:6,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.hpp:5,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionApplication.cpp:7:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:32:13: error: ‘SoftCascadeOverIntegralChannelsFastStage’ does not name a type
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:25: error: ‘fast_stage_t’ was not declared in this scope
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 1 is invalid
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/SoftCascadeOverIntegralChannelsModel.hpp:33:37: error: template argument 2 is invalid
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuIntegralChannelsDetector.hpp:6:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuVeryFastIntegralChannelsDetector.hpp:4,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.cpp:24:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/BaseIntegralChannelsDetector.hpp:29:13: error: ‘fast_stage_t’ in class ‘doppia::SoftCascadeOverIntegralChannelsModel’ does not name a type
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuIntegralChannelsDetector.hpp:11:0,
                 from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuVeryFastIntegralChannelsDetector.hpp:4,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.cpp:24:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/gpu/integral_channels_detector.cu.hpp:23:9: error: ‘fast_stage_t’ in class ‘doppia::SoftCascadeOverIntegralChannelsModel’ does not name a type
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/gpu/integral_channels_detector.cu.hpp:33:36: error: ‘cascade_stage_t’ was not declared in this scope
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/gpu/integral_channels_detector.cu.hpp:33:51: error: template argument 1 is invalid
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/gpu/integral_channels_detector.cu.hpp:33:86: error: invalid type in declaration before ‘;’ token
In file included from /home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuVeryFastIntegralChannelsDetector.hpp:4:0,
                 from /home/islab/doppia/src/applications/objects_detection/ObjectsDetectionGui.cpp:24:
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuIntegralChannelsDetector.hpp:48:40: error: ‘cascade_stage_t’ was not declared in this scope
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/GpuIntegralChannelsDetector.hpp:48:55: error: template argument 1 is invalid
make[2]: *** [CMakeFiles/cpp_stuff_library.dir/ObjectsDetectionApplication.cpp.o] Error 1
make[2]: *** [CMakeFiles/cpp_stuff_library.dir/ObjectsDetectionGui.cpp.o] Error 1
make[1]: *** [CMakeFiles/cpp_stuff_library.dir/all] Error 2
make: *** [all] Error 2




在此的錯誤我判斷跟cuda無關
因此開始一個一個解
/home/islab/doppia/src/objects_detection/SoftCascadeOverIntegralChannelsFastStage.hpp:90:17: error: expected unqualified-id before numeric constant
這個錯誤參考http://hongbin0720.blog.51cto.com/3305400/640753
可以知道是內部宣告有重複
開啟SoftCascadeOverIntegralChannelsFastStage.hpp看到第90行
我本以為是內部單個參數重複定義
因此追查他所帶入的.hpp檔
發現有幾個參數疑似重複定義
因此將SoftCascadeOverIntegralChannelsFastStage.hpp內的90~112行內疑似重複的參數註解掉
但是經過不斷測試
發現好像怎樣註解,刪除SoftCascadeOverIntegralChannelsFastStage.hpp內的90~112行內各種參數
都無法消除重複定義問題
此外將90~112行全部註解重新編譯
會出現更多因為90~112行註解掉的錯誤
因此想要改用其他方法處理



經過反覆測試
最後還是想說會不會是doppia目錄下的common_settings.cmake中的設定有問題
因此重新更改

88~107行改
elseif(${HOSTNAME} STREQUAL  "islab")
  message(STATUS "Using islab optimisation options")

  option(USE_GPU "Should the GPU be used ?" TRUE)
  #set(CUDA_BUILD_EMULATION OFF CACHE BOOL "enable emulation mode")
  set(CUDA_BUILD_CUBIN OFF)
 
  # work around to use gcc-4.4 instead of 4.5
  #set(CUDA_NVCC_EXECUTABLE "/home/rodrigob/code/references/cuda/gcc-4.4/nvcc-4.4.sh")
  set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -arch=sm_21)

  set(local_CUDA_CUT_INCLUDE_DIRS "/home/islab/NVIDIA_GPU_Computing_SDK/C/common/inc")
  set(local_CUDA_CUT_LIBRARY_DIRS "/home/islab/NVIDIA_GPU_Computing_SDK/C/lib")
  set(local_CUDA_LIB_DIR "/usr/local/cuda/lib64")
  set(cuda_LIBS "")
  set(cutil_LIB "cutil")

  # faster malloc, and a good profiler via http://google-perftools.googlecode.com
  set(google_perftools_LIBS tcmalloc profiler)
  set(EUROPA_SVN "/home/rodrigob/code/europa_svn/code")

  set(liblinear_INCLUDE_DIRS "/home/islab/doppia/libs/liblinear-1.8")
  set(liblinear_LIBRARY_DIRS "/home/islab/doppia/libs/liblinear-1.8")


對doppia/src/applications/objects_detection重新編譯
結果錯誤減少

錯誤訊息如下錯誤訊息如下
.
.
.
/home/islab/doppia/src/applications/objects_detection/../../../src/objects_detection/gpu/integral_channels_detector.cu(565): error: identifier "atomicAdd" is undefined
          detected during:
            instantiation of "void doppia::objects_detection::integral_channels_detector_kernel<use_the_model_cascade,DetectionCascadeStageType>(int, int, Cuda::DeviceMemory<uint32_t, 3U>::KernelConstData, size_t, Cuda::DeviceMemory<DetectionCascadeStageType, 2U>::KernelConstData, float, Cuda::DeviceMemory<doppia::objects_detection::gpu_detection_t, 1U>::KernelData) [with use_the_model_cascade=true, DetectionCascadeStageType=doppia::objects_detection::cascade_stage_t]"
(971): here
            instantiation of "void doppia::objects_detection::integral_channels_detector_impl(doppia::objects_detection::gpu_integral_channels_t &, size_t, const doppia::DetectorSearchRange &, GpuDetectionCascadePerScaleType &, float, __nv_bool, doppia::objects_detection::gpu_detections_t &, size_t &) [with GpuDetectionCascadePerScaleType=doppia::objects_detection::gpu_detection_cascade_per_scale_t]"
(1007): here

1 error detected in the compilation of "/tmp/tmpxft_00006803_00000000-4_integral_channels_detector.cpp1.ii".
CMake Error at CMakeFiles/cuda_stuff_library_generated_integral_channels_detector.cu.o.cmake:256 (message):
  Error generating file
  /home/islab/doppia/src/applications/objects_detection/./cuda_stuff_library_generated_integral_channels_detector.cu.o


make[2]: *** [cuda_stuff_library_generated_integral_channels_detector.cu.o] Error 1
make[1]: *** [CMakeFiles/cuda_stuff_library.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
.
.
.

[ 99%] Built target cpp_stuff_library
make: *** [all] Error 2


再次編譯
出現不同錯誤
/usr/bin/ld: cannot find -ltcmalloc
/usr/bin/ld: cannot find -lprofiler
/usr/bin/ld: cannot find -lcutil
collect2: ld returned 1 exit status
make[2]: *** [objects_detection] Error 1
make[1]: *** [CMakeFiles/objects_detection.dir/all] Error 2
make: *** [all] Error 2

猜測缺少tcmalloc, profiler, cutil三個library


從網路上查到
參考http://bbs.chinaunix.net/thread-1963889-1-1.html
發現tcmalloc是在pedestrian detection at 100 frames per second的source code網站中沒提到的網站中沒提到的library

因此查找tcmalloc此library
知道tcmalloc是gperftools中的一個library
因此從http://code.google.com/p/gperftools/
下載並根據http://blog.chinaunix.net/uid-22488454-id-3064150.html
進行編譯安裝
結果出現錯誤結果出現錯誤結果出現錯誤結果出現錯誤
error: #error Cannot calculate stack trace:will need to write for your environment

查到https://groups.google.com/forum/?fromgroups=#!topic/google-perftools/ZUvzAkYI3G0
有解決方法
You can look at the INSTALL file and see what it says.  Probably
you'll want to use the --enable-frame-pointers flag.

因此從先編譯gperftools
在configure設定時要多個指令
./configure --enable-frame-pointers

重新編譯並順利安裝


對doppia/src/applications/objects_detection重新編譯
tcmalloc, profiler這兩個library的錯誤消失

僅留下cutil這個library缺少的錯誤
/usr/bin/ld: cannot find -lcutil
collect2: ld returned 1 exit status
make[2]: *** [objects_detection] Error 1
make[1]: *** [CMakeFiles/objects_detection.dir/all] Error 2
make: *** [all] Error 2


網路查看到cutil是cuda的library
但是看過得網頁並無說明要怎樣加入cutil
首先在cuda sdk目錄找時也沒看到cutil.so檔
最後在doppia目錄搜尋是否有用到cutil這個字的檔案
發現doppia目錄中的common_settings.cmake檔中有cutil字眼出現
進去查看到有幾處有
set(cutil_LIB "cutil")
這個設定

因此我將此設定都註解掉

對doppia/src/applications/objects_detection重新編譯
cmake .
make -j4
make -j4
結果成功編譯


pedestrian detection at 100 frames per second的source code網站教學的第三步有兩種執行方式
第一種執行方式
OMP_NUM_THREADS=4 ./objects_detection -c inria_pedestrians_cvpr2012.config.ini --gui.disable false

執行圖

由於執行速度很快
圖中有問題處是截圖時所造成

第二種執行方式方式
OMP_NUM_THREADS=4 ./objects_detection -c  chnftrs_over_bahnhof.config.ini --gui.disable false

執行圖



其他目錄編譯
進入doppia/src/applications/boosted_learning進行編譯
方法與前面同
cmake .
make -j4
make -j4
編譯成功


進入doppia/src/applications/bootstrapping_lib進行編譯
方法與前面同
cmake .
make -j4
make -j4
編譯成功



進入doppia/src/applications/objects_detection_lib進行編譯
方法與前面同
cmake .
make -j4
make -j4
編譯失敗失敗


進入doppia/src/applications/stixel_world_lib進行編譯
方法與前面同
cmake .
make -j4
make -j4
編譯失敗失敗


進入doppia/src/applications/video_input進行編譯
方法與前面同
cmake .
make -j4
make -j4
編譯失敗失敗



Comments