Open shannnl opened 1 month ago
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
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: