layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

Might PubLayNet label mapping be incorrect?

Open opyate opened this issue 2 years ago • 0 comments

Hello, thanks for this very useful toolkit.

According to the official PubLayNet docs, they had this mapping:

Category id Label
0 Background
1 Text
2 Title
3 List
4 Table
5 Figure

But in the model zoo docs, you specify this mapping:

{0: "Text", 1: "Title", 2: "List", 3:"Table", 4:"Figure"}

Please advise on the discrepancy. Kind regards!

opyate avatar Mar 30 '23 09:03 opyate