Skip to content

ERROR when processing yolov5s.onnx and human_detector_node died off #10

@HappySamuel

Description

@HappySamuel

Hi

I followed the steps to obtain yolov5s.onnx and copied it to rmf_human_detector/assets/, also configure the launch file to point to it. However, it showed this error, and then the human_detector_node quit.

[human_detector_node-1] [ERROR:[email protected]] global /home/samuel/Downloads/opencv/modules/dnn/src/onnx/onnx_importer.cpp (906) handleNode DNN/ONNX: ERROR during processing node with 2 inputs and 3 outputs: [Split]:(/model.24/Split_output_0) from domain='ai.onnx'
[human_detector_node-1] terminate called after throwing an instance of 'cv::Exception'
[human_detector_node-1]   what():  OpenCV(4.5.5) /home/samuel/Downloads/opencv/modules/dnn/src/onnx/onnx_importer.cpp:928: error: (-2:Unspecified error) in function 'handleNode'
[human_detector_node-1] > Node [[email protected]]:(/model.24/Split_output_0) parse error: OpenCV(4.5.5) /home/samuel/Downloads/opencv/modules/dnn/src/layers/slice_layer.cpp:217: error: (-215:Assertion failed) splits > 0 && inpShape[axis_rw] % splits == 0 in function 'getMemoryShapes'
[human_detector_node-1] > 
[ERROR] [human_detector_node-1]: process has died [pid 35164, exit code -6, cmd '/home/samuel/colcon_ws/install/rmf_human_detector/lib/rmf_human_detector/human_detector_node --ros-args -r __node:=human_detector --params-file /tmp/launch_params_5s8h1ab3 --params-file /tmp/launch_params_bz_97y6x --params-file /tmp/launch_params_fwd2xavf --params-file /tmp/launch_params_gotthy_6 --params-file /tmp/launch_params_px9vr6zy --params-file /tmp/launch_params_zzvnmwes']

What's the issue? And how shall i resolve this issue?

Best,
Samuel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions