List index out of range #12435
Unanswered
xiaozhou0311
asked this question in
Q&A
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
你好 请问修改完后 是不是要重新标注数据集,才能正常训练 |
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.
-
023/12/05 15:58:17] ppocr INFO: During the training process, after the 0th iteration, an evaluation is run every 3 iterations
[2023/12/05 15:58:33] ppocr ERROR: When parsing line
, error happened with msg: Traceback (most recent call last):
File "E:\AI_Code\PaddleOCR-2.7.1\ppocr\data\simple_dataset.py", line 150, in getitem
label = substr[1]
IndexError: list index out of range
[2023/12/05 15:58:37] ppocr INFO: cur metric, precision: 0.8888888888888888, recall: 1.0, hmean: 0.9411764705882353, fps: 1.2720649282331695
[2023/12/05 15:58:37] ppocr INFO: save best model is to ./output/ch_PP-OCR_V3_det/best_accuracy
[2023/12/05 15:58:37] ppocr INFO: best metric, hmean: 0.9411764705882353, is_float16: False, precision: 0.8888888888888888, recall: 1.0, fps: 1.2720649282331695, best_epoch: 1
[2023/12/05 15:58:53] ppocr ERROR: When parsing line
, error happened with msg: Traceback (most recent call last):
File "E:\AI_Code\PaddleOCR-2.7.1\ppocr\data\simple_dataset.py", line 150, in getitem
label = substr[1]
IndexError: list index out of range
[2023/12/05 15:58:57] ppocr INFO: cur metric, precision: 0.8888888888888888, recall: 1.0, hmean: 0.9411764705882353, fps: 1.2869010204678446
修改了标签文件txt之间多余的空格后,在加载数据的时候没有出现 label = substr[1],但是训练的时候就出现了
Beta Was this translation helpful? Give feedback.
All reactions