ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

YOLOP-NCNN 训练新模型后,onnx2ncnn 生成param文件出现关键字,与之前差异较大

Open Warden7 opened this issue 2 years ago • 1 comments

image

请大佬看看,事ncnn整个param机制升级了吗 ?

Warden7 avatar May 04 '23 10:05 Warden7

针对onnx模型转换的各种问题,推荐使用最新的pnnx工具转换到ncnn In view of various problems in onnx model conversion, it is recommended to use the latest pnnx tool to convert your model to ncnn

pip install pnnx
pnnx model.onnx inputshape=[1,3,224,224]

详细参考文档 Detailed reference documentation https://github.com/pnnx/pnnx https://github.com/Tencent/ncnn/wiki/use-ncnn-with-pytorch-or-onnx#how-to-use-pnnx

nihui avatar Aug 19 '24 03:08 nihui