Sam模型onnx转mlir失败

Viewed 155

onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Resize node. Name:'/Resize_1' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/upsample.h:286 void onnxruntime::UpsampleBase::ScalesValidation(const std::vector&, onnxruntime::UpsampleMode) const scale > 0 was false. Scale value should be greater than 0.

这是转换的报错信息,排除了半天没看明白缩放因子哪里有问题,求教

1 Answers

2023-11-27 17:08:07.020842517 [E:onnxruntime:, sequential_executor.cc:346 Execute] Non-zero status code returned while running Resize node. Name:'/Resize_1' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/upsample.h:286 void onnxruntime::UpsampleBase::ScalesValidation(const std::vector&, onnxruntime::UpsampleMode) const scale > 0 was false. Scale value should be greater than 0.

这是之前的错误日志