Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
mobilenetv2-7.onnx is used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I used the c++ api of onnxruntime to write a simple demo based on cpu, but it can run normally on the macos platform, but a segment error occurs in the call of run on ios. Does anyone know what the problem is?
macos: 2.8 GHz quad-core Intel Core i7
ios:iphone 11, ios15.0.2
demo:
Ort::Env env(ORT_LOGGING_LEVEL_WARNING, "ort_run");
Ort::SessionOptions session_options;
// session_options.SetGraphOptimizationLevel(GraphOptimizationLevel::ORT_ENABLE_ALL);
Ort::Session session(env, model_path, session_options);
Beta Was this translation helpful? Give feedback.
All reactions