解决办法:在转换指令:python export.py --grid --end2end --simplify --topk-all 100 --iou-thres 0.3 --conf-thres 0.8 --img-size 640 640 --max-wh 640 --weights weights/onnxruntime.pt
取掉其中的:–grid --end2end --simplify
.pt转onnx报错TorchScript export failure
最新推荐文章于 2024-07-18 20:05:25 发布