SHARE
TWEET

Untitled

a guest Feb 14th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Step 12/16 : RUN cd /darknet     && cmake . -DBUILD_SHARED_LIBS=ON -DCUDA_ARCHITECTURES=7.5 -DENABLE_OPENCV=ON -DENABLE_CUDA=ON -DENABLE_CUDNN=ON -DENABLE_CUDNN_HALF=ON -DCMAKE_BUILD_TYPE=Debug -L     && make -j$(nproc) VERBOSE=1     && ln -s libdarkd.so libdarknet.so
  2.  ---> Running in b45fbc75e80a
  3. -- The C compiler identification is GNU 7.4.0
  4. -- The CXX compiler identification is GNU 7.4.0
  5. -- Check for working C compiler: /usr/bin/cc
  6. -- Check for working C compiler: /usr/bin/cc -- works
  7. -- Detecting C compiler ABI info
  8. -- Detecting C compiler ABI info - done
  9. -- Detecting C compile features
  10. -- Detecting C compile features - done
  11. -- Check for working CXX compiler: /usr/bin/c++
  12. -- Check for working CXX compiler: /usr/bin/c++ -- works
  13. -- Detecting CXX compiler ABI info
  14. -- Detecting CXX compiler ABI info - done
  15. -- Detecting CXX compile features
  16. -- Detecting CXX compile features - done
  17. -- Looking for a CUDA compiler
  18. -- Looking for a CUDA compiler - /usr/local/cuda/bin/nvcc
  19. -- The CUDA compiler identification is NVIDIA 10.0.130
  20. -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
  21. -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- works
  22. -- Detecting CUDA compiler ABI info
  23. -- Detecting CUDA compiler ABI info - done
  24. -- Looking for pthread.h
  25. -- Looking for pthread.h - found
  26. -- Looking for pthread_create
  27. -- Looking for pthread_create - not found
  28. -- Looking for pthread_create in pthreads
  29. -- Looking for pthread_create in pthreads - not found
  30. -- Looking for pthread_create in pthread
  31. -- Looking for pthread_create in pthread - found
  32. -- Found Threads: TRUE  
  33. -- Found CUDA: /usr/local/cuda (found version "10.0")
  34. -- Building with CUDA flags: -gencode;arch=compute_75,code=sm_75
  35. -- Found OpenCV: /usr (found version "3.2.0")
  36. -- Found Stb: /darknet/3rdparty/stb/include  
  37. CMake Warning at CMakeLists.txt:131 (message):
  38.   To build with OpenMP support you need CMake 3.11.0+
  39.  
  40.  
  41. --   ->  darknet is fine for now, but uselib_track has been disabled!
  42. --   ->  Please rebuild OpenCV from sources with CUDA support to enable it
  43. -- Found CUDNN: /usr/include (found version "7.6.5")
  44. -- CMAKE_CUDA_FLAGS: -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "
  45. -- ZED SDK not found
  46. -- Configuring done
  47. -- Generating done
  48. -- Build files have been written to: /darknet
  49. -- Cache values
  50. BUILD_AS_CPP:BOOL=OFF
  51. BUILD_SHARED_LIBS:BOOL=ON
  52. BUILD_USELIB_TRACK:BOOL=FALSE
  53. CMAKE_BUILD_TYPE:STRING=Debug
  54. CMAKE_CUDA_HOST_COMPILER:FILEPATH=
  55. CMAKE_INSTALL_PREFIX:PATH=/darknet
  56. CUDA_ARCHITECTURES:STRING=7.5
  57. CUDA_HOST_COMPILER:FILEPATH=/usr/bin/cc
  58. CUDA_SDK_ROOT_DIR:PATH=CUDA_SDK_ROOT_DIR-NOTFOUND
  59. CUDA_TOOLKIT_ROOT_DIR:PATH=/usr/local/cuda
  60. CUDA_USE_STATIC_CUDA_RUNTIME:BOOL=ON
  61. CUDA_rt_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
  62. ENABLE_CUDA:BOOL=ON
  63. ENABLE_CUDNN:BOOL=ON
  64. ENABLE_CUDNN_HALF:BOOL=ON
  65. ENABLE_OPENCV:BOOL=ON
  66. ENABLE_VCPKG_INTEGRATION:BOOL=ON
  67. ENABLE_ZED_CAMERA:BOOL=FALSE
  68. INSTALL_BIN_DIR:PATH=/darknet
  69. INSTALL_CMAKE_DIR:PATH=share/darknet
  70. INSTALL_INCLUDE_DIR:PATH=include/darknet
  71. INSTALL_LIB_DIR:PATH=/darknet
  72. MANUALLY_EXPORT_TRACK_OPTFLOW:BOOL=OFF
  73. OpenCV_DIR:PATH=/usr/share/OpenCV
  74. SELECT_OPENCV_MODULES:BOOL=OFF
  75. Stb_DIR:PATH=/darknet/3rdparty/stb
  76. USE_INTEGRATED_LIBS:BOOL=FALSE
  77. ZED_DIR:PATH=ZED_DIR-NOTFOUND
  78. /usr/bin/cmake -H/darknet -B/darknet --check-build-system CMakeFiles/Makefile.cmake 0
  79. /usr/bin/cmake -E cmake_progress_start /darknet/CMakeFiles /darknet/CMakeFiles/progress.marks
  80. make -f CMakeFiles/Makefile2 all
  81. make[1]: Entering directory '/darknet'
  82. make -f CMakeFiles/dark.dir/build.make CMakeFiles/dark.dir/depend
  83. make -f CMakeFiles/darknet.dir/build.make CMakeFiles/darknet.dir/depend
  84. make[2]: Entering directory '/darknet'
  85. cd /darknet && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /darknet /darknet /darknet /darknet /darknet/CMakeFiles/dark.dir/DependInfo.cmake --color=
  86. make[2]: Entering directory '/darknet'
  87. cd /darknet && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /darknet /darknet /darknet /darknet /darknet/CMakeFiles/darknet.dir/DependInfo.cmake --color=
  88. Dependee "/darknet/CMakeFiles/dark.dir/DependInfo.cmake" is newer than depender "/darknet/CMakeFiles/dark.dir/depend.internal".
  89. Dependee "/darknet/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/darknet/CMakeFiles/dark.dir/depend.internal".
  90. Dependee "/darknet/CMakeFiles/darknet.dir/DependInfo.cmake" is newer than depender "/darknet/CMakeFiles/darknet.dir/depend.internal".
  91. Dependee "/darknet/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/darknet/CMakeFiles/darknet.dir/depend.internal".
  92. Scanning dependencies of target darknet
  93. make[2]: Leaving directory '/darknet'
  94. make -f CMakeFiles/darknet.dir/build.make CMakeFiles/darknet.dir/build
  95. Scanning dependencies of target dark
  96. make[2]: Leaving directory '/darknet'
  97. make -f CMakeFiles/dark.dir/build.make CMakeFiles/dark.dir/build
  98. make[2]: Entering directory '/darknet'
  99. make[2]: Entering directory '/darknet'
  100. [  2%] Building C object CMakeFiles/darknet.dir/src/activation_layer.c.o
  101. [  2%] Building C object CMakeFiles/darknet.dir/src/darknet.c.o
  102. [  2%] Building C object CMakeFiles/darknet.dir/src/activations.c.o
  103. [  3%] Building C object CMakeFiles/darknet.dir/src/art.c.o
  104. [  3%] Building C object CMakeFiles/darknet.dir/src/blas.c.o
  105. [  3%] Building C object CMakeFiles/darknet.dir/src/batchnorm_layer.c.o
  106. [  5%] Building C object CMakeFiles/darknet.dir/src/avgpool_layer.c.o
  107. [  5%] Building C object CMakeFiles/dark.dir/src/activation_layer.c.o
  108. [  5%] Building C object CMakeFiles/darknet.dir/src/captcha.c.o
  109. [  5%] Building C object CMakeFiles/dark.dir/src/activations.c.o
  110. [  5%] Building CXX object CMakeFiles/dark.dir/src/yolo_v2_class.cpp.o
  111. [  6%] Building C object CMakeFiles/darknet.dir/src/box.c.o
  112. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/darknet.c.o   -c /darknet/src/darknet.c
  113. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/activation_layer.c.o   -c /darknet/src/activation_layer.c
  114. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/activation_layer.c.o   -c /darknet/src/activation_layer.c
  115. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/activations.c.o   -c /darknet/src/activations.c
  116. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/activations.c.o   -c /darknet/src/activations.c
  117. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/art.c.o   -c /darknet/src/art.c
  118. [  8%] Building C object CMakeFiles/darknet.dir/src/cifar.c.o
  119. [  8%] Building C object CMakeFiles/darknet.dir/src/classifier.c.o
  120. [  8%] Building C object CMakeFiles/dark.dir/src/batchnorm_layer.c.o
  121. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/avgpool_layer.c.o   -c /darknet/src/avgpool_layer.c
  122. /usr/bin/c++  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC -fvisibility=hidden   -std=gnu++11 -o CMakeFiles/dark.dir/src/yolo_v2_class.cpp.o -c /darknet/src/yolo_v2_class.cpp
  123. [  8%] Building C object CMakeFiles/dark.dir/src/box.c.o
  124. [ 10%] Building C object CMakeFiles/darknet.dir/src/col2im.c.o
  125. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/batchnorm_layer.c.o   -c /darknet/src/batchnorm_layer.c
  126. [ 10%] Building C object CMakeFiles/dark.dir/src/blas.c.o
  127. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/blas.c.o   -c /darknet/src/blas.c
  128. [ 11%] Building C object CMakeFiles/darknet.dir/src/compare.c.o
  129. [ 11%] Building C object CMakeFiles/dark.dir/src/avgpool_layer.c.o
  130. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/box.c.o   -c /darknet/src/box.c
  131. [ 11%] Building C object CMakeFiles/darknet.dir/src/coco.c.o
  132. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/captcha.c.o   -c /darknet/src/captcha.c
  133. [ 12%] Building C object CMakeFiles/dark.dir/src/art.c.o
  134. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/batchnorm_layer.c.o   -c /darknet/src/batchnorm_layer.c
  135. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/cifar.c.o   -c /darknet/src/cifar.c
  136. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/box.c.o   -c /darknet/src/box.c
  137. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/classifier.c.o   -c /darknet/src/classifier.c
  138. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/blas.c.o   -c /darknet/src/blas.c
  139. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/col2im.c.o   -c /darknet/src/col2im.c
  140. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/avgpool_layer.c.o   -c /darknet/src/avgpool_layer.c
  141. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/coco.c.o   -c /darknet/src/coco.c
  142. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/compare.c.o   -c /darknet/src/compare.c
  143. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/art.c.o   -c /darknet/src/art.c
  144. [ 14%] Building C object CMakeFiles/dark.dir/src/captcha.c.o
  145. [ 14%] Building C object CMakeFiles/darknet.dir/src/connected_layer.c.o
  146. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/captcha.c.o   -c /darknet/src/captcha.c
  147. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/connected_layer.c.o   -c /darknet/src/connected_layer.c
  148. [ 15%] Building C object CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o
  149. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o   -c /darknet/src/conv_lstm_layer.c
  150. /darknet/src/box.c: In function 'diounms_sort':
  151. /darknet/src/box.c:886:27: warning: unused variable 'beta_prob' [-Wunused-variable]
  152.                      float beta_prob = pow(dets[j].prob[k], 2) / sum_prob;
  153.                            ^~~~~~~~~
  154. /darknet/src/box.c:885:27: warning: unused variable 'alpha_prob' [-Wunused-variable]
  155.                      float alpha_prob = pow(dets[i].prob[k], 2) / sum_prob;
  156.                            ^~~~~~~~~~
  157. /darknet/src/box.c: In function 'diounms_sort':
  158. /darknet/src/box.c:886:27: warning: unused variable 'beta_prob' [-Wunused-variable]
  159.                      float beta_prob = pow(dets[j].prob[k], 2) / sum_prob;
  160.                            ^~~~~~~~~
  161. /darknet/src/box.c:885:27: warning: unused variable 'alpha_prob' [-Wunused-variable]
  162.                      float alpha_prob = pow(dets[i].prob[k], 2) / sum_prob;
  163.                            ^~~~~~~~~~
  164. /darknet/src/activations.c: In function 'activate':
  165. /darknet/src/activations.c:73:5: warning: enumeration value 'SWISH' not handled in switch [-Wswitch]
  166.      switch(a){
  167.      ^~~~~~
  168. /darknet/src/activations.c:73:5: warning: enumeration value 'MISH' not handled in switch [-Wswitch]
  169. /darknet/src/activations.c: In function 'activate':
  170. /darknet/src/activations.c:73:5: warning: enumeration value 'NORM_CHAN' not handled in switch [-Wswitch]
  171. /darknet/src/activations.c:73:5: warning: enumeration value 'NORM_CHAN_SOFTMAX' not handled in switch [-Wswitch]
  172. /darknet/src/activations.c:73:5: warning: enumeration value 'NORM_CHAN_SOFTMAX_MAXVAL' not handled in switch [-Wswitch]
  173. /darknet/src/activations.c:73:5: warning: enumeration value 'SWISH' not handled in switch [-Wswitch]
  174.      switch(a){
  175.      ^~~~~~
  176. /darknet/src/activations.c:73:5: warning: enumeration value 'MISH' not handled in switch [-Wswitch]
  177. /darknet/src/activations.c:73:5: warning: enumeration value 'NORM_CHAN' not handled in switch [-Wswitch]
  178. /darknet/src/activations.c:73:5: warning: enumeration value 'NORM_CHAN_SOFTMAX' not handled in switch [-Wswitch]
  179. /darknet/src/activations.c:73:5: warning: enumeration value 'NORM_CHAN_SOFTMAX_MAXVAL' not handled in switch [-Wswitch]
  180. /darknet/src/blas.c: In function 'backward_shortcut_multilayer_cpu':
  181. /darknet/src/blas.c:205:21: warning: unused variable 'out_index' [-Wunused-variable]
  182.                  int out_index = id;
  183.                      ^~~~~~~~~
  184. /darknet/src/activations.c: In function 'gradient':
  185. /darknet/src/activations.c:281:5: warning: enumeration value 'SWISH' not handled in switch [-Wswitch]
  186.      switch(a){
  187.      ^~~~~~
  188. /darknet/src/activations.c:281:5: warning: enumeration value 'MISH' not handled in switch [-Wswitch]
  189. /darknet/src/activations.c: In function 'gradient':
  190. /darknet/src/activations.c:281:5: warning: enumeration value 'SWISH' not handled in switch [-Wswitch]
  191.      switch(a){
  192.      ^~~~~~
  193. /darknet/src/activations.c:281:5: warning: enumeration value 'MISH' not handled in switch [-Wswitch]
  194. /darknet/src/blas.c: In function 'backward_shortcut_multilayer_cpu':
  195. /darknet/src/blas.c:205:21: warning: unused variable 'out_index' [-Wunused-variable]
  196.                  int out_index = id;
  197.                      ^~~~~~~~~
  198. /darknet/src/coco.c: In function 'validate_coco_recall':
  199. /darknet/src/coco.c:248:11: warning: unused variable 'base' [-Wunused-variable]
  200.      char *base = "results/comp4_det_test_";
  201.            ^~~~
  202. /darknet/src/connected_layer.c: In function 'forward_connected_layer_gpu':
  203. /darknet/src/connected_layer.c:337:11: warning: unused variable 'one' [-Wunused-variable]
  204.      float one = 1;    // alpha[0], beta[0]
  205.            ^~~
  206. /darknet/src/connected_layer.c:335:13: warning: unused variable 'c' [-Wunused-variable]
  207.      float * c = l.output_gpu;
  208.              ^
  209. /darknet/src/connected_layer.c:334:13: warning: unused variable 'b' [-Wunused-variable]
  210.      float * b = l.weights_gpu;
  211.              ^
  212. /darknet/src/connected_layer.c:333:13: warning: unused variable 'a' [-Wunused-variable]
  213.      float * a = state.input;
  214.              ^
  215. /darknet/src/connected_layer.c:332:9: warning: unused variable 'n' [-Wunused-variable]
  216.      int n = l.outputs;
  217.          ^
  218. /darknet/src/connected_layer.c:331:9: warning: unused variable 'k' [-Wunused-variable]
  219.      int k = l.inputs;
  220.          ^
  221. /darknet/src/connected_layer.c:330:9: warning: unused variable 'm' [-Wunused-variable]
  222.      int m = l.batch;
  223.          ^
  224. /darknet/src/classifier.c: In function 'predict_classifier':
  225. /darknet/src/classifier.c:818:13: warning: unused variable 'time' [-Wunused-variable]
  226.      clock_t time;
  227.              ^~~~
  228. /darknet/src/classifier.c: In function 'demo_classifier':
  229. /darknet/src/classifier.c:1248:49: warning: unused variable 'tval_result' [-Wunused-variable]
  230.          struct timeval tval_before, tval_after, tval_result;
  231.                                                  ^~~~~~~~~~~
  232. /darknet/src/classifier.c:1248:37: warning: unused variable 'tval_after' [-Wunused-variable]
  233.          struct timeval tval_before, tval_after, tval_result;
  234.                                      ^~~~~~~~~~
  235. [ 15%] Building C object CMakeFiles/darknet.dir/src/convolutional_layer.c.o
  236. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/convolutional_layer.c.o   -c /darknet/src/convolutional_layer.c
  237. [ 16%] Building C object CMakeFiles/dark.dir/src/cifar.c.o
  238. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/cifar.c.o   -c /darknet/src/cifar.c
  239. [ 16%] Building C object CMakeFiles/dark.dir/src/classifier.c.o
  240. [ 17%] Building C object CMakeFiles/darknet.dir/src/cost_layer.c.o
  241. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/classifier.c.o   -c /darknet/src/classifier.c
  242. [ 18%] Building C object CMakeFiles/dark.dir/src/coco.c.o
  243. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/cost_layer.c.o   -c /darknet/src/cost_layer.c
  244. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/coco.c.o   -c /darknet/src/coco.c
  245. [ 18%] Building C object CMakeFiles/darknet.dir/src/cpu_gemm.c.o
  246. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/cpu_gemm.c.o   -c /darknet/src/cpu_gemm.c
  247. [ 18%] Building C object CMakeFiles/dark.dir/src/col2im.c.o
  248. [ 19%] Building C object CMakeFiles/darknet.dir/src/crnn_layer.c.o
  249. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/col2im.c.o   -c /darknet/src/col2im.c
  250. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/crnn_layer.c.o   -c /darknet/src/crnn_layer.c
  251. [ 20%] Building C object CMakeFiles/dark.dir/src/compare.c.o
  252. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/compare.c.o   -c /darknet/src/compare.c
  253. [ 21%] Building C object CMakeFiles/darknet.dir/src/crop_layer.c.o
  254. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/crop_layer.c.o   -c /darknet/src/crop_layer.c
  255. [ 22%] Building C object CMakeFiles/dark.dir/src/connected_layer.c.o
  256. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/connected_layer.c.o   -c /darknet/src/connected_layer.c
  257. [ 22%] Building C object CMakeFiles/darknet.dir/src/dark_cuda.c.o
  258. [ 22%] Building C object CMakeFiles/dark.dir/src/conv_lstm_layer.c.o
  259. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/dark_cuda.c.o   -c /darknet/src/dark_cuda.c
  260. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/conv_lstm_layer.c.o   -c /darknet/src/conv_lstm_layer.c
  261. [ 23%] Building C object CMakeFiles/darknet.dir/src/data.c.o
  262. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/data.c.o   -c /darknet/src/data.c
  263. [ 24%] Building C object CMakeFiles/dark.dir/src/convolutional_layer.c.o
  264. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/convolutional_layer.c.o   -c /darknet/src/convolutional_layer.c
  265. [ 24%] Building C object CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o
  266. [ 25%] Building C object CMakeFiles/darknet.dir/src/demo.c.o
  267. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o   -c /darknet/src/deconvolutional_layer.c
  268. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/demo.c.o   -c /darknet/src/demo.c
  269. [ 26%] Building C object CMakeFiles/darknet.dir/src/detection_layer.c.o
  270. [ 26%] Building C object CMakeFiles/dark.dir/src/cost_layer.c.o
  271. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/detection_layer.c.o   -c /darknet/src/detection_layer.c
  272. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/cost_layer.c.o   -c /darknet/src/cost_layer.c
  273. [ 26%] Building C object CMakeFiles/darknet.dir/src/detector.c.o
  274. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/detector.c.o   -c /darknet/src/detector.c
  275. [ 27%] Building C object CMakeFiles/darknet.dir/src/dice.c.o
  276. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/dice.c.o   -c /darknet/src/dice.c
  277. [ 28%] Building C object CMakeFiles/dark.dir/src/cpu_gemm.c.o
  278. [ 29%] Building C object CMakeFiles/dark.dir/src/crnn_layer.c.o
  279. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/cpu_gemm.c.o   -c /darknet/src/cpu_gemm.c
  280. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/crnn_layer.c.o   -c /darknet/src/crnn_layer.c
  281. /darknet/src/coco.c: In function 'validate_coco_recall':
  282. /darknet/src/coco.c:248:11: warning: unused variable 'base' [-Wunused-variable]
  283.      char *base = "results/comp4_det_test_";
  284.            ^~~~
  285. /darknet/src/convolutional_layer.c: In function 'forward_convolutional_layer':
  286. /darknet/src/convolutional_layer.c:1202:32: warning: unused variable 't_intput_size' [-Wunused-variable]
  287.                          size_t t_intput_size = binary_transpose_align_input(k, n, state.workspace, &l.t_bit_input, ldb_align, l.bit_align);
  288.                                 ^~~~~~~~~~~~~
  289. /darknet/src/classifier.c: In function 'predict_classifier':
  290. /darknet/src/classifier.c:818:13: warning: unused variable 'time' [-Wunused-variable]
  291.      clock_t time;
  292.              ^~~~
  293. /darknet/src/classifier.c: In function 'demo_classifier':
  294. /darknet/src/classifier.c:1248:49: warning: unused variable 'tval_result' [-Wunused-variable]
  295.          struct timeval tval_before, tval_after, tval_result;
  296.                                                  ^~~~~~~~~~~
  297. /darknet/src/classifier.c:1248:37: warning: unused variable 'tval_after' [-Wunused-variable]
  298.          struct timeval tval_before, tval_after, tval_result;
  299.                                      ^~~~~~~~~~
  300. [ 29%] Building C object CMakeFiles/dark.dir/src/crop_layer.c.o
  301. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/crop_layer.c.o   -c /darknet/src/crop_layer.c
  302. /darknet/src/dark_cuda.c: In function 'pre_allocate_pinned_memory':
  303. /darknet/src/dark_cuda.c:264:40: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  304.          printf("pre_allocate: size = %Iu MB, num_of_blocks = %Iu, block_size = %Iu MB \n",
  305.                                       ~~^
  306.                                       %Ilu
  307.              size / (1024*1024), num_of_blocks, pinned_block_size / (1024 * 1024));
  308.              ~~~~~~~~~~~~~~~~~~          
  309. /darknet/src/dark_cuda.c:264:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka const long unsigned int}' [-Wformat=]
  310.          printf("pre_allocate: size = %Iu MB, num_of_blocks = %Iu, block_size = %Iu MB \n",
  311.                                                               ~~^
  312.                                                               %Ilu
  313. /darknet/src/dark_cuda.c:264:82: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
  314.          printf("pre_allocate: size = %Iu MB, num_of_blocks = %Iu, block_size = %Iu MB \n",
  315.                                                                                 ~~^
  316.                                                                                 %Ilu
  317.              size / (1024*1024), num_of_blocks, pinned_block_size / (1024 * 1024));
  318.                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  319. /darknet/src/dark_cuda.c:274:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka const long unsigned int}' [-Wformat=]
  320.                  printf(" Allocated %d pinned block \n", pinned_block_size);
  321.                                     ~^
  322.                                     %ld
  323. /darknet/src/dark_cuda.c: In function 'cuda_make_array_pinned_preallocated':
  324. /darknet/src/dark_cuda.c:295:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=]
  325.              printf("\n Pinned block_id = %d, filled = %f %% \n", pinned_block_id, filled);
  326.                                           ~^
  327.                                           %ld
  328. /darknet/src/dark_cuda.c:310:64: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  329.              printf("Try to allocate new pinned memory, size = %d MB \n", size / (1024 * 1024));
  330.                                                                ~^         ~~~~~~~~~~~~~~~~~~~~
  331.                                                                %ld
  332. /darknet/src/dark_cuda.c:316:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  333.              printf("Try to allocate new pinned BLOCK, size = %d MB \n", size / (1024 * 1024));
  334.                                                               ~^         ~~~~~~~~~~~~~~~~~~~~
  335.                                                               %ld
  336. [ 29%] Building C object CMakeFiles/darknet.dir/src/dropout_layer.c.o
  337. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/dropout_layer.c.o   -c /darknet/src/dropout_layer.c
  338. /darknet/src/connected_layer.c: In function 'forward_connected_layer_gpu':
  339. /darknet/src/connected_layer.c:337:11: warning: unused variable 'one' [-Wunused-variable]
  340.      float one = 1;    // alpha[0], beta[0]
  341.            ^~~
  342. /darknet/src/connected_layer.c:335:13: warning: unused variable 'c' [-Wunused-variable]
  343.      float * c = l.output_gpu;
  344.              ^
  345. /darknet/src/connected_layer.c:334:13: warning: unused variable 'b' [-Wunused-variable]
  346.      float * b = l.weights_gpu;
  347.              ^
  348. /darknet/src/connected_layer.c:333:13: warning: unused variable 'a' [-Wunused-variable]
  349.      float * a = state.input;
  350.              ^
  351. /darknet/src/connected_layer.c:332:9: warning: unused variable 'n' [-Wunused-variable]
  352.      int n = l.outputs;
  353.          ^
  354. /darknet/src/connected_layer.c:331:9: warning: unused variable 'k' [-Wunused-variable]
  355.      int k = l.inputs;
  356.          ^
  357. /darknet/src/connected_layer.c:330:9: warning: unused variable 'm' [-Wunused-variable]
  358.      int m = l.batch;
  359.          ^
  360. [ 30%] Building C object CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o
  361. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o   -c /darknet/src/gaussian_yolo_layer.c
  362. /darknet/src/data.c: In function 'load_data_detection':
  363. /darknet/src/data.c:1120:24: warning: unused variable 'x' [-Wunused-variable]
  364.                  int k, x, y;
  365.                         ^
  366. /darknet/src/data.c:976:43: warning: variable 'r_scale' set but not used [-Wunused-but-set-variable]
  367.      float r1 = 0, r2 = 0, r3 = 0, r4 = 0, r_scale = 0;
  368.                                            ^~~~~~~
  369. /darknet/src/convolutional_layer.c: In function 'forward_convolutional_layer':
  370. /darknet/src/convolutional_layer.c:1202:32: warning: unused variable 't_intput_size' [-Wunused-variable]
  371.                          size_t t_intput_size = binary_transpose_align_input(k, n, state.workspace, &l.t_bit_input, ldb_align, l.bit_align);
  372.                                 ^~~~~~~~~~~~~
  373. [ 31%] Building C object CMakeFiles/dark.dir/src/dark_cuda.c.o
  374. [ 32%] Building C object CMakeFiles/darknet.dir/src/gemm.c.o
  375. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/dark_cuda.c.o   -c /darknet/src/dark_cuda.c
  376. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/gemm.c.o   -c /darknet/src/gemm.c
  377. /darknet/src/detector.c: In function 'eliminate_bdd':
  378. /darknet/src/detector.c:481:21: warning: statement with no effect [-Wunused-value]
  379.                      for (k; buf[k + n] != '\0'; k++)
  380.                      ^~~
  381. /darknet/src/detector.c: In function 'validate_detector':
  382. /darknet/src/detector.c:592:13: warning: unused variable 'mkd2' [-Wunused-variable]
  383.          int mkd2 = make_directory(buff2, 0777);
  384.              ^~~~
  385. /darknet/src/detector.c:590:13: warning: unused variable 'mkd' [-Wunused-variable]
  386.          int mkd = make_directory(buff, 0777);
  387.              ^~~
  388. /darknet/src/detector.c: In function 'validate_detector_map':
  389. /darknet/src/detector.c:1211:15: warning: unused variable 'class_recall' [-Wunused-variable]
  390.          float class_recall = (float)tp_for_thresh_per_class[i] / ((float)tp_for_thresh_per_class[i] + (float)(truth_classes_count[i] - tp_for_thresh_per_class[i]));
  391.                ^~~~~~~~~~~~
  392. /darknet/src/detector.c:1210:15: warning: unused variable 'class_precision' [-Wunused-variable]
  393.          float class_precision = (float)tp_for_thresh_per_class[i] / ((float)tp_for_thresh_per_class[i] + (float)fp_for_thresh_per_class[i]);
  394.                ^~~~~~~~~~~~~~~
  395. [ 32%] Building C object CMakeFiles/dark.dir/src/data.c.o
  396. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/data.c.o   -c /darknet/src/data.c
  397. [ 32%] Building C object CMakeFiles/darknet.dir/src/go.c.o
  398. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/go.c.o   -c /darknet/src/go.c
  399. [ 33%] Building C object CMakeFiles/dark.dir/src/deconvolutional_layer.c.o
  400. [ 34%] Building C object CMakeFiles/dark.dir/src/demo.c.o
  401. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/deconvolutional_layer.c.o   -c /darknet/src/deconvolutional_layer.c
  402. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/demo.c.o   -c /darknet/src/demo.c
  403. [ 35%] Building C object CMakeFiles/darknet.dir/src/gru_layer.c.o
  404. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/gru_layer.c.o   -c /darknet/src/gru_layer.c
  405. [ 35%] Building C object CMakeFiles/darknet.dir/src/im2col.c.o
  406. [ 35%] Building C object CMakeFiles/dark.dir/src/detection_layer.c.o
  407. [ 36%] Building C object CMakeFiles/darknet.dir/src/layer.c.o
  408. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/detection_layer.c.o   -c /darknet/src/detection_layer.c
  409. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/im2col.c.o   -c /darknet/src/im2col.c
  410. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/layer.c.o   -c /darknet/src/layer.c
  411. [ 37%] Building C object CMakeFiles/darknet.dir/src/image.c.o
  412. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/image.c.o   -c /darknet/src/image.c
  413. [ 37%] Building C object CMakeFiles/darknet.dir/src/list.c.o
  414. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/list.c.o   -c /darknet/src/list.c
  415. [ 38%] Building C object CMakeFiles/darknet.dir/src/local_layer.c.o
  416. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/local_layer.c.o   -c /darknet/src/local_layer.c
  417. /darknet/src/gaussian_yolo_layer.c: In function 'make_gaussian_yolo_layer':
  418. /darknet/src/gaussian_yolo_layer.c:69:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  419.      if (cudaSuccess == cudaHostAlloc(&l.output, batch*l.outputs * sizeof(float), cudaHostRegisterMapped)) l.output_pinned = 1;
  420.                                       ^
  421. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  422.                  from /darknet/include/darknet.h:39,
  423.                  from /darknet/src/gaussian_yolo_layer.h:5,
  424.                  from /darknet/src/gaussian_yolo_layer.c:7:
  425. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  426.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  427.                                        ^~~~~~~~~~~~~
  428. /darknet/src/gaussian_yolo_layer.c:76:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  429.      if (cudaSuccess == cudaHostAlloc(&l.delta, batch*l.outputs * sizeof(float), cudaHostRegisterMapped)) l.delta_pinned = 1;
  430.                                       ^
  431. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  432.                  from /darknet/include/darknet.h:39,
  433.                  from /darknet/src/gaussian_yolo_layer.h:5,
  434.                  from /darknet/src/gaussian_yolo_layer.c:7:
  435. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  436.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  437.                                        ^~~~~~~~~~~~~
  438. /darknet/src/gaussian_yolo_layer.c: In function 'resize_gaussian_yolo_layer':
  439. /darknet/src/gaussian_yolo_layer.c:108:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  440.          if (cudaSuccess != cudaHostAlloc(&l->output, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  441.                                           ^
  442. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  443.                  from /darknet/include/darknet.h:39,
  444.                  from /darknet/src/gaussian_yolo_layer.h:5,
  445.                  from /darknet/src/gaussian_yolo_layer.c:7:
  446. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  447.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  448.                                        ^~~~~~~~~~~~~
  449. /darknet/src/gaussian_yolo_layer.c:117:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  450.          if (cudaSuccess != cudaHostAlloc(&l->delta, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  451.                                           ^
  452. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  453.                  from /darknet/include/darknet.h:39,
  454.                  from /darknet/src/gaussian_yolo_layer.h:5,
  455.                  from /darknet/src/gaussian_yolo_layer.c:7:
  456. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  457.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  458.                                        ^~~~~~~~~~~~~
  459. /darknet/src/gaussian_yolo_layer.c: In function 'forward_gaussian_yolo_layer':
  460. /darknet/src/gaussian_yolo_layer.c:451:25: warning: variable 'best_match_t' set but not used [-Wunused-but-set-variable]
  461.                      int best_match_t = 0;
  462.                          ^~~~~~~~~~~~
  463. [ 39%] Building C object CMakeFiles/dark.dir/src/detector.c.o
  464. /darknet/src/dark_cuda.c: In function 'pre_allocate_pinned_memory':
  465. /darknet/src/dark_cuda.c:264:40: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  466.          printf("pre_allocate: size = %Iu MB, num_of_blocks = %Iu, block_size = %Iu MB \n",
  467.                                       ~~^
  468.                                       %Ilu
  469.              size / (1024*1024), num_of_blocks, pinned_block_size / (1024 * 1024));
  470.              ~~~~~~~~~~~~~~~~~~          
  471. /darknet/src/dark_cuda.c:264:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka const long unsigned int}' [-Wformat=]
  472.          printf("pre_allocate: size = %Iu MB, num_of_blocks = %Iu, block_size = %Iu MB \n",
  473.                                                               ~~^
  474.                                                               %Ilu
  475. /darknet/src/dark_cuda.c:264:82: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
  476.          printf("pre_allocate: size = %Iu MB, num_of_blocks = %Iu, block_size = %Iu MB \n",
  477.                                                                                 ~~^
  478.                                                                                 %Ilu
  479.              size / (1024*1024), num_of_blocks, pinned_block_size / (1024 * 1024));
  480.                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  481. /darknet/src/dark_cuda.c:274:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka const long unsigned int}' [-Wformat=]
  482.                  printf(" Allocated %d pinned block \n", pinned_block_size);
  483.                                     ~^
  484.                                     %ld
  485. /darknet/src/dark_cuda.c: In function 'cuda_make_array_pinned_preallocated':
  486. /darknet/src/dark_cuda.c:295:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=]
  487.              printf("\n Pinned block_id = %d, filled = %f %% \n", pinned_block_id, filled);
  488.                                           ~^
  489.                                           %ld
  490. /darknet/src/dark_cuda.c:310:64: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  491.              printf("Try to allocate new pinned memory, size = %d MB \n", size / (1024 * 1024));
  492.                                                                ~^         ~~~~~~~~~~~~~~~~~~~~
  493.                                                                %ld
  494. /darknet/src/dark_cuda.c:316:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  495.              printf("Try to allocate new pinned BLOCK, size = %d MB \n", size / (1024 * 1024));
  496.                                                               ~^         ~~~~~~~~~~~~~~~~~~~~
  497.                                                               %ld
  498. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/detector.c.o   -c /darknet/src/detector.c
  499. /darknet/src/gemm.c: In function 'convolution_2d':
  500. /darknet/src/gemm.c:2039:15: warning: unused variable 'out_w' [-Wunused-variable]
  501.      const int out_w = (w + 2 * pad - ksize) / stride + 1;    // output_width=input_width for stride=1 and pad=1
  502.                ^~~~~
  503. /darknet/src/gemm.c:2038:15: warning: unused variable 'out_h' [-Wunused-variable]
  504.      const int out_h = (h + 2 * pad - ksize) / stride + 1;    // output_height=input_height for stride=1 and pad=1
  505.                ^~~~~
  506. [ 39%] Building C object CMakeFiles/dark.dir/src/dice.c.o
  507. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/dice.c.o   -c /darknet/src/dice.c
  508. [ 40%] Building C object CMakeFiles/dark.dir/src/dropout_layer.c.o
  509. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/dropout_layer.c.o   -c /darknet/src/dropout_layer.c
  510. [ 40%] Building C object CMakeFiles/darknet.dir/src/lstm_layer.c.o
  511. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/lstm_layer.c.o   -c /darknet/src/lstm_layer.c
  512. [ 41%] Building C object CMakeFiles/darknet.dir/src/matrix.c.o
  513. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/matrix.c.o   -c /darknet/src/matrix.c
  514. /darknet/src/data.c: In function 'load_data_detection':
  515. /darknet/src/data.c:1120:24: warning: unused variable 'x' [-Wunused-variable]
  516.                  int k, x, y;
  517.                         ^
  518. /darknet/src/data.c:976:43: warning: variable 'r_scale' set but not used [-Wunused-but-set-variable]
  519.      float r1 = 0, r2 = 0, r3 = 0, r4 = 0, r_scale = 0;
  520.                                            ^~~~~~~
  521. /darknet/src/layer.c: In function 'free_layer_custom':
  522. /darknet/src/layer.c:187:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  523.          if (l.x_gpu)                   cuda_free(l.x_gpu);  l.x_gpu = NULL;
  524.          ^~
  525. /darknet/src/layer.c:187:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  526.          if (l.x_gpu)                   cuda_free(l.x_gpu);  l.x_gpu = NULL;
  527.                                                              ^
  528. [ 42%] Building C object CMakeFiles/dark.dir/src/gaussian_yolo_layer.c.o
  529. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/gaussian_yolo_layer.c.o   -c /darknet/src/gaussian_yolo_layer.c
  530. [ 43%] Building C object CMakeFiles/darknet.dir/src/maxpool_layer.c.o
  531. [ 43%] Building C object CMakeFiles/dark.dir/src/gemm.c.o
  532. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/maxpool_layer.c.o   -c /darknet/src/maxpool_layer.c
  533. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/gemm.c.o   -c /darknet/src/gemm.c
  534. [ 44%] Building C object CMakeFiles/dark.dir/src/go.c.o
  535. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/go.c.o   -c /darknet/src/go.c
  536. [ 44%] Building C object CMakeFiles/darknet.dir/src/network.c.o
  537. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/network.c.o   -c /darknet/src/network.c
  538. [ 44%] Building C object CMakeFiles/dark.dir/src/gru_layer.c.o
  539. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/gru_layer.c.o   -c /darknet/src/gru_layer.c
  540. [ 45%] Building C object CMakeFiles/dark.dir/src/im2col.c.o
  541. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/im2col.c.o   -c /darknet/src/im2col.c
  542. /darknet/src/detector.c: In function 'eliminate_bdd':
  543. /darknet/src/detector.c:481:21: warning: statement with no effect [-Wunused-value]
  544.                      for (k; buf[k + n] != '\0'; k++)
  545.                      ^~~
  546. /darknet/src/detector.c: In function 'validate_detector':
  547. /darknet/src/detector.c:592:13: warning: unused variable 'mkd2' [-Wunused-variable]
  548.          int mkd2 = make_directory(buff2, 0777);
  549.              ^~~~
  550. /darknet/src/detector.c:590:13: warning: unused variable 'mkd' [-Wunused-variable]
  551.          int mkd = make_directory(buff, 0777);
  552.              ^~~
  553. [ 46%] Building C object CMakeFiles/darknet.dir/src/nightmare.c.o
  554. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/nightmare.c.o   -c /darknet/src/nightmare.c
  555. /darknet/src/detector.c: In function 'validate_detector_map':
  556. /darknet/src/detector.c:1211:15: warning: unused variable 'class_recall' [-Wunused-variable]
  557.          float class_recall = (float)tp_for_thresh_per_class[i] / ((float)tp_for_thresh_per_class[i] + (float)(truth_classes_count[i] - tp_for_thresh_per_class[i]));
  558.                ^~~~~~~~~~~~
  559. /darknet/src/detector.c:1210:15: warning: unused variable 'class_precision' [-Wunused-variable]
  560.          float class_precision = (float)tp_for_thresh_per_class[i] / ((float)tp_for_thresh_per_class[i] + (float)fp_for_thresh_per_class[i]);
  561.                ^~~~~~~~~~~~~~~
  562. [ 46%] Building C object CMakeFiles/darknet.dir/src/normalization_layer.c.o
  563. [ 47%] Building C object CMakeFiles/dark.dir/src/image.c.o
  564. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/normalization_layer.c.o   -c /darknet/src/normalization_layer.c
  565. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/image.c.o   -c /darknet/src/image.c
  566. [ 48%] Building C object CMakeFiles/darknet.dir/src/option_list.c.o
  567. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/option_list.c.o   -c /darknet/src/option_list.c
  568. [ 49%] Building C object CMakeFiles/darknet.dir/src/parser.c.o
  569. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/parser.c.o   -c /darknet/src/parser.c
  570. [ 49%] Building C object CMakeFiles/darknet.dir/src/region_layer.c.o
  571. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/region_layer.c.o   -c /darknet/src/region_layer.c
  572. [ 50%] Building C object CMakeFiles/darknet.dir/src/reorg_layer.c.o
  573. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/reorg_layer.c.o   -c /darknet/src/reorg_layer.c
  574. [ 50%] Building C object CMakeFiles/darknet.dir/src/reorg_old_layer.c.o
  575. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/reorg_old_layer.c.o   -c /darknet/src/reorg_old_layer.c
  576. [ 50%] Building C object CMakeFiles/dark.dir/src/layer.c.o
  577. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/layer.c.o   -c /darknet/src/layer.c
  578. [ 51%] Building C object CMakeFiles/dark.dir/src/list.c.o
  579. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/list.c.o   -c /darknet/src/list.c
  580. /darknet/src/gaussian_yolo_layer.c: In function 'make_gaussian_yolo_layer':
  581. /darknet/src/gaussian_yolo_layer.c:69:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  582.      if (cudaSuccess == cudaHostAlloc(&l.output, batch*l.outputs * sizeof(float), cudaHostRegisterMapped)) l.output_pinned = 1;
  583.                                       ^
  584. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  585.                  from /darknet/include/darknet.h:39,
  586.                  from /darknet/src/gaussian_yolo_layer.h:5,
  587.                  from /darknet/src/gaussian_yolo_layer.c:7:
  588. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  589.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  590.                                        ^~~~~~~~~~~~~
  591. /darknet/src/gaussian_yolo_layer.c:76:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  592.      if (cudaSuccess == cudaHostAlloc(&l.delta, batch*l.outputs * sizeof(float), cudaHostRegisterMapped)) l.delta_pinned = 1;
  593.                                       ^
  594. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  595.                  from /darknet/include/darknet.h:39,
  596.                  from /darknet/src/gaussian_yolo_layer.h:5,
  597.                  from /darknet/src/gaussian_yolo_layer.c:7:
  598. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  599.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  600.                                        ^~~~~~~~~~~~~
  601. /darknet/src/gaussian_yolo_layer.c: In function 'resize_gaussian_yolo_layer':
  602. /darknet/src/gaussian_yolo_layer.c:108:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  603.          if (cudaSuccess != cudaHostAlloc(&l->output, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  604.                                           ^
  605. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  606.                  from /darknet/include/darknet.h:39,
  607.                  from /darknet/src/gaussian_yolo_layer.h:5,
  608.                  from /darknet/src/gaussian_yolo_layer.c:7:
  609. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  610.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  611.                                        ^~~~~~~~~~~~~
  612. /darknet/src/gaussian_yolo_layer.c:117:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  613.          if (cudaSuccess != cudaHostAlloc(&l->delta, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  614.                                           ^
  615. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  616.                  from /darknet/include/darknet.h:39,
  617.                  from /darknet/src/gaussian_yolo_layer.h:5,
  618.                  from /darknet/src/gaussian_yolo_layer.c:7:
  619. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  620.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  621.                                        ^~~~~~~~~~~~~
  622. /darknet/src/gaussian_yolo_layer.c: In function 'forward_gaussian_yolo_layer':
  623. /darknet/src/gaussian_yolo_layer.c:451:25: warning: variable 'best_match_t' set but not used [-Wunused-but-set-variable]
  624.                      int best_match_t = 0;
  625.                          ^~~~~~~~~~~~
  626. /darknet/src/gemm.c: In function 'convolution_2d':
  627. /darknet/src/gemm.c:2039:15: warning: unused variable 'out_w' [-Wunused-variable]
  628.      const int out_w = (w + 2 * pad - ksize) / stride + 1;    // output_width=input_width for stride=1 and pad=1
  629.                ^~~~~
  630. /darknet/src/gemm.c:2038:15: warning: unused variable 'out_h' [-Wunused-variable]
  631.      const int out_h = (h + 2 * pad - ksize) / stride + 1;    // output_height=input_height for stride=1 and pad=1
  632.                ^~~~~
  633. [ 52%] Building C object CMakeFiles/darknet.dir/src/rnn.c.o
  634. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/rnn.c.o   -c /darknet/src/rnn.c
  635. [ 53%] Building C object CMakeFiles/darknet.dir/src/rnn_layer.c.o
  636. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/rnn_layer.c.o   -c /darknet/src/rnn_layer.c
  637. /darknet/src/network.c: In function 'resize_network':
  638. /darknet/src/network.c:591:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  639.          if (cudaSuccess == cudaHostAlloc(&net->input_pinned_cpu, size * sizeof(float), cudaHostRegisterMapped))
  640.                                           ^
  641. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  642.                  from /darknet/include/darknet.h:39,
  643.                  from /darknet/src/network.c:1:
  644. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  645.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  646.                                        ^~~~~~~~~~~~~
  647. [ 53%] Building C object CMakeFiles/dark.dir/src/local_layer.c.o
  648. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/local_layer.c.o   -c /darknet/src/local_layer.c
  649. [ 53%] Building C object CMakeFiles/darknet.dir/src/rnn_vid.c.o
  650. [ 54%] Building C object CMakeFiles/darknet.dir/src/route_layer.c.o
  651. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/rnn_vid.c.o   -c /darknet/src/rnn_vid.c
  652. /darknet/src/layer.c: In function 'free_layer_custom':
  653. /darknet/src/layer.c:187:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  654.          if (l.x_gpu)                   cuda_free(l.x_gpu);  l.x_gpu = NULL;
  655.          ^~
  656. /darknet/src/layer.c:187:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  657.          if (l.x_gpu)                   cuda_free(l.x_gpu);  l.x_gpu = NULL;
  658.                                                              ^
  659. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/route_layer.c.o   -c /darknet/src/route_layer.c
  660. [ 54%] Building C object CMakeFiles/darknet.dir/src/sam_layer.c.o
  661. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/sam_layer.c.o   -c /darknet/src/sam_layer.c
  662. /darknet/src/parser.c: In function 'parse_network_cfg_custom':
  663. /darknet/src/parser.c:1441:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  664.          if (cudaSuccess == cudaHostAlloc(&net.input_pinned_cpu, size * sizeof(float), cudaHostRegisterMapped)) net.input_pinned_cpu_flag = 1;
  665.                                           ^
  666. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  667.                  from /darknet/include/darknet.h:39,
  668.                  from /darknet/src/activations.h:3,
  669.                  from /darknet/src/activation_layer.h:4,
  670.                  from /darknet/src/parser.c:6:
  671. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  672.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  673.                                        ^~~~~~~~~~~~~
  674. [ 55%] Building C object CMakeFiles/darknet.dir/src/scale_channels_layer.c.o
  675. [ 56%] Building C object CMakeFiles/dark.dir/src/lstm_layer.c.o
  676. [ 57%] Building C object CMakeFiles/darknet.dir/src/shortcut_layer.c.o
  677. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/scale_channels_layer.c.o   -c /darknet/src/scale_channels_layer.c
  678. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/lstm_layer.c.o   -c /darknet/src/lstm_layer.c
  679. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/shortcut_layer.c.o   -c /darknet/src/shortcut_layer.c
  680. [ 58%] Building C object CMakeFiles/dark.dir/src/matrix.c.o
  681. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/matrix.c.o   -c /darknet/src/matrix.c
  682. [ 58%] Building C object CMakeFiles/dark.dir/src/maxpool_layer.c.o
  683. [ 58%] Building C object CMakeFiles/darknet.dir/src/softmax_layer.c.o
  684. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/softmax_layer.c.o   -c /darknet/src/softmax_layer.c
  685. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/maxpool_layer.c.o   -c /darknet/src/maxpool_layer.c
  686. [ 59%] Building C object CMakeFiles/dark.dir/src/network.c.o
  687. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/network.c.o   -c /darknet/src/network.c
  688. [ 60%] Building C object CMakeFiles/darknet.dir/src/super.c.o
  689. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/super.c.o   -c /darknet/src/super.c
  690. [ 60%] Building C object CMakeFiles/dark.dir/src/nightmare.c.o
  691. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/nightmare.c.o   -c /darknet/src/nightmare.c
  692. [ 61%] Building C object CMakeFiles/dark.dir/src/normalization_layer.c.o
  693. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/normalization_layer.c.o   -c /darknet/src/normalization_layer.c
  694. [ 62%] Building C object CMakeFiles/dark.dir/src/option_list.c.o
  695. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/option_list.c.o   -c /darknet/src/option_list.c
  696. [ 62%] Building C object CMakeFiles/dark.dir/src/parser.c.o
  697. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/parser.c.o   -c /darknet/src/parser.c
  698. [ 62%] Building C object CMakeFiles/darknet.dir/src/swag.c.o
  699. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/swag.c.o   -c /darknet/src/swag.c
  700. [ 63%] Building C object CMakeFiles/darknet.dir/src/tag.c.o
  701. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/tag.c.o   -c /darknet/src/tag.c
  702. [ 64%] Building C object CMakeFiles/darknet.dir/src/tree.c.o
  703. /darknet/src/shortcut_layer.c: In function 'make_shortcut_layer':
  704. /darknet/src/shortcut_layer.c:54:15: warning: unused variable 'scale' [-Wunused-variable]
  705.          float scale = sqrt(2. / l.nweights);
  706.                ^~~~~
  707. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/tree.c.o   -c /darknet/src/tree.c
  708. [ 64%] Building C object CMakeFiles/darknet.dir/src/upsample_layer.c.o
  709. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/upsample_layer.c.o   -c /darknet/src/upsample_layer.c
  710. [ 65%] Building C object CMakeFiles/dark.dir/src/region_layer.c.o
  711. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/region_layer.c.o   -c /darknet/src/region_layer.c
  712. [ 66%] Building C object CMakeFiles/darknet.dir/src/utils.c.o
  713. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/utils.c.o   -c /darknet/src/utils.c
  714. [ 66%] Building C object CMakeFiles/darknet.dir/src/voxel.c.o
  715. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/voxel.c.o   -c /darknet/src/voxel.c
  716. /darknet/src/network.c: In function 'resize_network':
  717. /darknet/src/network.c:591:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  718.          if (cudaSuccess == cudaHostAlloc(&net->input_pinned_cpu, size * sizeof(float), cudaHostRegisterMapped))
  719.                                           ^
  720. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  721.                  from /darknet/include/darknet.h:39,
  722.                  from /darknet/src/network.c:1:
  723. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  724.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  725.                                        ^~~~~~~~~~~~~
  726. [ 66%] Building C object CMakeFiles/dark.dir/src/reorg_layer.c.o
  727. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/reorg_layer.c.o   -c /darknet/src/reorg_layer.c
  728. [ 67%] Building C object CMakeFiles/dark.dir/src/reorg_old_layer.c.o
  729. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/reorg_old_layer.c.o   -c /darknet/src/reorg_old_layer.c
  730. [ 68%] Building C object CMakeFiles/darknet.dir/src/writing.c.o
  731. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/writing.c.o   -c /darknet/src/writing.c
  732. [ 69%] Building C object CMakeFiles/darknet.dir/src/yolo.c.o
  733. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/yolo.c.o   -c /darknet/src/yolo.c
  734. [ 69%] Building C object CMakeFiles/darknet.dir/src/yolo_layer.c.o
  735. [ 70%] Building CXX object CMakeFiles/darknet.dir/src/http_stream.cpp.o
  736. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -o CMakeFiles/darknet.dir/src/yolo_layer.c.o   -c /darknet/src/yolo_layer.c
  737. /usr/bin/c++  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -std=gnu++11 -o CMakeFiles/darknet.dir/src/http_stream.cpp.o -c /darknet/src/http_stream.cpp
  738. [ 71%] Building C object CMakeFiles/dark.dir/src/rnn.c.o
  739. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/rnn.c.o   -c /darknet/src/rnn.c
  740. [ 72%] Building C object CMakeFiles/dark.dir/src/rnn_layer.c.o
  741. [ 72%] Building C object CMakeFiles/dark.dir/src/rnn_vid.c.o
  742. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/rnn_layer.c.o   -c /darknet/src/rnn_layer.c
  743. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/rnn_vid.c.o   -c /darknet/src/rnn_vid.c
  744. /darknet/src/parser.c: In function 'parse_network_cfg_custom':
  745. /darknet/src/parser.c:1441:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  746.          if (cudaSuccess == cudaHostAlloc(&net.input_pinned_cpu, size * sizeof(float), cudaHostRegisterMapped)) net.input_pinned_cpu_flag = 1;
  747.                                           ^
  748. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  749.                  from /darknet/include/darknet.h:39,
  750.                  from /darknet/src/activations.h:3,
  751.                  from /darknet/src/activation_layer.h:4,
  752.                  from /darknet/src/parser.c:6:
  753. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  754.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  755.                                        ^~~~~~~~~~~~~
  756. [ 72%] Building C object CMakeFiles/dark.dir/src/route_layer.c.o
  757. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/route_layer.c.o   -c /darknet/src/route_layer.c
  758. [ 72%] Building CXX object CMakeFiles/darknet.dir/src/image_opencv.cpp.o
  759. /usr/bin/c++  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem /usr/include/opencv  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -std=gnu++11 -o CMakeFiles/darknet.dir/src/image_opencv.cpp.o -c /darknet/src/image_opencv.cpp
  760. [ 73%] Building C object CMakeFiles/dark.dir/src/sam_layer.c.o
  761. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/sam_layer.c.o   -c /darknet/src/sam_layer.c
  762. [ 75%] Building CUDA object CMakeFiles/darknet.dir/src/avgpool_layer_kernels.cu.o
  763. [ 75%] Building CUDA object CMakeFiles/darknet.dir/src/activation_kernels.cu.o
  764. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/activation_kernels.cu -o CMakeFiles/darknet.dir/src/activation_kernels.cu.o
  765. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/avgpool_layer_kernels.cu -o CMakeFiles/darknet.dir/src/avgpool_layer_kernels.cu.o
  766. [ 76%] Building C object CMakeFiles/dark.dir/src/scale_channels_layer.c.o
  767. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/scale_channels_layer.c.o   -c /darknet/src/scale_channels_layer.c
  768. [ 76%] Building CUDA object CMakeFiles/darknet.dir/src/blas_kernels.cu.o
  769. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/blas_kernels.cu -o CMakeFiles/darknet.dir/src/blas_kernels.cu.o
  770. /darknet/src/yolo_layer.c: In function 'make_yolo_layer':
  771. /darknet/src/yolo_layer.c:59:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  772.      if (cudaSuccess == cudaHostAlloc(&l.output, batch*l.outputs*sizeof(float), cudaHostRegisterMapped)) l.output_pinned = 1;
  773.                                       ^
  774. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  775.                  from /darknet/include/darknet.h:39,
  776.                  from /darknet/src/activations.h:3,
  777.                  from /darknet/src/layer.h:4,
  778.                  from /darknet/src/yolo_layer.h:5,
  779.                  from /darknet/src/yolo_layer.c:1:
  780. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  781.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  782.                                        ^~~~~~~~~~~~~
  783. /darknet/src/yolo_layer.c:66:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  784.      if (cudaSuccess == cudaHostAlloc(&l.delta, batch*l.outputs*sizeof(float), cudaHostRegisterMapped)) l.delta_pinned = 1;
  785.                                       ^
  786. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  787.                  from /darknet/include/darknet.h:39,
  788.                  from /darknet/src/activations.h:3,
  789.                  from /darknet/src/layer.h:4,
  790.                  from /darknet/src/yolo_layer.h:5,
  791.                  from /darknet/src/yolo_layer.c:1:
  792. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  793.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  794.                                        ^~~~~~~~~~~~~
  795. /darknet/src/yolo_layer.c: In function 'resize_yolo_layer':
  796. /darknet/src/yolo_layer.c:93:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  797.          if (cudaSuccess != cudaHostAlloc(&l->output, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  798.                                           ^
  799. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  800.                  from /darknet/include/darknet.h:39,
  801.                  from /darknet/src/activations.h:3,
  802.                  from /darknet/src/layer.h:4,
  803.                  from /darknet/src/yolo_layer.h:5,
  804.                  from /darknet/src/yolo_layer.c:1:
  805. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  806.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  807.                                        ^~~~~~~~~~~~~
  808. /darknet/src/yolo_layer.c:102:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  809.          if (cudaSuccess != cudaHostAlloc(&l->delta, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  810.                                           ^
  811. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  812.                  from /darknet/include/darknet.h:39,
  813.                  from /darknet/src/activations.h:3,
  814.                  from /darknet/src/layer.h:4,
  815.                  from /darknet/src/yolo_layer.h:5,
  816.                  from /darknet/src/yolo_layer.c:1:
  817. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  818.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  819.                                        ^~~~~~~~~~~~~
  820. [ 76%] Building C object CMakeFiles/dark.dir/src/shortcut_layer.c.o
  821. [ 77%] Building CUDA object CMakeFiles/darknet.dir/src/col2im_kernels.cu.o
  822. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/shortcut_layer.c.o   -c /darknet/src/shortcut_layer.c
  823. /darknet/src/yolo_layer.c: In function 'forward_yolo_layer':
  824. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/col2im_kernels.cu -o CMakeFiles/darknet.dir/src/col2im_kernels.cu.o
  825. /darknet/src/yolo_layer.c:357:25: warning: variable 'best_match_t' set but not used [-Wunused-but-set-variable]
  826.                      int best_match_t = 0;
  827.                          ^~~~~~~~~~~~
  828. [ 78%] Building C object CMakeFiles/dark.dir/src/softmax_layer.c.o
  829. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/softmax_layer.c.o   -c /darknet/src/softmax_layer.c
  830. [ 78%] Building CUDA object CMakeFiles/darknet.dir/src/convolutional_kernels.cu.o
  831. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/convolutional_kernels.cu -o CMakeFiles/darknet.dir/src/convolutional_kernels.cu.o
  832. [ 78%] Building C object CMakeFiles/dark.dir/src/super.c.o
  833. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/super.c.o   -c /darknet/src/super.c
  834. [ 79%] Building C object CMakeFiles/dark.dir/src/swag.c.o
  835. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/swag.c.o   -c /darknet/src/swag.c
  836. [ 80%] Building CUDA object CMakeFiles/darknet.dir/src/crop_layer_kernels.cu.o
  837. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/crop_layer_kernels.cu -o CMakeFiles/darknet.dir/src/crop_layer_kernels.cu.o
  838. [ 81%] Building C object CMakeFiles/dark.dir/src/tag.c.o
  839. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/tag.c.o   -c /darknet/src/tag.c
  840. [ 81%] Building C object CMakeFiles/dark.dir/src/tree.c.o
  841. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/tree.c.o   -c /darknet/src/tree.c
  842. [ 82%] Building C object CMakeFiles/dark.dir/src/upsample_layer.c.o
  843. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/upsample_layer.c.o   -c /darknet/src/upsample_layer.c
  844. [ 82%] Building C object CMakeFiles/dark.dir/src/utils.c.o
  845. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/utils.c.o   -c /darknet/src/utils.c
  846. [ 83%] Building C object CMakeFiles/dark.dir/src/voxel.c.o
  847. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/voxel.c.o   -c /darknet/src/voxel.c
  848. /darknet/src/shortcut_layer.c: In function 'make_shortcut_layer':
  849. /darknet/src/shortcut_layer.c:54:15: warning: unused variable 'scale' [-Wunused-variable]
  850.          float scale = sqrt(2. / l.nweights);
  851.                ^~~~~
  852. [ 84%] Building CUDA object CMakeFiles/darknet.dir/src/deconvolutional_kernels.cu.o
  853. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/deconvolutional_kernels.cu -o CMakeFiles/darknet.dir/src/deconvolutional_kernels.cu.o
  854. [ 85%] Building C object CMakeFiles/dark.dir/src/writing.c.o
  855. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/writing.c.o   -c /darknet/src/writing.c
  856. [ 85%] Building CUDA object CMakeFiles/darknet.dir/src/dropout_layer_kernels.cu.o
  857. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/dropout_layer_kernels.cu -o CMakeFiles/darknet.dir/src/dropout_layer_kernels.cu.o
  858. [ 85%] Building C object CMakeFiles/dark.dir/src/yolo.c.o
  859. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/yolo.c.o   -c /darknet/src/yolo.c
  860. [ 86%] Building C object CMakeFiles/dark.dir/src/yolo_layer.c.o
  861. /usr/bin/cc -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC   -o CMakeFiles/dark.dir/src/yolo_layer.c.o   -c /darknet/src/yolo_layer.c
  862. In file included from /darknet/src/http_stream.cpp:576:0:
  863. /darknet/src/httplib.h:129:0: warning: "INVALID_SOCKET" redefined
  864.  #define INVALID_SOCKET (-1)
  865.  
  866. /darknet/src/http_stream.cpp:71:0: note: this is the location of the previous definition
  867.  #define INVALID_SOCKET -1
  868.  
  869. [ 86%] Building CXX object CMakeFiles/dark.dir/src/http_stream.cpp.o
  870. /usr/bin/c++  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC -fvisibility=hidden   -std=gnu++11 -o CMakeFiles/dark.dir/src/http_stream.cpp.o -c /darknet/src/http_stream.cpp
  871. [ 87%] Building CXX object CMakeFiles/dark.dir/src/image_opencv.cpp.o
  872. /usr/bin/c++  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g -fPIC -fvisibility=hidden   -std=gnu++11 -o CMakeFiles/dark.dir/src/image_opencv.cpp.o -c /darknet/src/image_opencv.cpp
  873. [ 89%] Building CUDA object CMakeFiles/dark.dir/src/activation_kernels.cu.o
  874. [ 89%] Building CUDA object CMakeFiles/darknet.dir/src/im2col_kernels.cu.o
  875. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/im2col_kernels.cu -o CMakeFiles/darknet.dir/src/im2col_kernels.cu.o
  876. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/activation_kernels.cu -o CMakeFiles/dark.dir/src/activation_kernels.cu.o
  877. [ 89%] Building CUDA object CMakeFiles/dark.dir/src/avgpool_layer_kernels.cu.o
  878. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/avgpool_layer_kernels.cu -o CMakeFiles/dark.dir/src/avgpool_layer_kernels.cu.o
  879. [ 90%] Building CUDA object CMakeFiles/dark.dir/src/blas_kernels.cu.o
  880. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/blas_kernels.cu -o CMakeFiles/dark.dir/src/blas_kernels.cu.o
  881. [ 90%] Building CUDA object CMakeFiles/dark.dir/src/col2im_kernels.cu.o
  882. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/col2im_kernels.cu -o CMakeFiles/dark.dir/src/col2im_kernels.cu.o
  883. /darknet/src/yolo_layer.c: In function 'make_yolo_layer':
  884. /darknet/src/yolo_layer.c:59:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  885.      if (cudaSuccess == cudaHostAlloc(&l.output, batch*l.outputs*sizeof(float), cudaHostRegisterMapped)) l.output_pinned = 1;
  886.                                       ^
  887. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  888.                  from /darknet/include/darknet.h:39,
  889.                  from /darknet/src/activations.h:3,
  890.                  from /darknet/src/layer.h:4,
  891.                  from /darknet/src/yolo_layer.h:5,
  892.                  from /darknet/src/yolo_layer.c:1:
  893. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  894.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  895.                                        ^~~~~~~~~~~~~
  896. /darknet/src/yolo_layer.c:66:38: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  897.      if (cudaSuccess == cudaHostAlloc(&l.delta, batch*l.outputs*sizeof(float), cudaHostRegisterMapped)) l.delta_pinned = 1;
  898.                                       ^
  899. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  900.                  from /darknet/include/darknet.h:39,
  901.                  from /darknet/src/activations.h:3,
  902.                  from /darknet/src/layer.h:4,
  903.                  from /darknet/src/yolo_layer.h:5,
  904.                  from /darknet/src/yolo_layer.c:1:
  905. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  906.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  907.                                        ^~~~~~~~~~~~~
  908. /darknet/src/yolo_layer.c: In function 'resize_yolo_layer':
  909. /darknet/src/yolo_layer.c:93:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  910.          if (cudaSuccess != cudaHostAlloc(&l->output, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  911.                                           ^
  912. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  913.                  from /darknet/include/darknet.h:39,
  914.                  from /darknet/src/activations.h:3,
  915.                  from /darknet/src/layer.h:4,
  916.                  from /darknet/src/yolo_layer.h:5,
  917.                  from /darknet/src/yolo_layer.c:1:
  918. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  919.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  920.                                        ^~~~~~~~~~~~~
  921. /darknet/src/yolo_layer.c:102:42: warning: passing argument 1 of 'cudaHostAlloc' from incompatible pointer type [-Wincompatible-pointer-types]
  922.          if (cudaSuccess != cudaHostAlloc(&l->delta, l->batch*l->outputs * sizeof(float), cudaHostRegisterMapped)) {
  923.                                           ^
  924. In file included from /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime.h:96:0,
  925.                  from /darknet/include/darknet.h:39,
  926.                  from /darknet/src/activations.h:3,
  927.                  from /darknet/src/layer.h:4,
  928.                  from /darknet/src/yolo_layer.h:5,
  929.                  from /darknet/src/yolo_layer.c:1:
  930. /usr/local/cuda/targets/x86_64-linux/include/cuda_runtime_api.h:4412:39: note: expected 'void **' but argument is of type 'float **'
  931.  extern __host__ cudaError_t CUDARTAPI cudaHostAlloc(void **pHost, size_t size, unsigned int flags);
  932.                                        ^~~~~~~~~~~~~
  933. /darknet/src/yolo_layer.c: In function 'forward_yolo_layer':
  934. /darknet/src/yolo_layer.c:357:25: warning: variable 'best_match_t' set but not used [-Wunused-but-set-variable]
  935.                      int best_match_t = 0;
  936.                          ^~~~~~~~~~~~
  937. [ 91%] Building CUDA object CMakeFiles/dark.dir/src/convolutional_kernels.cu.o
  938. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/convolutional_kernels.cu -o CMakeFiles/dark.dir/src/convolutional_kernels.cu.o
  939. [ 92%] Building CUDA object CMakeFiles/dark.dir/src/crop_layer_kernels.cu.o
  940. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/crop_layer_kernels.cu -o CMakeFiles/dark.dir/src/crop_layer_kernels.cu.o
  941. [ 92%] Building CUDA object CMakeFiles/dark.dir/src/deconvolutional_kernels.cu.o
  942. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/deconvolutional_kernels.cu -o CMakeFiles/dark.dir/src/deconvolutional_kernels.cu.o
  943. /darknet/src/im2col_kernels.cu:125:18: warning: "/*" within comment [-Wcomment]
  944.                  //*data_col_ptr = (h >= 0 && w >= 0 && h < height && w < width) ?
  945.                    
  946. /darknet/src/im2col_kernels.cu:1178:6: warning: "/*" within comment [-Wcomment]
  947.      //*((uint64_t *)(A_s + (local_i*lda + k) / 8)) = *((uint64_t *)(A + (i_cur*lda + k) / 8));    // weights
  948.        
  949. [ 93%] Building CUDA object CMakeFiles/dark.dir/src/dropout_layer_kernels.cu.o
  950. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/dropout_layer_kernels.cu -o CMakeFiles/dark.dir/src/dropout_layer_kernels.cu.o
  951. In file included from /darknet/src/http_stream.cpp:576:0:
  952. /darknet/src/httplib.h:129:0: warning: "INVALID_SOCKET" redefined
  953.  #define INVALID_SOCKET (-1)
  954.  
  955. /darknet/src/http_stream.cpp:71:0: note: this is the location of the previous definition
  956.  #define INVALID_SOCKET -1
  957.  
  958. /darknet/src/blas_kernels.cu(846): warning: variable "out_index" was declared but never referenced
  959.  
  960. /darknet/src/blas_kernels.cu(869): warning: variable "step" was set but never used
  961.  
  962. /darknet/src/blas_kernels.cu(1459): warning: variable "stage_id" was declared but never referenced
  963.  
  964. /darknet/src/dropout_layer_kernels.cu(57): warning: variable "x" was declared but never referenced
  965.  
  966. /darknet/src/blas_kernels.cu(846): warning: variable "out_index" was declared but never referenced
  967.  
  968. /darknet/src/blas_kernels.cu(869): warning: variable "step" was set but never used
  969.  
  970. [ 93%] Building CUDA object CMakeFiles/darknet.dir/src/maxpool_layer_kernels.cu.o
  971. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/maxpool_layer_kernels.cu -o CMakeFiles/darknet.dir/src/maxpool_layer_kernels.cu.o
  972. /darknet/src/blas_kernels.cu(1459): warning: variable "stage_id" was declared but never referenced
  973.  
  974. /darknet/src/http_stream.cpp: In member function 'bool JSON_sender::write(const char*)':
  975. /darknet/src/http_stream.cpp:247:21: warning: unused variable 'n' [-Wunused-variable]
  976.                  int n = _write(client, outputbuf, outlen);
  977.                      ^
  978. /darknet/src/dropout_layer_kernels.cu(57): warning: variable "x" was declared but never referenced
  979.  
  980. [ 93%] Building CUDA object CMakeFiles/dark.dir/src/im2col_kernels.cu.o
  981. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/im2col_kernels.cu -o CMakeFiles/dark.dir/src/im2col_kernels.cu.o
  982. /darknet/src/im2col_kernels.cu:125:18: warning: "/*" within comment [-Wcomment]
  983.                  //*data_col_ptr = (h >= 0 && w >= 0 && h < height && w < width) ?
  984.                    
  985. /darknet/src/im2col_kernels.cu:1178:6: warning: "/*" within comment [-Wcomment]
  986.      //*((uint64_t *)(A_s + (local_i*lda + k) / 8)) = *((uint64_t *)(A + (i_cur*lda + k) / 8));    // weights
  987.        
  988. /darknet/src/http_stream.cpp: In member function 'bool JSON_sender::write(const char*)':
  989. /darknet/src/http_stream.cpp:247:21: warning: unused variable 'n' [-Wunused-variable]
  990.                  int n = _write(client, outputbuf, outlen);
  991.                      ^
  992. In file included from /darknet/src/yolo_v2_class.cpp:2:0:
  993. /darknet/include/yolo_v2_class.hpp: In constructor 'track_kalman_t::track_kalman_t(int, int, float, cv::Size)':
  994. /darknet/include/yolo_v2_class.hpp:708:14: warning: 'track_kalman_t::img_size' will be initialized after [-Wreorder]
  995.      cv::Size img_size;  // max value of x,y,w,h
  996.               ^~~~~~~~
  997. /darknet/include/yolo_v2_class.hpp:700:9: warning:   'int track_kalman_t::track_id_counter' [-Wreorder]
  998.      int track_id_counter;
  999.          ^~~~~~~~~~~~~~~~
  1000. /darknet/include/yolo_v2_class.hpp:853:5: warning:   when initialized here [-Wreorder]
  1001.      track_kalman_t(int _max_objects = 1000, int _min_frames = 3, float _max_dist = 40, cv::Size _img_size = cv::Size(10000, 10000)) :
  1002.      ^~~~~~~~~~~~~~
  1003. /darknet/include/yolo_v2_class.hpp: In member function 'void track_kalman_t::clear_old_states()':
  1004. /darknet/include/yolo_v2_class.hpp:879:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1005.                  if ((result_vec_pred[state_id].x > img_size.width) ||
  1006. /darknet/include/yolo_v2_class.hpp:880:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1007.                      (result_vec_pred[state_id].y > img_size.height))
  1008. /darknet/include/yolo_v2_class.hpp: In member function 'track_kalman_t::tst_t track_kalman_t::get_state_id(bbox_t, std::vector<bool>&)':
  1009. /darknet/include/yolo_v2_class.hpp:900:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1010.          for (size_t i = 0; i < max_objects; ++i)
  1011.                             ~~^~~~~~~~~~~~~
  1012. /darknet/include/yolo_v2_class.hpp: In member function 'std::vector<bbox_t> track_kalman_t::predict()':
  1013. /darknet/include/yolo_v2_class.hpp:990:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1014.          for (size_t i = 0; i < max_objects; ++i)
  1015.                             ~~^~~~~~~~~~~~~
  1016. /darknet/include/yolo_v2_class.hpp: In member function 'std::vector<bbox_t> track_kalman_t::correct(std::vector<bbox_t>)':
  1017. /darknet/include/yolo_v2_class.hpp:1025:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1018.          for (size_t i = 0; i < max_objects; ++i)
  1019.                             ~~^~~~~~~~~~~~~
  1020. /darknet/src/yolo_v2_class.cpp: In member function 'std::vector<bbox_t> Detector::tracking_id(std::vector<bbox_t>, bool, int, int)':
  1021. /darknet/src/yolo_v2_class.cpp:370:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1022.          if (prev_bbox_vec_deque.size() > frames_story) prev_bbox_vec_deque.pop_back();
  1023.              ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  1024. /darknet/src/yolo_v2_class.cpp:385:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1025.                      if (cur_dist < max_dist && (k.track_id == 0 || dist_vec[m] > cur_dist)) {
  1026.                          ~~~~~~~~~^~~~~~~~~~
  1027. /darknet/src/yolo_v2_class.cpp:409:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1028.          if (prev_bbox_vec_deque.size() > frames_story) prev_bbox_vec_deque.pop_back();
  1029.              ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  1030. [ 94%] Building CUDA object CMakeFiles/darknet.dir/src/network_kernels.cu.o
  1031. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -I/usr/local/cuda/targets/x86_64-linux/include -isystem=/usr/include/opencv  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g   -x cu -c /darknet/src/network_kernels.cu -o CMakeFiles/darknet.dir/src/network_kernels.cu.o
  1032. [ 95%] Building CUDA object CMakeFiles/dark.dir/src/maxpool_layer_kernels.cu.o
  1033. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/maxpool_layer_kernels.cu -o CMakeFiles/dark.dir/src/maxpool_layer_kernels.cu.o
  1034. [ 96%] Building CUDA object CMakeFiles/dark.dir/src/network_kernels.cu.o
  1035. /usr/local/cuda/bin/nvcc  -DCUDNN -DCUDNN_HALF -DGPU -DLIB_EXPORTS=1 -DOPENCV -DUSE_CMAKE_LIBS -Ddark_EXPORTS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem=/usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC   -x cu -dc /darknet/src/network_kernels.cu -o CMakeFiles/dark.dir/src/network_kernels.cu.o
  1036. /darknet/src/image_opencv.cpp: In function 'void draw_detections_cv_v3(void**, detection*, int, float, char**, image**, int, int)':
  1037. /darknet/src/image_opencv.cpp:909:23: warning: variable 'rgb' set but not used [-Wunused-but-set-variable]
  1038.                  float rgb[3];
  1039.                        ^~~
  1040. /darknet/src/http_stream.cpp: In member function 'bool MJPG_sender::write(const cv::Mat&)':
  1041. /darknet/src/http_stream.cpp:508:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1042.                  if (n < outlen)
  1043.                      ~~^~~~~~~~
  1044. /darknet/src/im2col_kernels.cu:125:18: warning: "/*" within comment [-Wcomment]
  1045.                  //*data_col_ptr = (h >= 0 && w >= 0 && h < height && w < width) ?
  1046.                    
  1047. /darknet/src/im2col_kernels.cu:1178:6: warning: "/*" within comment [-Wcomment]
  1048.      //*((uint64_t *)(A_s + (local_i*lda + k) / 8)) = *((uint64_t *)(A + (i_cur*lda + k) / 8));    // weights
  1049.        
  1050. /darknet/src/image_opencv.cpp: In function 'void draw_detections_cv_v3(void**, detection*, int, float, char**, image**, int, int)':
  1051. /darknet/src/image_opencv.cpp:909:23: warning: variable 'rgb' set but not used [-Wunused-but-set-variable]
  1052.                  float rgb[3];
  1053.                        ^~~
  1054. /darknet/src/http_stream.cpp: In member function 'bool MJPG_sender::write(const cv::Mat&)':
  1055. /darknet/src/http_stream.cpp:508:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1056.                  if (n < outlen)
  1057.                      ~~^~~~~~~~
  1058. /darknet/src/blas_kernels.cu: In function 'void backward_shortcut_multilayer_gpu(int, int, int, int*, float**, float*, float*, float*, float*, int, float*, float**, WEIGHTS_NORMALIZATION_T)':
  1059. /darknet/src/blas_kernels.cu:869:5: warning: variable 'step' set but not used [-Wunused-but-set-variable]
  1060.      int step = 0;
  1061.      ^~~~
  1062. /darknet/src/blas_kernels.cu: In function 'void backward_shortcut_multilayer_gpu(int, int, int, int*, float**, float*, float*, float*, float*, int, float*, float**, WEIGHTS_NORMALIZATION_T)':
  1063. /darknet/src/blas_kernels.cu:869:5: warning: variable 'step' set but not used [-Wunused-but-set-variable]
  1064.      int step = 0;
  1065.      ^~~~
  1066. /darknet/src/im2col_kernels.cu:125:18: warning: "/*" within comment [-Wcomment]
  1067.                  //*data_col_ptr = (h >= 0 && w >= 0 && h < height && w < width) ?
  1068.                    
  1069. /darknet/src/im2col_kernels.cu:1178:6: warning: "/*" within comment [-Wcomment]
  1070.      //*((uint64_t *)(A_s + (local_i*lda + k) / 8)) = *((uint64_t *)(A + (i_cur*lda + k) / 8));    // weights
  1071.        
  1072. [ 97%] Linking CUDA device code CMakeFiles/darknet.dir/cmake_device_link.o
  1073. /usr/bin/cmake -E cmake_link_script CMakeFiles/darknet.dir/dlink.txt --verbose=1
  1074. /usr/local/cuda/bin/nvcc  -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g  -Xcompiler=-fPIC -Wno-deprecated-gpu-targets -shared -dlink CMakeFiles/darknet.dir/src/darknet.c.o CMakeFiles/darknet.dir/src/activation_layer.c.o CMakeFiles/darknet.dir/src/activations.c.o CMakeFiles/darknet.dir/src/art.c.o CMakeFiles/darknet.dir/src/avgpool_layer.c.o CMakeFiles/darknet.dir/src/batchnorm_layer.c.o CMakeFiles/darknet.dir/src/blas.c.o CMakeFiles/darknet.dir/src/box.c.o CMakeFiles/darknet.dir/src/captcha.c.o CMakeFiles/darknet.dir/src/cifar.c.o CMakeFiles/darknet.dir/src/classifier.c.o CMakeFiles/darknet.dir/src/coco.c.o CMakeFiles/darknet.dir/src/col2im.c.o CMakeFiles/darknet.dir/src/compare.c.o CMakeFiles/darknet.dir/src/connected_layer.c.o CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o CMakeFiles/darknet.dir/src/convolutional_layer.c.o CMakeFiles/darknet.dir/src/cost_layer.c.o CMakeFiles/darknet.dir/src/cpu_gemm.c.o CMakeFiles/darknet.dir/src/crnn_layer.c.o CMakeFiles/darknet.dir/src/crop_layer.c.o CMakeFiles/darknet.dir/src/dark_cuda.c.o CMakeFiles/darknet.dir/src/data.c.o CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o CMakeFiles/darknet.dir/src/demo.c.o CMakeFiles/darknet.dir/src/detection_layer.c.o CMakeFiles/darknet.dir/src/detector.c.o CMakeFiles/darknet.dir/src/dice.c.o CMakeFiles/darknet.dir/src/dropout_layer.c.o CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o CMakeFiles/darknet.dir/src/gemm.c.o CMakeFiles/darknet.dir/src/go.c.o CMakeFiles/darknet.dir/src/gru_layer.c.o CMakeFiles/darknet.dir/src/im2col.c.o CMakeFiles/darknet.dir/src/image.c.o CMakeFiles/darknet.dir/src/layer.c.o CMakeFiles/darknet.dir/src/list.c.o CMakeFiles/darknet.dir/src/local_layer.c.o CMakeFiles/darknet.dir/src/lstm_layer.c.o CMakeFiles/darknet.dir/src/matrix.c.o CMakeFiles/darknet.dir/src/maxpool_layer.c.o CMakeFiles/darknet.dir/src/network.c.o CMakeFiles/darknet.dir/src/nightmare.c.o CMakeFiles/darknet.dir/src/normalization_layer.c.o CMakeFiles/darknet.dir/src/option_list.c.o CMakeFiles/darknet.dir/src/parser.c.o CMakeFiles/darknet.dir/src/region_layer.c.o CMakeFiles/darknet.dir/src/reorg_layer.c.o CMakeFiles/darknet.dir/src/reorg_old_layer.c.o CMakeFiles/darknet.dir/src/rnn.c.o CMakeFiles/darknet.dir/src/rnn_layer.c.o CMakeFiles/darknet.dir/src/rnn_vid.c.o CMakeFiles/darknet.dir/src/route_layer.c.o CMakeFiles/darknet.dir/src/sam_layer.c.o CMakeFiles/darknet.dir/src/scale_channels_layer.c.o CMakeFiles/darknet.dir/src/shortcut_layer.c.o CMakeFiles/darknet.dir/src/softmax_layer.c.o CMakeFiles/darknet.dir/src/super.c.o CMakeFiles/darknet.dir/src/swag.c.o CMakeFiles/darknet.dir/src/tag.c.o CMakeFiles/darknet.dir/src/tree.c.o CMakeFiles/darknet.dir/src/upsample_layer.c.o CMakeFiles/darknet.dir/src/utils.c.o CMakeFiles/darknet.dir/src/voxel.c.o CMakeFiles/darknet.dir/src/writing.c.o CMakeFiles/darknet.dir/src/yolo.c.o CMakeFiles/darknet.dir/src/yolo_layer.c.o CMakeFiles/darknet.dir/src/http_stream.cpp.o CMakeFiles/darknet.dir/src/image_opencv.cpp.o CMakeFiles/darknet.dir/src/activation_kernels.cu.o CMakeFiles/darknet.dir/src/avgpool_layer_kernels.cu.o CMakeFiles/darknet.dir/src/blas_kernels.cu.o CMakeFiles/darknet.dir/src/col2im_kernels.cu.o CMakeFiles/darknet.dir/src/convolutional_kernels.cu.o CMakeFiles/darknet.dir/src/crop_layer_kernels.cu.o CMakeFiles/darknet.dir/src/deconvolutional_kernels.cu.o CMakeFiles/darknet.dir/src/dropout_layer_kernels.cu.o CMakeFiles/darknet.dir/src/im2col_kernels.cu.o CMakeFiles/darknet.dir/src/maxpool_layer_kernels.cu.o CMakeFiles/darknet.dir/src/network_kernels.cu.o -o CMakeFiles/darknet.dir/cmake_device_link.o  -L/usr/local/cuda/targets/x86_64-linux/lib
  1075. [ 97%] Linking CUDA device code CMakeFiles/dark.dir/cmake_device_link.o
  1076. /usr/bin/cmake -E cmake_link_script CMakeFiles/dark.dir/dlink.txt --verbose=1
  1077. /usr/local/cuda/bin/nvcc   -gencode arch=compute_75,code=sm_75 --compiler-options " -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -DGPU -DCUDNN -DOPENCV -fPIC -fopenmp -Ofast "  -g -Xcompiler=-fPIC -Wno-deprecated-gpu-targets -shared -dlink CMakeFiles/dark.dir/src/yolo_v2_class.cpp.o CMakeFiles/dark.dir/src/activation_layer.c.o CMakeFiles/dark.dir/src/activations.c.o CMakeFiles/dark.dir/src/art.c.o CMakeFiles/dark.dir/src/avgpool_layer.c.o CMakeFiles/dark.dir/src/batchnorm_layer.c.o CMakeFiles/dark.dir/src/blas.c.o CMakeFiles/dark.dir/src/box.c.o CMakeFiles/dark.dir/src/captcha.c.o CMakeFiles/dark.dir/src/cifar.c.o CMakeFiles/dark.dir/src/classifier.c.o CMakeFiles/dark.dir/src/coco.c.o CMakeFiles/dark.dir/src/col2im.c.o CMakeFiles/dark.dir/src/compare.c.o CMakeFiles/dark.dir/src/connected_layer.c.o CMakeFiles/dark.dir/src/conv_lstm_layer.c.o CMakeFiles/dark.dir/src/convolutional_layer.c.o CMakeFiles/dark.dir/src/cost_layer.c.o CMakeFiles/dark.dir/src/cpu_gemm.c.o CMakeFiles/dark.dir/src/crnn_layer.c.o CMakeFiles/dark.dir/src/crop_layer.c.o CMakeFiles/dark.dir/src/dark_cuda.c.o CMakeFiles/dark.dir/src/data.c.o CMakeFiles/dark.dir/src/deconvolutional_layer.c.o CMakeFiles/dark.dir/src/demo.c.o CMakeFiles/dark.dir/src/detection_layer.c.o CMakeFiles/dark.dir/src/detector.c.o CMakeFiles/dark.dir/src/dice.c.o CMakeFiles/dark.dir/src/dropout_layer.c.o CMakeFiles/dark.dir/src/gaussian_yolo_layer.c.o CMakeFiles/dark.dir/src/gemm.c.o CMakeFiles/dark.dir/src/go.c.o CMakeFiles/dark.dir/src/gru_layer.c.o CMakeFiles/dark.dir/src/im2col.c.o CMakeFiles/dark.dir/src/image.c.o CMakeFiles/dark.dir/src/layer.c.o CMakeFiles/dark.dir/src/list.c.o CMakeFiles/dark.dir/src/local_layer.c.o CMakeFiles/dark.dir/src/lstm_layer.c.o CMakeFiles/dark.dir/src/matrix.c.o CMakeFiles/dark.dir/src/maxpool_layer.c.o CMakeFiles/dark.dir/src/network.c.o CMakeFiles/dark.dir/src/nightmare.c.o CMakeFiles/dark.dir/src/normalization_layer.c.o CMakeFiles/dark.dir/src/option_list.c.o CMakeFiles/dark.dir/src/parser.c.o CMakeFiles/dark.dir/src/region_layer.c.o CMakeFiles/dark.dir/src/reorg_layer.c.o CMakeFiles/dark.dir/src/reorg_old_layer.c.o CMakeFiles/dark.dir/src/rnn.c.o CMakeFiles/dark.dir/src/rnn_layer.c.o CMakeFiles/dark.dir/src/rnn_vid.c.o CMakeFiles/dark.dir/src/route_layer.c.o CMakeFiles/dark.dir/src/sam_layer.c.o CMakeFiles/dark.dir/src/scale_channels_layer.c.o CMakeFiles/dark.dir/src/shortcut_layer.c.o CMakeFiles/dark.dir/src/softmax_layer.c.o CMakeFiles/dark.dir/src/super.c.o CMakeFiles/dark.dir/src/swag.c.o CMakeFiles/dark.dir/src/tag.c.o CMakeFiles/dark.dir/src/tree.c.o CMakeFiles/dark.dir/src/upsample_layer.c.o CMakeFiles/dark.dir/src/utils.c.o CMakeFiles/dark.dir/src/voxel.c.o CMakeFiles/dark.dir/src/writing.c.o CMakeFiles/dark.dir/src/yolo.c.o CMakeFiles/dark.dir/src/yolo_layer.c.o CMakeFiles/dark.dir/src/http_stream.cpp.o CMakeFiles/dark.dir/src/image_opencv.cpp.o CMakeFiles/dark.dir/src/activation_kernels.cu.o CMakeFiles/dark.dir/src/avgpool_layer_kernels.cu.o CMakeFiles/dark.dir/src/blas_kernels.cu.o CMakeFiles/dark.dir/src/col2im_kernels.cu.o CMakeFiles/dark.dir/src/convolutional_kernels.cu.o CMakeFiles/dark.dir/src/crop_layer_kernels.cu.o CMakeFiles/dark.dir/src/deconvolutional_kernels.cu.o CMakeFiles/dark.dir/src/dropout_layer_kernels.cu.o CMakeFiles/dark.dir/src/im2col_kernels.cu.o CMakeFiles/dark.dir/src/maxpool_layer_kernels.cu.o CMakeFiles/dark.dir/src/network_kernels.cu.o -o CMakeFiles/dark.dir/cmake_device_link.o  -L/usr/local/cuda/targets/x86_64-linux/lib
  1078. [ 97%] Linking CXX executable darknet
  1079. /usr/bin/cmake -E cmake_link_script CMakeFiles/darknet.dir/link.txt --verbose=1
  1080. /usr/bin/c++  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   CMakeFiles/darknet.dir/src/darknet.c.o CMakeFiles/darknet.dir/src/activation_layer.c.o CMakeFiles/darknet.dir/src/activations.c.o CMakeFiles/darknet.dir/src/art.c.o CMakeFiles/darknet.dir/src/avgpool_layer.c.o CMakeFiles/darknet.dir/src/batchnorm_layer.c.o CMakeFiles/darknet.dir/src/blas.c.o CMakeFiles/darknet.dir/src/box.c.o CMakeFiles/darknet.dir/src/captcha.c.o CMakeFiles/darknet.dir/src/cifar.c.o CMakeFiles/darknet.dir/src/classifier.c.o CMakeFiles/darknet.dir/src/coco.c.o CMakeFiles/darknet.dir/src/col2im.c.o CMakeFiles/darknet.dir/src/compare.c.o CMakeFiles/darknet.dir/src/connected_layer.c.o CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o CMakeFiles/darknet.dir/src/convolutional_layer.c.o CMakeFiles/darknet.dir/src/cost_layer.c.o CMakeFiles/darknet.dir/src/cpu_gemm.c.o CMakeFiles/darknet.dir/src/crnn_layer.c.o CMakeFiles/darknet.dir/src/crop_layer.c.o CMakeFiles/darknet.dir/src/dark_cuda.c.o CMakeFiles/darknet.dir/src/data.c.o CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o CMakeFiles/darknet.dir/src/demo.c.o CMakeFiles/darknet.dir/src/detection_layer.c.o CMakeFiles/darknet.dir/src/detector.c.o CMakeFiles/darknet.dir/src/dice.c.o CMakeFiles/darknet.dir/src/dropout_layer.c.o CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o CMakeFiles/darknet.dir/src/gemm.c.o CMakeFiles/darknet.dir/src/go.c.o CMakeFiles/darknet.dir/src/gru_layer.c.o CMakeFiles/darknet.dir/src/im2col.c.o CMakeFiles/darknet.dir/src/image.c.o CMakeFiles/darknet.dir/src/layer.c.o CMakeFiles/darknet.dir/src/list.c.o CMakeFiles/darknet.dir/src/local_layer.c.o CMakeFiles/darknet.dir/src/lstm_layer.c.o CMakeFiles/darknet.dir/src/matrix.c.o CMakeFiles/darknet.dir/src/maxpool_layer.c.o CMakeFiles/darknet.dir/src/network.c.o CMakeFiles/darknet.dir/src/nightmare.c.o CMakeFiles/darknet.dir/src/normalization_layer.c.o CMakeFiles/darknet.dir/src/option_list.c.o CMakeFiles/darknet.dir/src/parser.c.o CMakeFiles/darknet.dir/src/region_layer.c.o CMakeFiles/darknet.dir/src/reorg_layer.c.o CMakeFiles/darknet.dir/src/reorg_old_layer.c.o CMakeFiles/darknet.dir/src/rnn.c.o CMakeFiles/darknet.dir/src/rnn_layer.c.o CMakeFiles/darknet.dir/src/rnn_vid.c.o CMakeFiles/darknet.dir/src/route_layer.c.o CMakeFiles/darknet.dir/src/sam_layer.c.o CMakeFiles/darknet.dir/src/scale_channels_layer.c.o CMakeFiles/darknet.dir/src/shortcut_layer.c.o CMakeFiles/darknet.dir/src/softmax_layer.c.o CMakeFiles/darknet.dir/src/super.c.o CMakeFiles/darknet.dir/src/swag.c.o CMakeFiles/darknet.dir/src/tag.c.o CMakeFiles/darknet.dir/src/tree.c.o CMakeFiles/darknet.dir/src/upsample_layer.c.o CMakeFiles/darknet.dir/src/utils.c.o CMakeFiles/darknet.dir/src/voxel.c.o CMakeFiles/darknet.dir/src/writing.c.o CMakeFiles/darknet.dir/src/yolo.c.o CMakeFiles/darknet.dir/src/yolo_layer.c.o CMakeFiles/darknet.dir/src/http_stream.cpp.o CMakeFiles/darknet.dir/src/image_opencv.cpp.o CMakeFiles/darknet.dir/src/activation_kernels.cu.o CMakeFiles/darknet.dir/src/avgpool_layer_kernels.cu.o CMakeFiles/darknet.dir/src/blas_kernels.cu.o CMakeFiles/darknet.dir/src/col2im_kernels.cu.o CMakeFiles/darknet.dir/src/convolutional_kernels.cu.o CMakeFiles/darknet.dir/src/crop_layer_kernels.cu.o CMakeFiles/darknet.dir/src/deconvolutional_kernels.cu.o CMakeFiles/darknet.dir/src/dropout_layer_kernels.cu.o CMakeFiles/darknet.dir/src/im2col_kernels.cu.o CMakeFiles/darknet.dir/src/maxpool_layer_kernels.cu.o CMakeFiles/darknet.dir/src/network_kernels.cu.o CMakeFiles/darknet.dir/cmake_device_link.o  -o darknet  -L/usr/local/cuda/targets/x86_64-linux/lib /usr/lib/x86_64-linux-gnu/libcudnn.so /usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stitching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_superres.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videostab.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_aruco.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bgsegm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bioinspired.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ccalib.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_datasets.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_dpm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_face.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_freetype.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_fuzzy.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_hdf.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_line_descriptor.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_optflow.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_plot.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_reg.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_saliency.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stereo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_structured_light.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_surface_matching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_text.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ximgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xobjdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xphoto.so.3.2.0 -lm -lcurand -lcublas -lcuda /usr/lib/x86_64-linux-gnu/libopencv_video.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_viz.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_phase_unwrapping.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_rgbd.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_features2d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_flann.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_objdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ml.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_photo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videoio.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2.0 -lpthread -lcudadevrt -lcudart_static -lrt -lpthread -ldl
  1081. [ 98%] Linking CXX shared library libdarkd.so
  1082. /usr/bin/cmake -E cmake_link_script CMakeFiles/dark.dir/link.txt --verbose=1
  1083. /usr/bin/c++ -fPIC -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g  -shared -Wl,-soname,libdarkd.so -o libdarkd.so CMakeFiles/dark.dir/src/yolo_v2_class.cpp.o CMakeFiles/dark.dir/src/activation_layer.c.o CMakeFiles/dark.dir/src/activations.c.o CMakeFiles/dark.dir/src/art.c.o CMakeFiles/dark.dir/src/avgpool_layer.c.o CMakeFiles/dark.dir/src/batchnorm_layer.c.o CMakeFiles/dark.dir/src/blas.c.o CMakeFiles/dark.dir/src/box.c.o CMakeFiles/dark.dir/src/captcha.c.o CMakeFiles/dark.dir/src/cifar.c.o CMakeFiles/dark.dir/src/classifier.c.o CMakeFiles/dark.dir/src/coco.c.o CMakeFiles/dark.dir/src/col2im.c.o CMakeFiles/dark.dir/src/compare.c.o CMakeFiles/dark.dir/src/connected_layer.c.o CMakeFiles/dark.dir/src/conv_lstm_layer.c.o CMakeFiles/dark.dir/src/convolutional_layer.c.o CMakeFiles/dark.dir/src/cost_layer.c.o CMakeFiles/dark.dir/src/cpu_gemm.c.o CMakeFiles/dark.dir/src/crnn_layer.c.o CMakeFiles/dark.dir/src/crop_layer.c.o CMakeFiles/dark.dir/src/dark_cuda.c.o CMakeFiles/dark.dir/src/data.c.o CMakeFiles/dark.dir/src/deconvolutional_layer.c.o CMakeFiles/dark.dir/src/demo.c.o CMakeFiles/dark.dir/src/detection_layer.c.o CMakeFiles/dark.dir/src/detector.c.o CMakeFiles/dark.dir/src/dice.c.o CMakeFiles/dark.dir/src/dropout_layer.c.o CMakeFiles/dark.dir/src/gaussian_yolo_layer.c.o CMakeFiles/dark.dir/src/gemm.c.o CMakeFiles/dark.dir/src/go.c.o CMakeFiles/dark.dir/src/gru_layer.c.o CMakeFiles/dark.dir/src/im2col.c.o CMakeFiles/dark.dir/src/image.c.o CMakeFiles/dark.dir/src/layer.c.o CMakeFiles/dark.dir/src/list.c.o CMakeFiles/dark.dir/src/local_layer.c.o CMakeFiles/dark.dir/src/lstm_layer.c.o CMakeFiles/dark.dir/src/matrix.c.o CMakeFiles/dark.dir/src/maxpool_layer.c.o CMakeFiles/dark.dir/src/network.c.o CMakeFiles/dark.dir/src/nightmare.c.o CMakeFiles/dark.dir/src/normalization_layer.c.o CMakeFiles/dark.dir/src/option_list.c.o CMakeFiles/dark.dir/src/parser.c.o CMakeFiles/dark.dir/src/region_layer.c.o CMakeFiles/dark.dir/src/reorg_layer.c.o CMakeFiles/dark.dir/src/reorg_old_layer.c.o CMakeFiles/dark.dir/src/rnn.c.o CMakeFiles/dark.dir/src/rnn_layer.c.o CMakeFiles/dark.dir/src/rnn_vid.c.o CMakeFiles/dark.dir/src/route_layer.c.o CMakeFiles/dark.dir/src/sam_layer.c.o CMakeFiles/dark.dir/src/scale_channels_layer.c.o CMakeFiles/dark.dir/src/shortcut_layer.c.o CMakeFiles/dark.dir/src/softmax_layer.c.o CMakeFiles/dark.dir/src/super.c.o CMakeFiles/dark.dir/src/swag.c.o CMakeFiles/dark.dir/src/tag.c.o CMakeFiles/dark.dir/src/tree.c.o CMakeFiles/dark.dir/src/upsample_layer.c.o CMakeFiles/dark.dir/src/utils.c.o CMakeFiles/dark.dir/src/voxel.c.o CMakeFiles/dark.dir/src/writing.c.o CMakeFiles/dark.dir/src/yolo.c.o CMakeFiles/dark.dir/src/yolo_layer.c.o CMakeFiles/dark.dir/src/http_stream.cpp.o CMakeFiles/dark.dir/src/image_opencv.cpp.o CMakeFiles/dark.dir/src/activation_kernels.cu.o CMakeFiles/dark.dir/src/avgpool_layer_kernels.cu.o CMakeFiles/dark.dir/src/blas_kernels.cu.o CMakeFiles/dark.dir/src/col2im_kernels.cu.o CMakeFiles/dark.dir/src/convolutional_kernels.cu.o CMakeFiles/dark.dir/src/crop_layer_kernels.cu.o CMakeFiles/dark.dir/src/deconvolutional_kernels.cu.o CMakeFiles/dark.dir/src/dropout_layer_kernels.cu.o CMakeFiles/dark.dir/src/im2col_kernels.cu.o CMakeFiles/dark.dir/src/maxpool_layer_kernels.cu.o CMakeFiles/dark.dir/src/network_kernels.cu.o CMakeFiles/dark.dir/cmake_device_link.o  -L/usr/local/cuda/targets/x86_64-linux/lib /usr/lib/x86_64-linux-gnu/libcudnn.so /usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stitching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_superres.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videostab.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_aruco.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bgsegm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bioinspired.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ccalib.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_datasets.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_dpm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_face.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_freetype.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_fuzzy.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_hdf.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_line_descriptor.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_optflow.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_plot.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_reg.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_saliency.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stereo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_structured_light.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_surface_matching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_text.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ximgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xobjdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xphoto.so.3.2.0 -lm -lcurand -lcublas -lcuda /usr/lib/x86_64-linux-gnu/libopencv_video.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_viz.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_phase_unwrapping.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_rgbd.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_features2d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_flann.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_objdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ml.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_photo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videoio.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2.0 -lpthread -lcudadevrt -lcudart_static -lrt -lpthread -ldl
  1084. make[2]: Leaving directory '/darknet'
  1085. [ 98%] Built target dark
  1086. make -f CMakeFiles/uselib.dir/build.make CMakeFiles/uselib.dir/depend
  1087. make[2]: Entering directory '/darknet'
  1088. cd /darknet && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /darknet /darknet /darknet /darknet /darknet/CMakeFiles/uselib.dir/DependInfo.cmake --color=
  1089. Dependee "/darknet/CMakeFiles/uselib.dir/DependInfo.cmake" is newer than depender "/darknet/CMakeFiles/uselib.dir/depend.internal".
  1090. Dependee "/darknet/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/darknet/CMakeFiles/uselib.dir/depend.internal".
  1091. Scanning dependencies of target uselib
  1092. make[2]: Leaving directory '/darknet'
  1093. make -f CMakeFiles/uselib.dir/build.make CMakeFiles/uselib.dir/build
  1094. make[2]: Entering directory '/darknet'
  1095. [ 99%] Building CXX object CMakeFiles/uselib.dir/src/yolo_console_dll.cpp.o
  1096. /usr/bin/c++  -DCUDNN -DCUDNN_HALF -DGPU -DOPENCV -DUSE_CMAKE_LIBS -I/darknet/include -I/darknet/src -I/darknet/3rdparty/stb/include -isystem /usr/include/opencv -I/usr/local/cuda/targets/x86_64-linux/include  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   -std=gnu++11 -o CMakeFiles/uselib.dir/src/yolo_console_dll.cpp.o -c /darknet/src/yolo_console_dll.cpp
  1097. make[2]: Leaving directory '/darknet'
  1098. [ 99%] Built target darknet
  1099. In file included from /darknet/src/yolo_console_dll.cpp:23:0:
  1100. /darknet/include/yolo_v2_class.hpp: In constructor 'track_kalman_t::track_kalman_t(int, int, float, cv::Size)':
  1101. /darknet/include/yolo_v2_class.hpp:708:14: warning: 'track_kalman_t::img_size' will be initialized after [-Wreorder]
  1102.      cv::Size img_size;  // max value of x,y,w,h
  1103.               ^~~~~~~~
  1104. /darknet/include/yolo_v2_class.hpp:700:9: warning:   'int track_kalman_t::track_id_counter' [-Wreorder]
  1105.      int track_id_counter;
  1106.          ^~~~~~~~~~~~~~~~
  1107. /darknet/include/yolo_v2_class.hpp:853:5: warning:   when initialized here [-Wreorder]
  1108.      track_kalman_t(int _max_objects = 1000, int _min_frames = 3, float _max_dist = 40, cv::Size _img_size = cv::Size(10000, 10000)) :
  1109.      ^~~~~~~~~~~~~~
  1110. /darknet/include/yolo_v2_class.hpp: In member function 'void track_kalman_t::clear_old_states()':
  1111. /darknet/include/yolo_v2_class.hpp:879:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1112.                  if ((result_vec_pred[state_id].x > img_size.width) ||
  1113. /darknet/include/yolo_v2_class.hpp:880:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1114.                      (result_vec_pred[state_id].y > img_size.height))
  1115. /darknet/include/yolo_v2_class.hpp: In member function 'track_kalman_t::tst_t track_kalman_t::get_state_id(bbox_t, std::vector<bool>&)':
  1116. /darknet/include/yolo_v2_class.hpp:900:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1117.          for (size_t i = 0; i < max_objects; ++i)
  1118.                             ~~^~~~~~~~~~~~~
  1119. /darknet/include/yolo_v2_class.hpp: In member function 'std::vector<bbox_t> track_kalman_t::predict()':
  1120. /darknet/include/yolo_v2_class.hpp:990:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1121.          for (size_t i = 0; i < max_objects; ++i)
  1122.                             ~~^~~~~~~~~~~~~
  1123. /darknet/include/yolo_v2_class.hpp: In member function 'std::vector<bbox_t> track_kalman_t::correct(std::vector<bbox_t>)':
  1124. /darknet/include/yolo_v2_class.hpp:1025:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1125.          for (size_t i = 0; i < max_objects; ++i)
  1126.                             ~~^~~~~~~~~~~~~
  1127. /darknet/src/yolo_console_dll.cpp: In function 'void draw_boxes(cv::Mat, std::vector<bbox_t>, std::vector<std::__cxx11::basic_string<char> >, int, int)':
  1128. /darknet/src/yolo_console_dll.cpp:190:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1129.              int max_width = (text_size.width > i.w + 2) ? text_size.width : (i.w + 2);
  1130.                               ~~~~~~~~~~~~~~~~^~~~~~~~~
  1131. /darknet/src/yolo_console_dll.cpp:199:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1132.                  int const max_width_3d = (text_size_3d.width > i.w + 2) ? text_size_3d.width : (i.w + 2);
  1133.                                            ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
  1134. /darknet/src/yolo_console_dll.cpp:181:15: warning: unused variable 'colors' [-Wunused-variable]
  1135.      int const colors[6][3] = { { 1,0,1 },{ 0,0,1 },{ 0,1,1 },{ 0,1,0 },{ 1,1,0 },{ 1,0,0 } };
  1136.                ^~~~~~
  1137. /darknet/src/yolo_console_dll.cpp: In constructor 'main(int, char**)::detection_data_t::detection_data_t()':
  1138. /darknet/src/yolo_console_dll.cpp:388:26: warning: 'main(int, char**)::detection_data_t::exit_flag' will be initialized after [-Wreorder]
  1139.                      bool exit_flag;
  1140.                           ^~~~~~~~~
  1141. /darknet/src/yolo_console_dll.cpp:386:26: warning:   'bool main(int, char**)::detection_data_t::new_detection' [-Wreorder]
  1142.                      bool new_detection;
  1143.                           ^~~~~~~~~~~~~
  1144. /darknet/src/yolo_console_dll.cpp:391:21: warning:   when initialized here [-Wreorder]
  1145.                      detection_data_t() : exit_flag(false), new_detection(false) {}
  1146.                      ^~~~~~~~~~~~~~~~
  1147. [100%] Linking CXX executable uselib
  1148. /usr/bin/cmake -E cmake_link_script CMakeFiles/uselib.dir/link.txt --verbose=1
  1149. /usr/bin/c++  -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings  -g   CMakeFiles/uselib.dir/src/yolo_console_dll.cpp.o  -o uselib -Wl,-rpath,/darknet: libdarkd.so /usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stitching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_superres.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videostab.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_aruco.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bgsegm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_bioinspired.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ccalib.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_datasets.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_dpm.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_face.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_freetype.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_fuzzy.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_hdf.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_line_descriptor.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_optflow.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_video.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_plot.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_reg.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_saliency.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_stereo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_structured_light.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_viz.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_phase_unwrapping.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_rgbd.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_surface_matching.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_text.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ximgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_features2d.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_flann.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xobjdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_objdetect.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_ml.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_xphoto.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_photo.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_videoio.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2.0 -lpthread -lm
  1150. make[2]: Leaving directory '/darknet'
  1151. [100%] Built target uselib
  1152. make[1]: Leaving directory '/darknet'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top