Segmentation fault: 11 when converting onnx
Hi, I got below error when converting onnx to ncnn.
./onnx2ncnn fsanet_epoch_95.onnx Segmentation fault: 11
You can reproduce it by https://github.com/GHLab/fsanet-onnx-demo/blob/master/fsanet_epoch_95.onnx Can you check this?
发现转模型,产出路径带文件夹,会segfault,macos,不知其它平台有没有这个情况
针对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
好耶ヽ(✿゚▽゚)ノ