You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`FATAL EXCEPTION: main
Process: com.xmut.openvinotest1, PID: 20544
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xmut.openvinotest1/com.xmut.openvinotest1.MainActivity}: java.lang.Exception:
InferenceEngineException:
ReadModel: Exception from src/inference/src/cpp/core.cpp:90:
Exception from src/inference/src/model_reader.cpp:160:
Unable to read the model: /storage/emulated/0/data/rec.onnx Please check that model format: onnx is supported and the model is correct. Available frontends:
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3177)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3314)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:113)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:71)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2043)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7096)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
Caused by: java.lang.Exception:
InferenceEngineException:
ReadModel: Exception from src/inference/src/cpp/core.cpp:90:
Exception from src/inference/src/model_reader.cpp:160:
Unable to read the model: /storage/emulated/0/data/rec.onnx Please check that model format: onnx is supported and the model is correct. Available frontends:
at org.intel.openvino.Core.ReadModel(Native Method)
at org.intel.openvino.Core.read_model(Core.java:31)
at com.xmut.openvinotest1.MainActivity.onCreate(MainActivity.java:34)
at android.app.Activity.performCreate(Activity.java:7264)
at android.app.Activity.performCreate(Activity.java:7255)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3157)
... 11 more`
The text was updated successfully, but these errors were encountered:
CARLPC
changed the title
[java_api]"Unable to read ONNX model on Android platform" or "ONNX model loading issue on Android platform"
[java_api]"Unable to read ONNX model on Android platform"
Nov 25, 2024
`FATAL EXCEPTION: main
Process: com.xmut.openvinotest1, PID: 20544
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xmut.openvinotest1/com.xmut.openvinotest1.MainActivity}: java.lang.Exception:
InferenceEngineException:
ReadModel: Exception from src/inference/src/cpp/core.cpp:90:
Exception from src/inference/src/model_reader.cpp:160:
Unable to read the model: /storage/emulated/0/data/rec.onnx Please check that model format: onnx is supported and the model is correct. Available frontends:
The text was updated successfully, but these errors were encountered: