Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault during MNN Model export #319

Open
MarcoMultichannel opened this issue May 13, 2024 · 1 comment
Open

Segmentation fault during MNN Model export #319

MarcoMultichannel opened this issue May 13, 2024 · 1 comment
Assignees

Comments

@MarcoMultichannel
Copy link

I get a "segmentation fault" when I try to convert the ONNX model in MNN model:

MNNConvert -f ONNX --modelFile voxceleb_resnet34.onnx --MNNModel model.mnn --bizCode MNN
The device support i8sdot:0, support fp16:0, support i8mm: 0
Start to Convert Other Model Format To MNN Model..., target version: 2.8
[13:09:33] /home/user/MNN-976d1d7c0f916ea8a7acc3d31352789590f00b18/tools/converter/source/onnx/onnxConverter.cpp:46: ONNX Model ir version: 7
[13:09:33] /home/user/MNN-976d1d7c0f916ea8a7acc3d31352789590f00b18/tools/converter/source/onnx/onnxConverter.cpp:47: ONNX Model opset version: 14
Start to Optimize the MNN Net...
Segmentation fault

It happens both with and without --saveStaticModel.
The model used is the pretrained model available, but I tried exporting a model using the updated export_onnx.py script and the problem persists.
The MNN version and flags are the same as defined in the CMakeFiles.txt.

@JiJiJiang
Copy link
Collaborator

@cdliang11 Pls follow this.

@cdliang11 cdliang11 self-assigned this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants