ncnn
ncnn copied to clipboard
detr->onnx->ncnn执行推理rocess finished with exit code -1073741819 @@@(0xC0000005)
error log | 日志或报错信息 | ログ
model | 模型 | モデル
- original model detr-r50-e632da11.pth
how to reproduce | 复现步骤 | 再現方法
1.onnx opset version13 转换onnx模型 2.onnx2ncnn转换ncnn模型 3.执行推理Process finished with exit code -1073741819 @@@(0xC0000005) @nihui
你都pth了,直接用pnnx转啊
针对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