triple-Mu / YOLOv8-TensorRT

YOLOv8 using TensorRT accelerate !
MIT License
1.31k stars 225 forks source link

terminate called after throwing an instance of 'cv::Exception' #241

Open He-Yingchao opened 1 month ago

He-Yingchao commented 1 month ago

When I was following you to deploy the yolov8-seg model to Jetson Orin Nano, I got this error when I ran ./yolov8-seg yolov8s-seg.engine data/bus.jpg: terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.5.4) /home/ubuntu/build_opencv/opencv/modules/core/src/matrix_expressions.cpp:24: error: (-5:Bad argument) Matrix operand is an empty matrix. in function 'checkOperandsExist'. How can I fix the problem? Thank you

triple-Mu commented 3 weeks ago

When I was following you to deploy the yolov8-seg model to Jetson Orin Nano, I got this error when I ran ./yolov8-seg yolov8s-seg.engine data/bus.jpg: terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.5.4) /home/ubuntu/build_opencv/opencv/modules/core/src/matrix_expressions.cpp:24: error: (-5:Bad argument) Matrix operand is an empty matrix. in function 'checkOperandsExist'. How can I fix the problem? Thank you

How do you export onnx and tensorrt engine?