We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error merging shape info for output.
[W:onnxruntime:, graph.cc:109 MergeShapeInfo] Error merging shape info for output. 'onnx::Add_15' source:{5,50,1} target:{1,5,50,1}. Falling back to lenient merge.
import onnxruntime as rt sess_options = rt.SessionOptions() # Set graph optimization level sess_options.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_EXTENDED # To enable model serialization after graph optimization set this sess_options.optimized_model_filepath = "opt_model.onnx" session = rt.InferenceSession("model.onnx", sess_options)
Notice:
sess_options.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_EXTENDED
→ error
sess_options.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_BASIC
→run well
no response
Linux
Ubuntu 12.04
Built from Source
Python
CUDA
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Error merging shape info for output.
Error message
To reproduce
Notice:
sess_options.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_EXTENDED
→ error
sess_options.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_BASIC
→run well
Urgency
no response
Platform
Linux
OS Version
Ubuntu 12.04
ONNX Runtime Installation
Built from Source
ONNX Runtime APl
Python
Execution Provider
CUDA
The text was updated successfully, but these errors were encountered: