Skip to content

YOLOv5 MODEL CONVERSION #13618

@879514175

Description

@879514175

Search before asking

  • I have searched the YOLOv5 issues and found no similar bug report.

YOLOv5 Component

No response

Bug

[ERROR:[email protected]] global onnx_importer.cpp:1036 handleNode DNN/ONNX: ERROR during processing node with 1 inputs and 1 outputs: [Floor]:(onnx_node!/model.11/Floor) from domain='ai.onnx'
Traceback (most recent call last):
File "/home/orbbec/pyorbbecsdk/examples/Orbbec-Depth-Sensing-Object-Detection-using-YOLOv5/depthScale_orbbec.py", line 135, in
net = cv2.dnn.readNet('models/yolov5s.onnx')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.11.0) /io/opencv/modules/dnn/src/onnx/onnx_importer.cpp:1058: error: (-2:Unspecified error) in function 'handleNode'

Node [[email protected]]:(onnx_node!/model.11/Floor) parse error: OpenCV(4.11.0) /io/opencv/modules/dnn/src/layers/elementwise_layers.cpp:260: error: (-215:Assertion failed) src.size == dst.size && src.type() == dst.type() && src.isContinuous() && dst.isContinuous() && src.type() == CV_32F in function 'forward'

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    exportsModel exports (ONNX, TensorRT, TFLite, etc.)non-reproducibleBug is not reproducible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions