yolov7-face
yolov7-face copied to clipboard
怎么导出onnx模型?
demo:https://github.com/hpc203/yolov7-detect-face-onnxrun-cpp-py
中使用的onnx模型输出层是:
但是,使用工程里面的导出:
python ./models/export.py --weights yolov7-tiny-face.pt --grid --simplify --img-size 640 640
导出的模型输出层是:

--grid
--grid
加了,看我下面的导出命令: python ./models/export.py --weights yolov7-tiny-face.pt --grid --simplify --img-size 640 640 但是,导出的输出层不对的
@xinsuinizhuan 你好,请问你有解决吗?
解决了吗?
嗯嗯,你在github主页搜一下yolov7-face-tensorrt这个工程,那个里面有怎么改的。
---原始邮件--- 发件人: @.> 发送时间: 2023年2月14日(周二) 下午5:14 收件人: @.>; 抄送: @.@.>; 主题: Re: [derronqi/yolov7-face] 怎么导出onnx模型? (Issue #25)
解决了吗?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
嗯嗯,你在github主页搜一下yolov7-face-tensorrt这个工程,那个里面有怎么改的。 … ---原始邮件--- 发件人: @.> 发送时间: 2023年2月14日(周二) 下午5:14 收件人: @.>; 抄送: @.@.>; 主题: Re: [derronqi/yolov7-face] 怎么导出onnx模型? (Issue #25) 解决了吗? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
感谢
嗯嗯,你在github主页搜一下yolov7-face-tensorrt这个工程,那个里面有怎么改的。 … ---原始邮件--- 发件人: @.> 发送时间: 2023年2月14日(周二) 下午5:14 收件人: @.>; 抄送: @.@.>; 主题: Re: [derronqi/yolov7-face] 怎么导出onnx模型? (Issue #25) 解决了吗? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
您好 我按照这个方式进行更改,虽然转出来onnx的结构是没问题的,但是转ncnn模型的时候 回报错,里面有很多slice结构。请问您遇到过吗