Skip to content
New issue

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

RUNTIME_EXCEPTION : Non-zero status code returned while running Resize node #4

Open
JiaPai12138 opened this issue Jun 10, 2022 · 0 comments

Comments

@JiaPai12138
Copy link

您好 在直接使用py代码时出现以下问题

2022-06-10 16:25:20.0589966 [E:onnxruntime:, sequential_executor.cc:368 onnxruntime::SequentialExecutor::Execute] Non-zero status code returned while running Resize node. Name:'Resize_0' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\MLOperatorAuthorImpl.cpp(1856)\onnxruntime_pybind11_state.pyd!00007FFF12A2ABAA: (caller: 00007FFF12A2A8B5) Exception(1) tid(59c) 80070057 The parameter is incorrect.

Traceback (most recent call last):
  File "E:\yoloe\main.py", line 61, in <module>
    srcimg = net.detect(srcimg)
  File "E:\yoloe\main.py", line 35, in detect
    output = self.session.run(None, ort_inputs)
  File "D:\Development\Environment\Python39\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 192, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Resize node. Name:'Resize_0' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\MLOperatorAuthorImpl.cpp(1856)\onnxruntime_pybind11_state.pyd!00007FFF12A2ABAA: (caller: 00007FFF12A2A8B5) Exception(1) tid(59c) 80070057 The parameter is incorrect.

查了下可能是模型转换问题 或者与最新版的onnxruntime不兼容导致
onnxruntime 版本: 1.11.1
我参考的链接
微信图片_20220610173246

也可能是directml的问题 不确定
还请大佬解惑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant