-
-
Notifications
You must be signed in to change notification settings - Fork 514
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
问题描述 / Problem Description
使用ch_mobile, 或者使用onnx+ch_server都正常,
ch_server+openvino会报异常
File "ok\\__init__.pyx", line 3128, in ok.OCR.rapid_ocr
result = self.executor.ocr_lib(image, use_det=True, use_cls=False, use_rec=True)
File "D:\projects\sanmou\.venv\Lib\site-packages\rapidocr\main.py", line 118, in __call__
det_res = self.text_det(img)
^^^^^^^^^^^^^^^^^^
File "D:\projects\sanmou\.venv\Lib\site-packages\rapidocr\ch_ppocr_det\main.py", line 59, in __call__
preds = self.session(prepro_img)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\projects\sanmou\.venv\Lib\site-packages\rapidocr\inference_engine\openvino.py", line 53, in __call__
raise OpenVIONError(error_info) from e
rapidocr.inference_engine.openvino.OpenVIONError: Traceback (most recent call last):
File "D:\projects\sanmou\.venv\Lib\site-packages\rapidocr\inference_engine\openvino.py", line 50, in __call__
return self.session.get_output_tensor().data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Exception from src\inference\src\cpp\infer_request.cpp:219:
Check 'outputs.size() == 1' failed at src\inference\src\cpp\infer_request.cpp:219:
get_output_tensor() must be called on a function with exactly one parameter.
运行环境 / Runtime Environment
复现代码 / Reproduction Code
可能解决方案 / Possible solutions
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed