pdf_to_docx icon indicating copy to clipboard operation
pdf_to_docx copied to clipboard

报错InvalidArgumentError

Open yiyahei-eng opened this issue 1 year ago • 0 comments

File "C:\Users\Lenovo\AppData\Roaming\Python\Python312\site-packages\paddleocr\ppstructure\table\predict_table.py", line 118, in _structure structure_res, elapse = self.table_structurer(copy.deepcopy(img)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Lenovo\AppData\Roaming\Python\Python312\site-packages\paddleocr\ppstructure\table\predict_structure.py", line 140, in call self.predictor.run() ValueError: In user code:

InvalidArgumentError: The shape of input[0] and input[1] is expected to be equal.But received input[0]'s shape = [], input[1]'s shape = [1].
  [Hint: Expected inputs_dims[i].size() == out_dims.size(), but received inputs_dims[i].size():1 != out_dims.size():0.] (at ..\paddle/phi/kernels/funcs/concat_funcs.h:55)
  [operator < pd_kernel.phi_kernel > error]

yiyahei-eng avatar Dec 21 '24 04:12 yiyahei-eng