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

MNNConvert crashes on Windows but runs on Mac when converting an onnx model #3151

Open
K-prog opened this issue Jan 6, 2025 · 2 comments
Open
Labels
question Further information is requested

Comments

@K-prog
Copy link

K-prog commented Jan 6, 2025

MNN Covert built from hash: f0454f6

When I try to convert onnx model to MNN via MNNConvert in windows it crahes

image

When done in Mac(MNNConvert built on the same hash) it runs properly

image

Model Link

@jxt1234
Copy link
Collaborator

jxt1234 commented Jan 7, 2025

try build release version in windows?

@jxt1234 jxt1234 added the question Further information is requested label Jan 7, 2025
@K-prog
Copy link
Author

K-prog commented Jan 9, 2025

not able to build the release version I think, is there any specific flag for it?
build command used:

cmake .. -DMNN_BUILD_CONVERTER=ON -DMNN_SEP_BUILD=OFF -DMNN_BUILD_SHARED_LIBS=OFF -DMNN_WIN_RUNTIME_MT=ON
cmake --build . -j16

executing this generates the binary in debug folder
Using MSVC for compilation, also found this in the cmake file
image

The binary works fine with other models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants