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

not work in ONNX opset v19 #18

Open
shannnl opened this issue May 9, 2024 · 0 comments
Open

not work in ONNX opset v19 #18

shannnl opened this issue May 9, 2024 · 0 comments

Comments

@shannnl
Copy link

shannnl commented May 9, 2024

final session = OrtSession.fromBuffer(bytes, sessionOptions);

is not support for onnx opset v19, but run in opset v18 is successful.

the log when I run using onnx opset v19:

E/flutter (25106): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: code=9, message=Could not find an implementation for Shape(19) node with name '/model.22/Shape'
E/flutter (25106): #0      OrtStatus.checkOrtStatus (package:onnxruntime/src/ort_status.dart:29:5)
E/flutter (25106): #1      new OrtSession.fromBuffer (package:onnxruntime/src/ort_session.dart:62:15)
E/flutter (25106): #2      singleImageRun (package:flutter_onnx/detecter/process/onnx_run.dart:46:30)
E/flutter (25106): <asynchronous suspension>
E/flutter (25106): 
I/Camera  (25106): close
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

1 participant