Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
Apache License 2.0
41.13k
stars
7.54k
forks
source link
padded_polygon = np.array(padding.Execute(distance)[0]) IndexError: list index out of range #11005
当我训练ppocrv4_student.yml文件的时候 出现以下问题?请问该如何解决? [2023/09/26 21:17:23] ppocr ERROR: When parsing line crop_img/DL54532.jpg [{"transcription": "kV311东欣线", "points": [[1407, 782], [1521, 752], [1525, 772], [1413, 806]], "difficult": true}, {"transcription": "20号", "points": [[1410, 815], [1508, 793], [1519, 837], [1421, 860]], "difficult": false}, {"transcription": "20号", "points": [[1178, 885], [1252, 858], [1264, 891], [1189, 917]], "difficult": false}, {"transcription": "35kV324耀华线", "points": [[1169, 858], [1280, 821], [1283, 839], [1167, 875]], "difficult": true}] , error happened with msg: Traceback (most recent call last): File "/home/xuguozhu/project/PaddleOCR-dygraph/ppocr/data/simple_dataset.py", line 153, in getitem outs = transform(data, self.ops) File "/home/xuguozhu/project/PaddleOCR-dygraph/ppocr/data/imaug/init.py", line 56, in transform data = op(data) File "/home/xuguozhu/project/PaddleOCR-dygraph/ppocr/data/imaug/make_border_map.py", line 64, in call self.draw_border_map(text_polys[i], canvas, mask=mask) File "/home/xuguozhu/project/PaddleOCR-dygraph/ppocr/data/imaug/make_border_map.py", line 85, in draw_border_map padded_polygon = np.array(padding.Execute(distance)[0]) IndexError: list index out of range