Bug 运行久了出现了错误 #257
Replies: 5 comments 3 replies
-
请给出具体运行环境和运行代码,越详细越好 |
Beta Was this translation helpful? Give feedback.
-
代码: 运行在 centos 9 stream , python 3.11, 运行了一天之后出现错误:onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running ReorderOutput node. Name:'ReorderOutput_token_221' Status Message: GetElementType is not implemented, |
Beta Was this translation helpful? Give feedback.
-
还有一个问题 运行久了 内存一直飙升是什么问题 |
Beta Was this translation helpful? Give feedback.
-
准确说是内存缓慢上升 |
Beta Was this translation helpful? Give feedback.
-
Nov 14 00:01:06 VM-12-17-centos uwsgi[3112532]: The above exception was the direct cause of the following exception: |
Beta Was this translation helpful? Give feedback.
-
问题描述 / Problem Description
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running ReorderOutput node. Name:'ReorderOutput_token_221' Status Message: GetElementType is not implemented
result_ocr, elapse = yolomodels.OCRengine(image)
File "/usr/local/python311/lib/python3.11/site-packages/rapidocr_onnxruntime
dt_boxes, det_elapse = self.auto_text_det(img)
File "/usr/local/python311/lib/python3.11/site-packages/rapidocr_onnxruntime /main.py", line 156, in auto_text_det
dt_boxes, det_elapse = self.text_det(img)
File "/usr/local/python311/lib/python3.11/site-packages/rapidocr_onnxruntime/ch_ppocr_det/text_detect.py", line 56, in call
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: preds = self.infer(prepro_img)[0]
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: ^^^^^^^^^^^^^^^^^^^^^^
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: File "/usr/local/python311/lib/python3.11/site-packages/rapidocr_onnxruntime/utils/infer_engine.py", line 199, in call
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: raise ONNXRuntimeError(error_info) from e
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: rapidocr_onnxruntime.utils.infer_engine.ONNXRuntimeError: Traceback (most recent call last):
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: File "/usr/local/python311/lib/python3.11/site-packages/rapidocr_onnxruntime/utils/infer_engine.py", line 196, in call
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: return self.session.run(self.get_output_names(), input_dict)
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: File "/usr/local/python311/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 220, in run
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: return self._sess.run(output_names, input_feed, run_options)
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 12 06:40:12 VM-12-17-centos uwsgi[613753]: onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running ReorderOutput node. Name:'ReorderOutput_token_221' Status Message: GetElementType is not implemented
运行环境 / Runtime Environment
python 3.11 Linux
复现代码 / Reproduction Code
可能解决方案 / Possible solutions
Beta Was this translation helpful? Give feedback.
All reactions