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

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

Open
HappySamuel opened this issue Feb 6, 2023 · 0 comments
Open

Comments

@HappySamuel
Copy link

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:0@0.337] 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 [Split@ai.onnx]:(/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

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

No branches or pull requests

1 participant