[2023/08/02 18:25:35] ppocr ERROR: When parsing line {"filename": "3_new68_table.png", "html": {"structure": {"tokens": ["<tbody>", "<tr>", "<td", " colspan=\"11\", \">", "</td>", "</tr>", "<tr>", "<td", " colspan=\"2\"", ">", "</td>", "<td", " colspan=\"4\"", ">", "</td>", "<td", " colspan=\"5\"", ">", "</td>", "</tr>", "<tr>", "<td", " colspan=\"2\"", ">", "</td>", "<td", " colspan=\"9\"", ">", "</td>", "</tr>", "<tr>", "<td>", "</td>", "<td", " colspan=\"2\"", ">", "</td>", "<td", " colspan=\"3\"", ">", "</td>", "<td", " colspan=\"2\"", ">", "</td>", "<td", " colspan=\"3\"", ">", "</td>", "<td>", "</td>", "</tr>", "<tr>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " rowspan=\"2\"", ">", "</td>", "<td", " colspan=\"3\"", ">", "</td>", "<td>", "</td>
File "/home/aistudio/PaddleOCR/ppocr/data/pubtab_dataset.py", line 118, in __getitem__
outs = transform(data, self.ops)
File "/home/aistudio/PaddleOCR/ppocr/data/imaug/__init__.py", line 53, in transform
data = op(data)
File "/home/aistudio/PaddleOCR/ppocr/data/imaug/label_ops.py", line 669, in __call__
if 'bbox' in cells[bbox_idx] and len(cells[bbox_idx][
IndexError: list index out of range
在日志中出现了IndexError: list index out of range,一般是Excel中单元格的问题,我的是因为单元格被拉宽,导致每一行后面多了个<td>排查了很久才找到