Closed monkeycc closed 2 years ago
i am getting same error when i am trying to train text-recognition .
`: [[1034, 182], [1205, 182], [1205, 222], [1034, 222]], "difficult": false}]\n'] [2023/10/06 14:24:25] ppocr INFO: train dataloader has 6 iters [2023/10/06 14:24:25] ppocr INFO: valid dataloader has 6 iters [2023/10/06 14:24:25] ppocr INFO: load pretrain successful from ./pretrain_models/en_PP-OCRv3_rec_train/best_accuracy [2023/10/06 14:24:25] ppocr INFO: During the training process, after the 0th iteration, an evaluation is run every 2000 iterations [2023/10/06 14:25:53] ppocr ERROR: When parsing line /home/riyaj-atar/Desktop/PaddleOCR/train_data/train_images/4-crop-0.jpg [{"transcription": "WRIGHT", "points": [[822, 124], [934, 124], [934, 155], [822, 155]], "difficult": false}, {"transcription": "RISK", "points": [[940, 122], [1012, 122], [1012, 155], [940, 155]], "difficult": false}, {"transcription": "MANAGEMENT", "points": [[1019, 121], [1198, 121], [1198, 157], [1019, 157]], "difficult": false}, {"transcription": "900", "points": [[826, 158], [880, 158], [880, 185], [826, 185]], "difficult": false}, {"transcription": "STEWART", "points": [[895, 156], [1012, 156], [1012, 188], [895, 188]], "difficult": false}, {"transcription": "AVENUE", "points": [[1019, 160], [1124, 160], [1124, 187], [1019, 187]], "difficult": false}, {"transcription": "SUITE 600", "points": [[1136, 157], [1310, 157], [1310, 189], [1136, 189]], "difficult": false}, {"transcription": "GARDEN", "points": [[827, 192], [932, 192], [932, 223], [827, 223]], "difficult": false}, {"transcription": "CITY,", "points": [[941, 190], [1020, 190], [1020, 221], [941, 221]], "difficult": false}, {"transcription": "NY", "points": [[1030, 183], [1082, 183], [1082, 227], [1030, 227]], "difficult": false}, {"transcription": "11530", "points": [[1089, 192], [1180, 192], [1180, 226], [1089, 226]], "difficult": false}] , error happened with msg: Traceback (most recent call last): File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 161, in getitem outs = transform(data, self.ops) File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/init.py", line 56, in transform data = op(data) File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 47, in call img = tia_distort(img, random.randint(3, 6)) File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/text_image_aug/augment.py", line 60, in tia_distort dst = trans.generate() File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/text_image_aug/warp_mls.py", line 42, in generate return self.gen_img() File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/text_image_aug/warp_mls.py", line 148, in gen_img nx = np.clip(nx, 0, src_w - 1) File "<__array_function__ internals>", line 200, in clip File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2180, in clip return _wrapfunc(a, 'clip', a_min, a_max, out=out, *kwargs) File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc return bound(args, **kwds) File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 136, in _clip if _clip_dep_is_scalar_nan(min): File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 96, in _clip_dep_is_scalar_nan if ndim(a) != 0: File "<__array_function__ internals>", line 200, in ndim RecursionError: maximum recursion depth exceeded
[2023/10/06 14:25:55] ppocr ERROR: When parsing line /home/riyaj-atar/Desktop/PaddleOCR/train_data/train_images/6-crop-0.jpg [{"transcription": "USAA", "points": [[827, 130], [905, 130], [905, 157], [827, 157]], "difficult": false}, {"transcription": "NF", "points": [[909, 122], [951, 122], [951, 159], [909, 159]], "difficult": false}, {"transcription": "INS", "points": [[957, 125], [1013, 125], [1013, 158], [957, 158]], "difficult": false}, {"transcription": "9800", "points": [[825, 158], [897, 158], [897, 187], [825, 187]], "difficult": false}, {"transcription": "FREDERICKSBURG RD,", "points": [[906, 157], [1205, 157], [1205, 191], [906, 191]], "difficult": false}, {"transcription": "SAN ANTONIO,", "points": [[824, 188], [1020, 188], [1020, 226], [824, 226]], "difficult": false}, {"transcription": "TX", "points": [[1029, 189], [1077, 189], [1077, 224], [1029, 224]], "difficult": false}, {"transcription": "78288", "points": [[1086, 186], [1177, 186], [1177, 223], [1086, 223]], "difficult": false}] , error happened with msg: Traceback (most recent call last): File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 161, in getitem outs = transform(data, self.ops) File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/init.py", line 56, in transform data = op(data) File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 53, in call data = self.bda(data) File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 93, in call img = add_gasuss_noise(img) File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 726, in add_gasuss_noise out = np.clip(out, 0, 255) File "<__array_function__ internals>", line 200, in clip File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2180, in clip return _wrapfunc(a, 'clip', a_min, a_max, out=out, *kwargs) File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc return bound(args, **kwds) File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 136, in _clip if _clip_dep_is_scalar_nan(min): File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 96, in _clip_dep_is_scalar_nan if ndim(a) != 0: File "<__array_function__ internals>", line 200, in ndim RecursionError: maximum recursion depth exceeded while calling a Python object
Fatal Python error: Cannot recover from stack overflow. Python runtime state: initialized
Current thread 0x00007fc4da279440 (most recent call first): File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 3185 in ndim File "<__array_function__ internals>", line 200 in ndim File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 96 in _clip_dep_is_scalar_nan File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 136 in _clip File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 57 in _wrapfunc File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2180 in clip File "<__array_function__ internals>", line 200 in clip File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/text_image_aug/warp_mls.py", line 148 in gen_img File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/text_image_aug/warp_mls.py", line 42 in generate File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/text_image_aug/augment.py", line 60 in tia_distort File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 47 in call File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/init.py", line 56 in transform File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 161 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem ...
No stack trace in paddle, may be caused by external reasons.
FatalError: Process abort signal
is detected by the operating system.
[TimeInfo: Aborted at 1696582558 (unix time) try "date -d @1696582558" if you are using GNU date ]
[SignalInfo: SIGABRT (@0x3e800070f3f) received by PID 462655 (TID 0x7fc4da279440) from PID 462655 ]
Fatal Python error: Cannot recover from stack overflow. Python runtime state: initialized
Current thread 0x00007fc4da279440 (most recent call first): File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 3185 in ndim File "<__array_function__ internals>", line 200 in ndim File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 96 in _clip_dep_is_scalar_nan File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/_methods.py", line 136 in _clip File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 57 in _wrapfunc File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2180 in clip File "<__array_function__ internals>", line 200 in clip File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 726 in add_gasuss_noise File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 93 in call File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/rec_img_aug.py", line 53 in call File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/imaug/init.py", line 56 in transform File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 161 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem File "/home/riyaj-atar/Desktop/PaddleOCR/ppocr/data/simple_dataset.py", line 171 in getitem ...
No stack trace in paddle, may be caused by external reasons.
FatalError: Process abort signal
is detected by the operating system.
[TimeInfo: Aborted at 1696582558 (unix time) try "date -d @1696582558" if you are using GNU date ]
[SignalInfo: SIGABRT (@0x3e800070f41) received by PID 462657 (TID 0x7fc4da279440) from PID 462657 ]
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/paddle/io/dataloader/dataloader_iter.py", line 693, in _get_data
data = self._data_queue.get(timeout=self._timeout)
File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/multiprocessing/queues.py", line 108, in get
Traceback (most recent call last):
File "tools/train.py", line 227, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/threading.py", line 870, in run main(config, device, logger, vdl_writer) File "tools/train.py", line 198, in main self._target(*self._args, **self._kwargs) File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/paddle/io/dataloader/dataloader_iter.py", line 604, in _thread_loop program.train(config, train_dataloader, valid_dataloader, device, model, File "/home/riyaj-atar/Desktop/PaddleOCR/tools/program.py", line 269, in train batch = self._get_data() File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/paddle/io/dataloader/dataloader_iter.py", line 708, in _get_data raise RuntimeError( RuntimeError: DataLoader 2 workers exit unexpectedly, pids: 462655, 462657 for idx, batch in enumerate(train_dataloader): File "/home/riyaj-atar/anaconda3/envs/ocr_env/lib/python3.8/site-packages/paddle/io/dataloader/dataloader_iter.py", line 825, in next self._reader.read_nextlist()[0] SystemError: (Fatal) Blocking queue is killed because the data reader raises an exception. [Hint: Expected killed != true, but received killed_:1 == true:1.] (at /paddle/paddle/fluid/operators/reader/blocking_queue.h:175)
`
系统环境/System Environment: win11 python3.7 paddleocr 2.4.0.4 paddlepaddle-gpu 2.2.2.post112
完整报错/Complete Error Message:
python tools/train.py -c configs/det/det_r50_vd_db.yml -o Global.pretrained_model=./pretrain_models/ResNet50_vd_ssld_pretrained