hpc203 / bytetrack-opencv-onnxruntime

分别使用OpenCV、ONNXRuntime部署YOLOX+ByteTrack目标跟踪,包含C++和Python两个版本的程序

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

读取onnx模型报错

PL2584718785 opened this issue · comments

[ERROR:0] global /home/opencv/modules/dnn/src/onnx/onnx_importer.cpp (1788) handleNode DNN/ONNX: ERROR during processing node with 5 inputs and 1 outputs: [Slice]:(467)
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.0) /home/opencv/modules/dnn/src/onnx/onnx_importer.cpp:1797: error: (-2:Unspecified error) in function 'handleNode'

Node [Slice]:(467) parse error: OpenCV(4.5.0) /home/opencv/modules/dnn/src/onnx/onnx_importer.cpp:697: error: (-2:Unspecified error) in function 'void cv::dnn::dnn4_v20200908::ONNXImporter::handleNode(const opencv_onnx::NodeProto&)'

Slice layer only supports steps = 1 (expected: 'countNonZero(step_blob != 1) == 0'), where
'countNonZero(step_blob != 1)' is 1
must be equal to
'0' is 0

Hello, I have encountered the above problems and hope to get your help. Thanks!

解决了吗?

解决了吗?

已解决