SER进行推理预测后,只能将图片一部分的实体进行识别,后面的实体都会标注为other #14897
Unanswered
eunij-peanut
asked this question in
Q&A
Replies: 1 comment
-
你的问题是 SER 进行推理预测后,只能识别图像中部分实体,后面的实体都会被标注为 "other"。从代码来看,这可能是由于 问题分析
解决方案要让 整个序列的数据都能被正确地处理和预测,可以考虑以下修改: 方法 1:返回
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
SER进行推理预测后,只能将图片一部分的实体进行识别,后面的实体都会标注为other,在过往的issue里有类似的问题,请问该如何修改代码得到全部的序列?
`class VQASerTokenChunk(object):
def init(self, max_seq_len=512, infer_mode=False, **kwargs): # max_seq_len=512
self.max_seq_len = max_seq_len
self.infer_mode = infer_mode
Beta Was this translation helpful? Give feedback.
All reactions