yolov7-opencv-onnxrun-cpp-py icon indicating copy to clipboard operation
yolov7-opencv-onnxrun-cpp-py copied to clipboard

分别使用OpenCV、ONNXRuntime部署YOLOV7目标检测,一共包含14个onnx模型,依然是包含C++和Python两个版本的程序

Results 23 yolov7-opencv-onnxrun-cpp-py issues
Sort by recently updated
recently updated
newest added

rt 使用官方导出源码中的--include-nms和--end2end命令后 只能使用onnxruntime 的 CUDAExecutionProvider 才能读取成功么

![image](https://user-images.githubusercontent.com/76460719/180398047-81a7d046-dca1-4580-a950-e80f033dedda.png)

我用的命令:python export.py --weights ./weights/best.pt --grid --topk-all 100 --iou-thres 0.65 --conf-thres 0.35 --img-size 640 640 --max-wh 640 opencv 4.5.5: dnn 推理错误:opencv2/dnn/shape_utils.hpp:170: error: (-215:Assertion failed) start

想问下改了哪里,为什么我拿官方预训练模型导出来后有三个输出和你的不一样。

我用您给的onnx模型可以用opencv正常识别,用https://github.com/WongKinYiu/yolov7/tree/main/models中的export.py导出官方的yolov7.pt模型640*640不能识别到物体,请问您是在export.py的基础上有增加哪些处理吗

Error in opencV_DNN reasoning after using the official ONNX conversion method: ![image](https://user-images.githubusercontent.com/43592362/183552864-698b45f4-a6c3-4ad0-af21-125482ae7872.png) 593node is: ![image](https://user-images.githubusercontent.com/43592362/183553105-2b518dfd-509a-47b3-a581-59af42ef2b47.png)

感谢您的分享,请问:导出的onnx,分别在coco上测试过精度吗?验证过正确性吗?

自定义数据集,直接使用pt u5分支导出后,多了是三个sigmoid层: ![图片](https://user-images.githubusercontent.com/40679769/178774400-78375063-cd1d-4d32-8285-8c09d2e4c7b0.png) 导致没法推理,dnn.