optimizer icon indicating copy to clipboard operation
optimizer copied to clipboard

Pass "eliminate_shape_gather" results in a dimension size error.

Open researcher-no-name opened this issue 8 months ago • 0 comments
trafficstars

While running eliminate_shape_gather pass for model R-CNN R-50-FPN obtained from ONNX Hub with opset=10.

I receive the error: onnxoptimizer/passes/eliminate_shape_gather.h:48: runTransform: Assertion "indices_val < dims.size()" failed.

researcher-no-name avatar Mar 05 '25 11:03 researcher-no-name