I'm trying to use a model with onnxruntime that does some preprocessing on a sequence of input images. Among other nodes, I have a CenterCropPad inside of a subgraph, that is the body of a SequenceMap. This however causes the constructor of onnxruntime.InferenceSession to throw an exception.
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
Describe the issue
I'm trying to use a model with onnxruntime that does some preprocessing on a sequence of input images. Among other nodes, I have a CenterCropPad inside of a subgraph, that is the body of a SequenceMap. This however causes the constructor of onnxruntime.InferenceSession to throw an exception.
To reproduce
If I try to just run the subgraph on its own, everything works fine:
If I switch the crop to a resize, that also works:
Urgency
Affected project is for my own amusement, so it's not particularly urgent.
Platform
Linux
OS Version
Debian GNU/Linux 12 (bookworm)
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.19.2
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response