ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

编译错误

Open ffxxjj opened this issue 2 years ago • 2 comments

error log | 日志或报错信息 | ログ

Sign not supported yet!

context | 编译/运行环境 | バックグラウンド

win11

how to reproduce | 复现步骤 | 再現方法

1.使用onnx2ncnn F:\TobaccoModel\onnx\flower\binary_flower_model.onnx F:\TobaccoModel\onnx\flower\binary_flower_model.param F:\TobaccoModel\onnx\flower\binary_flower_model.bin 转换ncnn文件时出现以下错误 Sign not supported yet!

more | 其他 | その他

ffxxjj avatar May 15 '23 02:05 ffxxjj

这叫转换错误,就是遇到了个不支持的或者没法融合的算子呗

wzyforgit avatar May 16 '23 00:05 wzyforgit

针对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 05 '24 09:08 nihui