-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Yolox ONNX graph parsing error #24671
Copy link
Copy link
Closed
Description
System Information
OpenCV version: 4.8.0
Operating System / Platform: Ubuntu 20.04
Compiler & compiler version: GCC 9.3.0
Detailed description
Onnx graph parsing error on ADD node. Shape of inputs do not match
ror: (-2:Unspecified error) in function 'handleNode'
> Node [Add@ai.onnx]:(onnx_node!/head/Add) parse error: OpenCV(4.8.0-dev) opencv/modules/dnn/src/layers/nary_eltwise_layers.cpp:142: error: (-215:Assertion failed) shape[i] == 1 || outShape[i] == 1 in function 'findCommonShape'
Error was introduced in #24655 PR.
Steps to reproduce
Run yolox test:
./bin/opencv_test_dnn --gtest_filter="Test_ONNX_nets.YOLOX/1"
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable