Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion about unit testing as shown in README file #402

Open
PhilipAmadasun opened this issue Jan 2, 2023 · 1 comment
Open

Confusion about unit testing as shown in README file #402

PhilipAmadasun opened this issue Jan 2, 2023 · 1 comment
Labels

Comments

@PhilipAmadasun
Copy link

I don't know if I built the packages correctly.
When I use command : catkin build darknet_ros --no-deps --verbose --catkin-make-args run_tests
I'm supposed to get some sort of image correct?
I don't get an image but the terminal informs that the package was built successfully.

Steps to reproduce the behavior:

  1. git clone --recursive https://github.com/kunaltyagi/darknet_ros
  2. catkin build darknet_ros -DCMAKE_BUILD_TYPE=Release
  3. edit CMakeLists,txt find _package(OpenCV 3.2.0 REQUIRED COMPONENTS core highgui imgproc imgcodecs)
  4. catkin build darknet_ros --no-deps --verbose --catkin-make-args run_tests

Expected behavior
I expect an image pop up as described in the README.md file

Screenshots

---------------------------------------------------------------------------
Profile:                     default
Extending:          [cached] /home/philip/coverage_ws/devel:/opt/ros/melodic
Workspace:                   /home/philip/obj_ws
----------------------------------------------------------------------------
Build Space:        [exists] /home/philip/obj_ws/build
Devel Space:        [exists] /home/philip/obj_ws/devel
Install Space:      [unused] /home/philip/obj_ws/install
Log Space:          [exists] /home/philip/obj_ws/logs
Source Space:       [exists] /home/philip/obj_ws/src
DESTDIR:            [unused] None
----------------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
----------------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: run_tests
Internal Make Job Server:    True
Cache Job Environments:      False
----------------------------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
----------------------------------------------------------------------------
Workspace configuration appears valid.
----------------------------------------------------------------------------
[build] Found '2' packages in 0.0 seconds.                                     
[build] Package table is up to date.                                           
Starting  >>> darknet_ros                                                      
Starting   >> darknet_ros:loadenv                                              
Output     << darknet_ros:loadenv /home/philip/obj_ws/logs/darknet_ros/build.loadenv.007.log
Loading environment from: /home/philip/obj_ws/devel/env.sh
                    
Finished   << darknet_ros:loadenv                                              
Starting   >> darknet_ros:mkdir                                                
Starting   >> darknet_ros:mkdir                                                
Starting   >> darknet_ros:cache-manifest                                       
Starting   >> darknet_ros:check                                                
Subprocess  > darknet_ros:check `cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make cmake_check_build_system; cd -`
_______________________________________________________________________________
Warnings   << darknet_ros:check /home/philip/obj_ws/logs/darknet_ros/build.check.003.log
/home/philip/cmake-3.23/bin/cmake -S/home/philip/obj_ws/src/darknet_ros/darknet_ros -B/home/philip/obj_ws/build/darknet_ros --check-build-system CMakeFiles/Makefile.cmake 0
Re-run cmake file: Makefile older than: /home/philip/obj_ws/src/darknet_ros/darknet_ros/CMakeLists.txt
-- Darknet path dir = /home/philip/obj_ws/src/darknet_ros/darknet
-- Searching for X11...
--  X11_INCLUDE_DIR: /usr/include
--  X11_LIBRARIES: /usr/lib/x86_64-linux-gnu/libSM.so/usr/lib/x86_64-linux-gnu/libICE.so/usr/lib/x86_64-linux-gnu/libX11.so/usr/lib/x86_64-linux-gnu/libXext.so
-- Found OpenCV: /usr (found suitable version "3.2.0", minimum required is "3.2.0") found components: core highgui imgproc imgcodecs
-- Using CATKIN_DEVEL_PREFIX: /home/philip/obj_ws/devel/.private/darknet_ros
-- Using CMAKE_PREFIX_PATH: /home/philip/obj_ws/devel;/home/philip/coverage_ws/devel;/opt/ros/melodic
-- This workspace overlays: /home/philip/obj_ws/devel;/home/philip/coverage_ws/devel;/opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/philip/obj_ws/build/darknet_ros/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:41 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:48 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17")
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.29
-- BUILD_SHARED_LIBS is on
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Checking and downloading yolov2-tiny.weights if needed ...
-- Checking and downloading yolov3.weights if needed ...
-- Checking and downloading yolov2.weights if needed ...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/philip/obj_ws/build/darknet_ros
cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make cmake_check_build_system; cd -

...............................................................................
Finished   << darknet_ros:check                                                
Starting   >> darknet_ros:make                                                 
Subprocess  > darknet_ros:make `cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make run_tests --jobserver-fds=3,4 -j; cd -`
_______________________________________________________________________________
Warnings   << darknet_ros:make /home/philip/obj_ws/logs/darknet_ros/build.make.006.log
/home/philip/cmake-3.23/bin/cmake -S/home/philip/obj_ws/src/darknet_ros/darknet_ros -B/home/philip/obj_ws/build/darknet_ros --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/make  -f CMakeFiles/Makefile2 run_tests
make[1]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
/home/philip/cmake-3.23/bin/cmake -S/home/philip/obj_ws/src/darknet_ros/darknet_ros -B/home/philip/obj_ws/build/darknet_ros --check-build-system CMakeFiles/Makefile.cmake 0
/home/philip/cmake-3.23/bin/cmake -E cmake_progress_start /home/philip/obj_ws/build/darknet_ros/CMakeFiles 5
/usr/bin/make  -f CMakeFiles/Makefile2 CMakeFiles/run_tests.dir/all
make[2]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/clean_test_results_darknet_ros.dir/build.make CMakeFiles/clean_test_results_darknet_ros.dir/depend
/usr/bin/make  -f gtest/googlemock/gtest/CMakeFiles/gtest.dir/build.make gtest/googlemock/gtest/CMakeFiles/gtest.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/clean_test_results_darknet_ros.dir/DependInfo.cmake --color=
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /usr/src/googletest/googletest /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest /home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake --color=
Dependencies file "gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o.d" is newer than depends file "/home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest/CMakeFiles/gtest.dir/compiler_depend.internal".
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
Consolidate compiler generated dependencies of target gtest
/usr/bin/make  -f CMakeFiles/clean_test_results_darknet_ros.dir/build.make CMakeFiles/clean_test_results_darknet_ros.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/python2 /opt/ros/melodic/share/catkin/cmake/test/remove_test_results.py /home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f gtest/googlemock/gtest/CMakeFiles/gtest.dir/build.make gtest/googlemock/gtest/CMakeFiles/gtest.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
[ 20%] Building CXX object gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
cd /home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest && /usr/bin/c++ -DDARKNET_FILE_PATH=\"/home/philip/obj_ws/src/darknet_ros/darknet\" -DGTEST_CREATE_SHARED_LIBRARY=1 -Dgtest_EXPORTS -I/usr/include/opencv -I/usr/src/googletest/googletest/include -I/usr/src/googletest/googletest -std=c++11 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wno-unused-variable -fPIC -fpermissive  -O3 -DNDEBUG -fPIC -std=c++11 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wno-unused-variable -fPIC -fpermissive  -Wall -Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF CMakeFiles/gtest.dir/src/gtest-all.cc.o.d -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /usr/src/googletest/googletest/src/gtest-all.cc
Removing test result files from '/home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros'
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[ 20%] Built target clean_test_results_darknet_ros
[ 40%] Linking CXX shared library libgtest.so
cd /home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest && /home/philip/cmake-3.23/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -std=c++11 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wno-unused-variable -fPIC -fpermissive  -O3 -DNDEBUG -shared -Wl,-soname,libgtest.so -o libgtest.so "CMakeFiles/gtest.dir/src/gtest-all.cc.o"   -L/home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest/src  -Wl,-rpath,/home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest/src -lSM -lICE -lX11 -lXext -lpthread 
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[ 40%] Built target gtest
/usr/bin/make  -f CMakeFiles/darknet_ros_object_detection-test.dir/build.make CMakeFiles/darknet_ros_object_detection-test.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/darknet_ros_object_detection-test.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/darknet_ros_object_detection-test.dir/test/test_main.cpp.o.d" is newer than depends file "/home/philip/obj_ws/build/darknet_ros/CMakeFiles/darknet_ros_object_detection-test.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target darknet_ros_object_detection-test
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/darknet_ros_object_detection-test.dir/build.make CMakeFiles/darknet_ros_object_detection-test.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
[ 80%] Building CXX object CMakeFiles/darknet_ros_object_detection-test.dir/test/test_main.cpp.o
[ 80%] Building CXX object CMakeFiles/darknet_ros_object_detection-test.dir/test/ObjectDetection.cpp.o
/usr/bin/c++ -DDARKNET_FILE_PATH=\"/home/philip/obj_ws/src/darknet_ros/darknet\" -DOPENCV -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"darknet_ros\" -I/usr/include/opencv -I/home/philip/obj_ws/src/darknet_ros/darknet/src -I/home/philip/obj_ws/src/darknet_ros/darknet/include -I/home/philip/obj_ws/src/darknet_ros/darknet_ros/include -I/home/philip/obj_ws/devel/.private/darknet_ros_msgs/include -I/opt/ros/melodic/include -I/opt/ros/melodic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -I/usr/src/googletest/googletest/include -std=c++11 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wno-unused-variable -fPIC -fpermissive  -O3 -DNDEBUG   -O4 -g -MD -MT CMakeFiles/darknet_ros_object_detection-test.dir/test/test_main.cpp.o -MF CMakeFiles/darknet_ros_object_detection-test.dir/test/test_main.cpp.o.d -o CMakeFiles/darknet_ros_object_detection-test.dir/test/test_main.cpp.o -c /home/philip/obj_ws/src/darknet_ros/darknet_ros/test/test_main.cpp
/usr/bin/c++ -DDARKNET_FILE_PATH=\"/home/philip/obj_ws/src/darknet_ros/darknet\" -DOPENCV -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"darknet_ros\" -I/usr/include/opencv -I/home/philip/obj_ws/src/darknet_ros/darknet/src -I/home/philip/obj_ws/src/darknet_ros/darknet/include -I/home/philip/obj_ws/src/darknet_ros/darknet_ros/include -I/home/philip/obj_ws/devel/.private/darknet_ros_msgs/include -I/opt/ros/melodic/include -I/opt/ros/melodic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -I/usr/src/googletest/googletest/include -std=c++11 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wno-unused-variable -fPIC -fpermissive  -O3 -DNDEBUG   -O4 -g -MD -MT CMakeFiles/darknet_ros_object_detection-test.dir/test/ObjectDetection.cpp.o -MF CMakeFiles/darknet_ros_object_detection-test.dir/test/ObjectDetection.cpp.o.d -o CMakeFiles/darknet_ros_object_detection-test.dir/test/ObjectDetection.cpp.o -c /home/philip/obj_ws/src/darknet_ros/darknet_ros/test/ObjectDetection.cpp
[100%] Linking CXX executable /home/philip/obj_ws/devel/.private/darknet_ros/lib/darknet_ros/darknet_ros_object_detection-test
/home/philip/cmake-3.23/bin/cmake -E cmake_link_script CMakeFiles/darknet_ros_object_detection-test.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wno-unused-variable -fPIC -fpermissive  -O3 -DNDEBUG -rdynamic "CMakeFiles/darknet_ros_object_detection-test.dir/test/test_main.cpp.o" "CMakeFiles/darknet_ros_object_detection-test.dir/test/ObjectDetection.cpp.o" -o /home/philip/obj_ws/devel/.private/darknet_ros/lib/darknet_ros/darknet_ros_object_detection-test  -Wl,-rpath,/home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest:/opt/ros/melodic/lib -lSM -lICE -lX11 -lXext gtest/googlemock/gtest/libgtest.so /opt/ros/melodic/lib/libcv_bridge.so /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2.0 /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2.0 /opt/ros/melodic/lib/libactionlib.so /opt/ros/melodic/lib/libimage_transport.so /opt/ros/melodic/lib/libmessage_filters.so /opt/ros/melodic/lib/libclass_loader.so -lPocoFoundation -ldl /opt/ros/melodic/lib/libroscpp.so /opt/ros/melodic/lib/librosconsole.so /opt/ros/melodic/lib/librosconsole_log4cxx.so /opt/ros/melodic/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex /opt/ros/melodic/lib/libxmlrpcpp.so /opt/ros/melodic/lib/libroslib.so /opt/ros/melodic/lib/librospack.so -lpython2.7 -lboost_filesystem -lboost_program_options -ltinyxml2 /opt/ros/melodic/lib/libroscpp_serialization.so /opt/ros/melodic/lib/librostime.so /opt/ros/melodic/lib/libcpp_common.so -lboost_system -lboost_thread -lboost_chrono -lboost_date_time -lboost_atomic -lpthread /usr/lib/x86_64-linux-gnu/libconsole_bridge.so.0.4 -lSM -lICE -lX11 -lXext -lpthread 
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target darknet_ros_object_detection-test
/usr/bin/make  -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/tests.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/tests.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target tests
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
catkin_generated/env_cached.sh /usr/bin/python2 /opt/ros/melodic/share/catkin/cmake/test/run_tests.py /home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rostest-test_object_detection.xml "/usr/bin/python2 /opt/ros/melodic/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/philip/obj_ws/src/darknet_ros/darknet_ros --package=darknet_ros --results-filename test_object_detection.xml --results-base-dir \"/home/philip/obj_ws/build/darknet_ros/test_results\" /home/philip/obj_ws/src/darknet_ros/darknet_ros/test/object_detection.test "
-- run_tests.py: execute commands
  /usr/bin/python2 /opt/ros/melodic/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/philip/obj_ws/src/darknet_ros/darknet_ros --package=darknet_ros --results-filename test_object_detection.xml --results-base-dir "/home/philip/obj_ws/build/darknet_ros/test_results" /home/philip/obj_ws/src/darknet_ros/darknet_ros/test/object_detection.test 
... logging to /home/philip/.ros/log/rostest-philip-Blade-32424.log
[ROSUNIT] Outputting test results to /home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rostest-test_object_detection.xml
[ INFO] [1672690999.876270492]: [YoloObjectDetector] Node started.
[ INFO] [1672690999.886756222]: [YoloObjectDetector] Xserver is running.
[ INFO] [1672690999.889523058]: [YoloObjectDetector] init().
YOLO V3
layer     filters    size              input                output
    0 conv     32  3 x 3 / 1   416 x 416 x   3   ->   416 x 416 x  32  0.299 BFLOPs
    1 max          2 x 2 / 2   416 x 416 x  32   ->   208 x 208 x  32
    2 conv     64  3 x 3 / 1   208 x 208 x  32   ->   208 x 208 x  64  1.595 BFLOPs
    3 max          2 x 2 / 2   208 x 208 x  64   ->   104 x 104 x  64
    4 conv    128  3 x 3 / 1   104 x 104 x  64   ->   104 x 104 x 128  1.595 BFLOPs
    5 conv     64  1 x 1 / 1   104 x 104 x 128   ->   104 x 104 x  64  0.177 BFLOPs
    6 conv    128  3 x 3 / 1   104 x 104 x  64   ->   104 x 104 x 128  1.595 BFLOPs
    7 max          2 x 2 / 2   104 x 104 x 128   ->    52 x  52 x 128
    8 conv    256  3 x 3 / 1    52 x  52 x 128   ->    52 x  52 x 256  1.595 BFLOPs
    9 conv    128  1 x 1 / 1    52 x  52 x 256   ->    52 x  52 x 128  0.177 BFLOPs
   10 conv    256  3 x 3 / 1    52 x  52 x 128   ->    52 x  52 x 256  1.595 BFLOPs
   11 max          2 x 2 / 2    52 x  52 x 256   ->    26 x  26 x 256
   12 conv    512  3 x 3 / 1    26 x  26 x 256   ->    26 x  26 x 512  1.595 BFLOPs
   13 conv    256  1 x 1 / 1    26 x  26 x 512   ->    26 x  26 x 256  0.177 BFLOPs
   14 conv    512  3 x 3 / 1    26 x  26 x 256   ->    26 x  26 x 512  1.595 BFLOPs
   15 conv    256  1 x 1 / 1    26 x  26 x 512   ->    26 x  26 x 256  0.177 BFLOPs
   16 conv    512  3 x 3 / 1    26 x  26 x 256   ->    26 x  26 x 512  1.595 BFLOPs
   17 max          2 x 2 / 2    26 x  26 x 512   ->    13 x  13 x 512
   18 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
   19 conv    512  1 x 1 / 1    13 x  13 x1024   ->    13 x  13 x 512  0.177 BFLOPs
   20 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
   21 conv    512  1 x 1 / 1    13 x  13 x1024   ->    13 x  13 x 512  0.177 BFLOPs
   22 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
   23 conv   1024  3 x 3 / 1    13 x  13 x1024   ->    13 x  13 x1024  3.190 BFLOPs
   24 conv   1024  3 x 3 / 1    13 x  13 x1024   ->    13 x  13 x1024  3.190 BFLOPs
   25 route  16
   26 conv     64  1 x 1 / 1    26 x  26 x 512   ->    26 x  26 x  64  0.044 BFLOPs
   27 reorg              / 2    26 x  26 x  64   ->    13 x  13 x 256
   28 route  27 24
   29 conv   1024  3 x 3 / 1    13 x  13 x1280   ->    13 x  13 x1024  3.987 BFLOPs
   30 conv    425  1 x 1 / 1    13 x  13 x1024   ->    13 x  13 x 425  0.147 BFLOPs
   31 detection
mask_scale: Using default '1.000000'
Loading weights from /home/philip/obj_ws/src/darknet_ros/darknet_ros/yolo_network_config/weights/yolov2.weights...Done!
Waiting for image.
[Testcase: testdarknet_ros_object_detection] ... ok

[ROSTEST]-----------------------------------------------------------------------

[darknet_ros.rosunit-darknet_ros_object_detection/DISABLED_DetectDog][passed]
[darknet_ros.rosunit-darknet_ros_object_detection/DetectANYmal][FAILURE]--------
/home/philip/obj_ws/src/darknet_ros/darknet_ros/test/ObjectDetection.cpp:170
Value of: sendImageToYolo(nodeHandle, pathToTestImage)
  Actual: false
Expected: true
--------------------------------------------------------------------------------

[darknet_ros.rosunit-darknet_ros_object_detection/DISABLED_DetectPerson][passed]

SUMMARY
 * RESULT: FAIL
 * TESTS: 3
 * ERRORS: 0
 * FAILURES: 1

rostest log file is in /home/philip/.ros/log/rostest-philip-Blade-32424.log
-- run_tests.py: verify result "/home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rostest-test_object_detection.xml"
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target _run_tests_darknet_ros_rostest_test_object_detection.test
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/_run_tests_darknet_ros_rostest.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/_run_tests_darknet_ros_rostest.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target _run_tests_darknet_ros_rostest
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros.dir/build.make CMakeFiles/_run_tests_darknet_ros.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/_run_tests_darknet_ros.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros.dir/build.make CMakeFiles/_run_tests_darknet_ros.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/_run_tests_darknet_ros.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target _run_tests_darknet_ros
/usr/bin/make  -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/run_tests.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/run_tests.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target run_tests
make[2]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/home/philip/cmake-3.23/bin/cmake -E cmake_progress_start /home/philip/obj_ws/build/darknet_ros/CMakeFiles 0
make[1]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make run_tests --jobserver-fds=3,4 -j; cd -

...............................................................................
Finished   << darknet_ros:make                                                 
Starting   >> darknet_ros:symlink                                              
Output     << darknet_ros:symlink /home/philip/obj_ws/logs/darknet_ros/build.symlink.001.log
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/share/darknet_ros/cmake/darknet_rosConfig.cmake, /home/philip/obj_ws/devel/share/darknet_ros/cmake/darknet_rosConfig.cmake)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/share/darknet_ros/cmake/darknet_rosConfig-version.cmake, /home/philip/obj_ws/devel/share/darknet_ros/cmake/darknet_rosConfig-version.cmake)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/lib/libdarknet_ros_lib.so, /home/philip/obj_ws/devel/lib/libdarknet_ros_lib.so)
Symlinking /home/philip/obj_ws/devel/lib/darknet_ros/darknet_ros_object_detection-test
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/lib/darknet_ros/darknet_ros, /home/philip/obj_ws/devel/lib/darknet_ros/darknet_ros)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/lib/pkgconfig/darknet_ros.pc, /home/philip/obj_ws/devel/lib/pkgconfig/darknet_ros.pc)

Finished   << darknet_ros:symlink                                              
Finished  <<< darknet_ros                [ 2 minutes and 31.1 seconds ]        
[build] Summary: All 1 packages succeeded!                                     
[build]   Ignored:   1 packages were skipped or are skiplisted.                
[build]   Warnings:  1 packages succeeded with warnings.                       
[build]   Abandoned: None.                                                     
[build]   Failed:    None.                                                     
[build] Runtime: 2 minutes and 31.1 seconds total.                             
philip@philip-Blade:~/obj_ws$ catkin build darknet_ros --no-deps --verbose --catkin-make-args run_tests
----------------------------------------------------------------------------
Profile:                     default
Extending:          [cached] /home/philip/coverage_ws/devel:/opt/ros/melodic
Workspace:                   /home/philip/obj_ws
----------------------------------------------------------------------------
Build Space:        [exists] /home/philip/obj_ws/build
Devel Space:        [exists] /home/philip/obj_ws/devel
Install Space:      [unused] /home/philip/obj_ws/install
Log Space:          [exists] /home/philip/obj_ws/logs
Source Space:       [exists] /home/philip/obj_ws/src
DESTDIR:            [unused] None
----------------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
----------------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: run_tests
Internal Make Job Server:    True
Cache Job Environments:      False
----------------------------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
----------------------------------------------------------------------------
Workspace configuration appears valid.
----------------------------------------------------------------------------
[build] Found '2' packages in 0.0 seconds.                                     
[build] Package table is up to date.                                           
Starting  >>> darknet_ros                                                      
Starting   >> darknet_ros:loadenv                                              
Output     << darknet_ros:loadenv /home/philip/obj_ws/logs/darknet_ros/build.loadenv.008.log
Loading environment from: /home/philip/obj_ws/devel/env.sh
                    
Finished   << darknet_ros:loadenv                                              
Starting   >> darknet_ros:mkdir                                                
Starting   >> darknet_ros:mkdir                                                
Starting   >> darknet_ros:cache-manifest                                       
Starting   >> darknet_ros:check                                                
Subprocess  > darknet_ros:check `cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make cmake_check_build_system; cd -`
Output     << darknet_ros:check /home/philip/obj_ws/logs/darknet_ros/build.check.004.log
/home/philip/cmake-3.23/bin/cmake -S/home/philip/obj_ws/src/darknet_ros/darknet_ros -B/home/philip/obj_ws/build/darknet_ros --check-build-system CMakeFiles/Makefile.cmake 0
cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make cmake_check_build_system; cd -

Finished   << darknet_ros:check                                                
Starting   >> darknet_ros:make                                                 
Subprocess  > darknet_ros:make `cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make run_tests --jobserver-fds=3,4 -j; cd -`
_______________________________________________________________________________
Warnings   << darknet_ros:make /home/philip/obj_ws/logs/darknet_ros/build.make.007.log
/home/philip/cmake-3.23/bin/cmake -S/home/philip/obj_ws/src/darknet_ros/darknet_ros -B/home/philip/obj_ws/build/darknet_ros --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/make  -f CMakeFiles/Makefile2 run_tests
make[1]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
/home/philip/cmake-3.23/bin/cmake -S/home/philip/obj_ws/src/darknet_ros/darknet_ros -B/home/philip/obj_ws/build/darknet_ros --check-build-system CMakeFiles/Makefile.cmake 0
/home/philip/cmake-3.23/bin/cmake -E cmake_progress_start /home/philip/obj_ws/build/darknet_ros/CMakeFiles 5
/usr/bin/make  -f CMakeFiles/Makefile2 CMakeFiles/run_tests.dir/all
make[2]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/clean_test_results_darknet_ros.dir/build.make CMakeFiles/clean_test_results_darknet_ros.dir/depend
/usr/bin/make  -f gtest/googlemock/gtest/CMakeFiles/gtest.dir/build.make gtest/googlemock/gtest/CMakeFiles/gtest.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/clean_test_results_darknet_ros.dir/DependInfo.cmake --color=
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /usr/src/googletest/googletest /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest /home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/clean_test_results_darknet_ros.dir/build.make CMakeFiles/clean_test_results_darknet_ros.dir/build
Dependencies file "gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o.d" is newer than depends file "/home/philip/obj_ws/build/darknet_ros/gtest/googlemock/gtest/CMakeFiles/gtest.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target gtest
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/python2 /opt/ros/melodic/share/catkin/cmake/test/remove_test_results.py /home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f gtest/googlemock/gtest/CMakeFiles/gtest.dir/build.make gtest/googlemock/gtest/CMakeFiles/gtest.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'gtest/googlemock/gtest/CMakeFiles/gtest.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[ 40%] Built target gtest
/usr/bin/make  -f CMakeFiles/darknet_ros_object_detection-test.dir/build.make CMakeFiles/darknet_ros_object_detection-test.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/darknet_ros_object_detection-test.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/darknet_ros_object_detection-test.dir/test/ObjectDetection.cpp.o.d" is newer than depends file "/home/philip/obj_ws/build/darknet_ros/CMakeFiles/darknet_ros_object_detection-test.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/darknet_ros_object_detection-test.dir/test/test_main.cpp.o.d" is newer than depends file "/home/philip/obj_ws/build/darknet_ros/CMakeFiles/darknet_ros_object_detection-test.dir/compiler_depend.internal".
Removing test result files from '/home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros'
- removing '/home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rosunit-darknet_ros_object_detection.xml'
- removing '/home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rostest-test_object_detection.xml'
Consolidate compiler generated dependencies of target darknet_ros_object_detection-test
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[ 40%] Built target clean_test_results_darknet_ros
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/darknet_ros_object_detection-test.dir/build.make CMakeFiles/darknet_ros_object_detection-test.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/darknet_ros_object_detection-test.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target darknet_ros_object_detection-test
/usr/bin/make  -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/tests.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/tests.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target tests
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest_test_object_detection.test.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
catkin_generated/env_cached.sh /usr/bin/python2 /opt/ros/melodic/share/catkin/cmake/test/run_tests.py /home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rostest-test_object_detection.xml "/usr/bin/python2 /opt/ros/melodic/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/philip/obj_ws/src/darknet_ros/darknet_ros --package=darknet_ros --results-filename test_object_detection.xml --results-base-dir \"/home/philip/obj_ws/build/darknet_ros/test_results\" /home/philip/obj_ws/src/darknet_ros/darknet_ros/test/object_detection.test "
-- run_tests.py: execute commands
  /usr/bin/python2 /opt/ros/melodic/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/philip/obj_ws/src/darknet_ros/darknet_ros --package=darknet_ros --results-filename test_object_detection.xml --results-base-dir "/home/philip/obj_ws/build/darknet_ros/test_results" /home/philip/obj_ws/src/darknet_ros/darknet_ros/test/object_detection.test 
... logging to /home/philip/.ros/log/rostest-philip-Blade-1090.log
[ROSUNIT] Outputting test results to /home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rostest-test_object_detection.xml
[ INFO] [1672691302.095563918]: [YoloObjectDetector] Node started.
[ INFO] [1672691302.098075226]: [YoloObjectDetector] Xserver is running.
[ INFO] [1672691302.098573445]: [YoloObjectDetector] init().
YOLO V3
layer     filters    size              input                output
    0 conv     32  3 x 3 / 1   416 x 416 x   3   ->   416 x 416 x  32  0.299 BFLOPs
    1 max          2 x 2 / 2   416 x 416 x  32   ->   208 x 208 x  32
    2 conv     64  3 x 3 / 1   208 x 208 x  32   ->   208 x 208 x  64  1.595 BFLOPs
    3 max          2 x 2 / 2   208 x 208 x  64   ->   104 x 104 x  64
    4 conv    128  3 x 3 / 1   104 x 104 x  64   ->   104 x 104 x 128  1.595 BFLOPs
    5 conv     64  1 x 1 / 1   104 x 104 x 128   ->   104 x 104 x  64  0.177 BFLOPs
    6 conv    128  3 x 3 / 1   104 x 104 x  64   ->   104 x 104 x 128  1.595 BFLOPs
    7 max          2 x 2 / 2   104 x 104 x 128   ->    52 x  52 x 128
    8 conv    256  3 x 3 / 1    52 x  52 x 128   ->    52 x  52 x 256  1.595 BFLOPs
    9 conv    128  1 x 1 / 1    52 x  52 x 256   ->    52 x  52 x 128  0.177 BFLOPs
   10 conv    256  3 x 3 / 1    52 x  52 x 128   ->    52 x  52 x 256  1.595 BFLOPs
   11 max          2 x 2 / 2    52 x  52 x 256   ->    26 x  26 x 256
   12 conv    512  3 x 3 / 1    26 x  26 x 256   ->    26 x  26 x 512  1.595 BFLOPs
   13 conv    256  1 x 1 / 1    26 x  26 x 512   ->    26 x  26 x 256  0.177 BFLOPs
   14 conv    512  3 x 3 / 1    26 x  26 x 256   ->    26 x  26 x 512  1.595 BFLOPs
   15 conv    256  1 x 1 / 1    26 x  26 x 512   ->    26 x  26 x 256  0.177 BFLOPs
   16 conv    512  3 x 3 / 1    26 x  26 x 256   ->    26 x  26 x 512  1.595 BFLOPs
   17 max          2 x 2 / 2    26 x  26 x 512   ->    13 x  13 x 512
   18 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
   19 conv    512  1 x 1 / 1    13 x  13 x1024   ->    13 x  13 x 512  0.177 BFLOPs
   20 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
   21 conv    512  1 x 1 / 1    13 x  13 x1024   ->    13 x  13 x 512  0.177 BFLOPs
   22 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
   23 conv   1024  3 x 3 / 1    13 x  13 x1024   ->    13 x  13 x1024  3.190 BFLOPs
   24 conv   1024  3 x 3 / 1    13 x  13 x1024   ->    13 x  13 x1024  3.190 BFLOPs
   25 route  16
   26 conv     64  1 x 1 / 1    26 x  26 x 512   ->    26 x  26 x  64  0.044 BFLOPs
   27 reorg              / 2    26 x  26 x  64   ->    13 x  13 x 256
   28 route  27 24
   29 conv   1024  3 x 3 / 1    13 x  13 x1280   ->    13 x  13 x1024  3.987 BFLOPs
   30 conv    425  1 x 1 / 1    13 x  13 x1024   ->    13 x  13 x 425  0.147 BFLOPs
   31 detection
mask_scale: Using default '1.000000'
Loading weights from /home/philip/obj_ws/src/darknet_ros/darknet_ros/yolo_network_config/weights/yolov2.weights...Done!
Waiting for image.
[Testcase: testdarknet_ros_object_detection] ... ok

[ROSTEST]-----------------------------------------------------------------------

[darknet_ros.rosunit-darknet_ros_object_detection/DISABLED_DetectDog][passed]
[darknet_ros.rosunit-darknet_ros_object_detection/DetectANYmal][FAILURE]--------
/home/philip/obj_ws/src/darknet_ros/darknet_ros/test/ObjectDetection.cpp:170
Value of: sendImageToYolo(nodeHandle, pathToTestImage)
  Actual: false
Expected: true
--------------------------------------------------------------------------------

[darknet_ros.rosunit-darknet_ros_object_detection/DISABLED_DetectPerson][passed]

SUMMARY
 * RESULT: FAIL
 * TESTS: 3
 * ERRORS: 0
 * FAILURES: 1

rostest log file is in /home/philip/.ros/log/rostest-philip-Blade-1090.log
-- run_tests.py: verify result "/home/philip/obj_ws/build/darknet_ros/test_results/darknet_ros/rostest-test_object_detection.xml"
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target _run_tests_darknet_ros_rostest_test_object_detection.test
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/_run_tests_darknet_ros_rostest.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros_rostest.dir/build.make CMakeFiles/_run_tests_darknet_ros_rostest.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/_run_tests_darknet_ros_rostest.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target _run_tests_darknet_ros_rostest
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros.dir/build.make CMakeFiles/_run_tests_darknet_ros.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/_run_tests_darknet_ros.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/_run_tests_darknet_ros.dir/build.make CMakeFiles/_run_tests_darknet_ros.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/_run_tests_darknet_ros.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target _run_tests_darknet_ros
/usr/bin/make  -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/depend
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros && /home/philip/cmake-3.23/bin/cmake -E cmake_depends "Unix Makefiles" /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/src/darknet_ros/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros /home/philip/obj_ws/build/darknet_ros/CMakeFiles/run_tests.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/usr/bin/make  -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/build
make[3]: Entering directory '/home/philip/obj_ws/build/darknet_ros'
make[3]: Nothing to be done for 'CMakeFiles/run_tests.dir/build'.
make[3]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
[100%] Built target run_tests
make[2]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
/home/philip/cmake-3.23/bin/cmake -E cmake_progress_start /home/philip/obj_ws/build/darknet_ros/CMakeFiles 0
make[1]: Leaving directory '/home/philip/obj_ws/build/darknet_ros'
cd /home/philip/obj_ws/build/darknet_ros; catkin build --get-env darknet_ros | catkin env -si  /usr/bin/make run_tests --jobserver-fds=3,4 -j; cd -

...............................................................................
Finished   << darknet_ros:make                                                 
Starting   >> darknet_ros:symlink                                              
Output     << darknet_ros:symlink /home/philip/obj_ws/logs/darknet_ros/build.symlink.002.log
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/share/darknet_ros/cmake/darknet_rosConfig.cmake, /home/philip/obj_ws/devel/share/darknet_ros/cmake/darknet_rosConfig.cmake)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/share/darknet_ros/cmake/darknet_rosConfig-version.cmake, /home/philip/obj_ws/devel/share/darknet_ros/cmake/darknet_rosConfig-version.cmake)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/lib/libdarknet_ros_lib.so, /home/philip/obj_ws/devel/lib/libdarknet_ros_lib.so)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/lib/darknet_ros/darknet_ros_object_detection-test, /home/philip/obj_ws/devel/lib/darknet_ros/darknet_ros_object_detection-test)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/lib/darknet_ros/darknet_ros, /home/philip/obj_ws/devel/lib/darknet_ros/darknet_ros)
Linked: (/home/philip/obj_ws/devel/.private/darknet_ros/lib/pkgconfig/darknet_ros.pc, /home/philip/obj_ws/devel/lib/pkgconfig/darknet_ros.pc)

Finished   << darknet_ros:symlink                                              
Finished  <<< darknet_ros                [ 1 minute and 43.9 seconds ]         
[build] Summary: All 1 packages succeeded!                                     
[build]   Ignored:   1 packages were skipped or are skiplisted.                
[build]   Warnings:  1 packages succeeded with warnings.                       
[build]   Abandoned: None.                                                     
[build]   Failed:    None.                                                     
[build] Runtime: 1 minute and 44.0 seconds total.                     

System (please complete the following information):

  • OS: [Ubuntu 18.04]
  • ROS version: [Melodic]
  • GPU when relevant: [ ]

Additional context
I dont't have CUDA

@wyb17js
Copy link

wyb17js commented Nov 8, 2023

me too,have you solve this question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants