使用paddleOCR中的表格模型做推理的时候出现如下报错 #12982
Unanswered
RunZe-Attention
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
success input_tensor
Enter OneHotRawKernel
After Step1
After Step2
Begin phi::VisitDataType
初始Kernel datatype int32
输入dtype: float32
Enter OneHotV2OpFunctor apply
int32
int32
Center point
Finish OneHotV2OpFunctor apply
Enter OneHotRawKernel
After Step1
After Step2
Begin phi::VisitDataType
初始Kernel datatype int32
输入dtype: float32
Enter OneHotV2OpFunctor apply
int64
int32
Exception occurred during self.predictor.run(): In user code:
success predictor .......................
INFO: 10.2.216.124:5463 - "POST /table_ocr/predict HTTP/1.1" 500 Internal Server Error
--- Logging error ---
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib64/python3.7/logging/init.py", line 1025, in emit
msg = self.format(record)
File "/usr/lib64/python3.7/logging/init.py", line 869, in format
return fmt.format(record)
File "/usr/lib64/python3.7/logging/init.py", line 616, in format
record.exc_text = self.formatException(record.exc_info)
File "/usr/lib64/python3.7/logging/init.py", line 566, in formatException
traceback.print_exception(ei[0], ei[1], tb, None, sio)
File "/usr/lib64/python3.7/traceback.py", line 104, in print_exception
type(value), value, tb, limit=limit).format(chain=chain):
File "/usr/lib64/python3.7/traceback.py", line 521, in init
self._load_lines()
File "/usr/lib64/python3.7/traceback.py", line 533, in _load_lines
self.context._load_lines()
File "/usr/lib64/python3.7/traceback.py", line 533, in _load_lines
self.context._load_lines()
File "/usr/lib64/python3.7/traceback.py", line 531, in _load_lines
frame.line
File "/usr/lib64/python3.7/traceback.py", line 285, in line
self._line = linecache.getline(self.filename, self.lineno).strip()
File "/usr/lib64/python3.7/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
File "/usr/lib64/python3.7/linecache.py", line 47, in getlines
return updatecache(filename, module_globals)
File "/usr/lib64/python3.7/linecache.py", line 137, in updatecache
lines = fp.readlines()
File "/usr/lib64/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 5386: invalid continuation byte
Call stack:
File "app_xpu.py", line 211, in
uvicorn.run(app, host="0.0.0.0", port=8869)
File "/usr/local/lib/python3.7/site-packages/uvicorn/main.py", line 569, in run
server.run()
Beta Was this translation helpful? Give feedback.
All reactions