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

请问yolov7使用的是哪个版本,导出onnx的命令参数有哪些?

Open dtiny opened this issue 2 years ago • 0 comments

我用的命令: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 <= (int)shape.size() && end <= (int)shape.size() && start <= end in function 'total'

dtiny avatar Aug 23 '22 08:08 dtiny