assert input_shape[i] == 1 or type(input_shape[i]) != int # noqa: E721 AssertionError #18183
Labels
ep:TensorRT
issues related to TensorRT execution provider
platform:windows
issues related to the Windows platform
stale
issues that have not been addressed in a while; categorized by a bot
Describe the issue
https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#usage
python symbolic_shape_infer.py --input /path/to/onnx/model/model.onnx --output /path/to/onnx/model/new_model.onnx --auto_merge
i get the error while running the above script.
assert input_shape[i] == 1 or type(input_shape[i]) != int # noqa: E721 AssertionError
To reproduce
na
Urgency
No response
Platform
Windows
OS Version
10
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.15
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Other / Unknown
Execution Provider Library Version
11.7
The text was updated successfully, but these errors were encountered: