zh/modes/export/ #9406
Replies: 13 comments 44 replies
-
how to export to ncnn? the official example is wrong. will get SegmentError. |
Beta Was this translation helpful? Give feedback.
-
希望可以指定导出目录 |
Beta Was this translation helpful? Give feedback.
-
你好!在我将pt转换为engine时,出现 |
Beta Was this translation helpful? Give feedback.
-
执行命令 yolo export model=E:\Geetest4icon\YOLOV8_分类_标题\YOLOV8_训练\weights\best.pt project=E:\Geetest4icon\YOLOV8_分类_标题 name=YOLOV8_导出 format=openvino batch=1 导出路径会乱码 E:\Geetest4icon\YOLOV8_鍒嗙被_鏍囬\YOLOV8_璁粌\weights\best_openvino_model 而且 导出的路径并不是设置的project下的name文件夹内 执行命令 yolo export model=E:\Geetest4icon\YOLOV8_分类_标题\YOLOV8_训练\weights\best.pt project=E:\Geetest4icon\YOLOV8_分类_标题 name=YOLOV8_导出 format=onnx 跟上面命令不同的是 导出的是onnx 执行这个命令不会乱码 但是依旧导出路径不对 此命令会在model所在的相同目录下输出best.onnx文件 求解决 拜托了 |
Beta Was this translation helpful? Give feedback.
-
F:\conda\python.exe F:\yolov8\1.py PyTorch: starting from 'yolov8n.pt' with input shape (1, 3, 640, 640) BCHW and output shape(s) (1, 84, 8400) (6.2 MB) ONNX: starting export with onnx 1.16.0 opset 17... TensorRT: starting export with TensorRT 10.0.1... 进程已结束,退出代码为 1 |
Beta Was this translation helpful? Give feedback.
-
我想要把模型保存为onnx格式,并指定路径,我的代码是
但是发生报错,报错的内容是:
请问这个问题的原因是什么 |
Beta Was this translation helpful? Give feedback.
-
How do I convert an existing pt model to onnx? |
Beta Was this translation helpful? Give feedback.
-
当我导出onnx时使用了dynamic参数时,导出的模型无法使用 yolo val 来验证,会得到以下的错误:
|
Beta Was this translation helpful? Give feedback.
-
您好,使用.pt和导出为.onnx进行yolov8模型的图片中目标检测时,参数设置一致,但是最终检测框数量,位置不完全一致。比如.onnx比.pt多画一个或者检测到.pt检测不出来的类别,请问是什么问题导致的呢? |
Beta Was this translation helpful? Give feedback.
-
当我想把模型转换为onnx int8类型,命令行输入:yolo export model=yolov8n.pt format=onnx int8=True,但是得到的onnx文件依然是float32位,按照提示输入:yolo export model=yolov8n.pt format=onnx int8=True data=coco8.yaml;得到的onnx依然还是float32位,想问下什么原因 |
Beta Was this translation helpful? Give feedback.
-
我使用pt的模型在yolo tracker中可以用,后来将其导出为onnx。导出没报错,但是yolo tracker中无法使用了。可能的原因是什么呢?
|
Beta Was this translation helpful? Give feedback.
-
请问这个如何解决 |
Beta Was this translation helpful? Give feedback.
-
Why is the onnx converted with this code completely different from the original pt parameters, and the output of the same image is also different |
Beta Was this translation helpful? Give feedback.
-
zh/modes/export/
逐步指导如何将YOLOv8 模型导出为各种格式,如ONNX,TensorRT,CoreML 等,以便部署。立即探索
https://docs.ultralytics.com/zh/modes/export/
Beta Was this translation helpful? Give feedback.
All reactions