alibaba / MNN

MNN is a blazing fast, lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba
http://www.mnn.zone/
8.71k stars 1.67k forks source link

ONNX转MNN报错 #1107

Closed blueskywwc closed 4 years ago

blueskywwc commented 4 years ago

./MNNConvert -f ONNX --modelFile lin.onnx --MNNModel lin.mnn --bizCode biz

MNNConverter Version: 0.2.1.5git - MNN @ 2018

Start to Convert Other Model Format To MNN Model... [18:00:17] /home/wangwc/MNN/tools/converter/source/onnx/onnxConverter.cpp:29: ONNX Model ir version: 6 Start to Optimize the MNN Net... 段错误 (核心已转储)

这是模型本身的问题还是MNN出现异常,怎么处理,谢谢!

dengfenglai321 commented 4 years ago

请问你解决了吗

blueskywwc commented 4 years ago

是我模型本身的问题,里面一些算子可能不支持,修改后可以完成模型转换

slz929 commented 9 months ago

最好升级mnn到最新,bugfix和算子问题