SER 本地使用预训练模型预测 TypeError: _infer() got an unexpected keyword argument 'attention_masks' #12472
Unanswered
StarSapph1re
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.
-
File "E:\home\aistudio\PaddleOCR\tools\infer_vqa_token_ser.py", line 132, in
result, _ = ser_engine(img_path)
File "E:\home\aistudio\PaddleOCR\tools\infer_vqa_token_ser.py", line 105, in call
post_result = self.post_process_class(
File "E:\home\aistudio\PaddleOCR\ppocr\postprocess\vqa_token_ser_layoutlm_postprocess.py", line 52, in call
return self._infer(preds, **kwargs)
TypeError: _infer() got an unexpected keyword argument 'attention_masks'
我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide AceIssueSolver to solve issues, do you want it? (Please write yes/no):yes
Beta Was this translation helpful? Give feedback.
All reactions