Open vishal-nayak1 opened 1 year ago
@vishal-nayak1 Hi,
the setting of bbox is the same in both models - (left, top, left+width, top+height) (normalized in range of 0~1000).
ernie-layout: https://github.com/PaddlePaddle/PaddleNLP/blob/develop/paddlenlp/transformers/ernie_layout/modeling.py#L140
@linjieccc Got it Thanks!
请提出你的问题
Hi, how bbox and segment bbox coordinates in ernie-layout are different from layoutlm model input bbox values? Also is the bbox values of layoutlm is similar to bbox coordinates values of ernie-layout? Are they normalised coordinates?
bbox In ernie layout - left, top, width, height (normalized) bbox in layoutlm - (left, top, left+width, top+height) (normalized) is it right?