https://aistudio.baidu.com/aistudio/projectdetail/2116085?shared=1
训练的是paddle OCR
[Errno 2] No such file or directory: './work/my-paddle-ocr/'
/home/aistudio/work/my-paddle-ocr
[2021/06/28 16:17:58] root INFO: Architecture :
[2021/06/28 16:17:58] root INFO: Backbone :
[2021/06/28 16:17:58] root INFO: model_name : small
[2021/06/28 16:17:58] root INFO: name : MobileNetV3
[2021/06/28 16:17:58] root INFO: scale : 0.35
[2021/06/28 16:17:58] root INFO: Head :
[2021/06/28 16:17:58] root INFO: class_dim : 3
[2021/06/28 16:17:58] root INFO: name : LClsHead
[2021/06/28 16:17:58] root INFO: Neck : None
[2021/06/28 16:17:58] root INFO: Transform : None
[2021/06/28 16:17:58] root INFO: algorithm : LCLS
[2021/06/28 16:17:58] root INFO: model_type : lcls
[2021/06/28 16:17:58] root INFO: Eval :
[2021/06/28 16:17:58] root INFO: dataset :
[2021/06/28 16:17:58] root INFO: data_dir : ./train_data/Lcls/train
[2021/06/28 16:17:58] root INFO: label_file_list : ['./train_data/Lcls/test.txt']
[2021/06/28 16:17:58] root INFO: name : SimpleDataSet
[2021/06/28 16:17:58] root INFO: transforms :
[2021/06/28 16:17:58] root INFO: DecodeImage :
[2021/06/28 16:17:58] root INFO: channel_first : False
[2021/06/28 16:17:58] root INFO: img_mode : BGR
[2021/06/28 16:17:58] root INFO: ClsLabelEncode : None
[2021/06/28 16:17:58] root INFO: ClsResizeImg :
[2021/06/28 16:17:58] root INFO: image_shape : [3, 48, 192]
[2021/06/28 16:17:58] root INFO: KeepKeys :
[2021/06/28 16:17:58] root INFO: keep_keys : ['image', 'label']
[2021/06/28 16:17:58] root INFO: loader :
[2021/06/28 16:17:58] root INFO: batch_size_per_card : 512
[2021/06/28 16:17:58] root INFO: drop_last : False
[2021/06/28 16:17:58] root INFO: num_workers : 0
[2021/06/28 16:17:58] root INFO: shuffle : False
[2021/06/28 16:17:58] root INFO: Global :
[2021/06/28 16:17:58] root INFO: cal_metric_during_train : True
[2021/06/28 16:17:58] root INFO: checkpoints : None
[2021/06/28 16:17:58] root INFO: debug : False
[2021/06/28 16:17:58] root INFO: distributed : False
[2021/06/28 16:17:58] root INFO: epoch_num : 100
[2021/06/28 16:17:58] root INFO: eval_batch_step : [0, 1000]
[2021/06/28 16:17:58] root INFO: infer_img : doc/imgs_words_en/word_10.png
[2021/06/28 16:17:58] root INFO: label_list : ['Latin', 'Chinese', 'Japanese']
[2021/06/28 16:17:58] root INFO: log_smooth_window : 20
[2021/06/28 16:17:58] root INFO: pretrained_model : None
[2021/06/28 16:17:58] root INFO: print_batch_step : 10
[2021/06/28 16:17:58] root INFO: save_epoch_step : 3
[2021/06/28 16:17:58] root INFO: save_inference_dir : None
[2021/06/28 16:17:58] root INFO: save_model_dir : ./output/Lcls/mv3/
[2021/06/28 16:17:58] root INFO: use_gpu : True
[2021/06/28 16:17:58] root INFO: use_visualdl : False
[2021/06/28 16:17:58] root INFO: Loss :
[2021/06/28 16:17:58] root INFO: name : LClsLoss
[2021/06/28 16:17:58] root INFO: Metric :
[2021/06/28 16:17:58] root INFO: main_indicator : acc
[2021/06/28 16:17:58] root INFO: name : LClsMetric
[2021/06/28 16:17:58] root INFO: Optimizer :
[2021/06/28 16:17:58] root INFO: beta1 : 0.9
[2021/06/28 16:17:58] root INFO: beta2 : 0.999
[2021/06/28 16:17:58] root INFO: lr :
[2021/06/28 16:17:58] root INFO: learning_rate : 0.001
[2021/06/28 16:17:58] root INFO: name : Cosine
[2021/06/28 16:17:58] root INFO: name : Adam
[2021/06/28 16:17:58] root INFO: regularizer :
[2021/06/28 16:17:58] root INFO: factor : 0
[2021/06/28 16:17:58] root INFO: name : L2
[2021/06/28 16:17:58] root INFO: PostProcess :
[2021/06/28 16:17:58] root INFO: name : LClsPostProcess
[2021/06/28 16:17:58] root INFO: Train :
[2021/06/28 16:17:58] root INFO: dataset :
[2021/06/28 16:17:58] root INFO: data_dir : ./train_data/Lcls/train
[2021/06/28 16:17:58] root INFO: label_file_list : ['./train_data/Lcls/train.txt']
[2021/06/28 16:17:58] root INFO: name : SimpleDataSet
[2021/06/28 16:17:58] root INFO: transforms :
[2021/06/28 16:17:58] root INFO: DecodeImage :
[2021/06/28 16:17:58] root INFO: channel_first : False
[2021/06/28 16:17:58] root INFO: img_mode : BGR
[2021/06/28 16:17:58] root INFO: ClsLabelEncode : None
[2021/06/28 16:17:58] root INFO: RecAug :
[2021/06/28 16:17:58] root INFO: use_tia : False
[2021/06/28 16:17:58] root INFO: RandAugment : None
[2021/06/28 16:17:58] root INFO: ClsResizeImg :
[2021/06/28 16:17:58] root INFO: image_shape : [3, 48, 192]
[2021/06/28 16:17:58] root INFO: KeepKeys :
[2021/06/28 16:17:58] root INFO: keep_keys : ['image', 'label']
[2021/06/28 16:17:58] root INFO: loader :
[2021/06/28 16:17:58] root INFO: batch_size_per_card : 512
[2021/06/28 16:17:58] root INFO: drop_last : True
[2021/06/28 16:17:58] root INFO: num_workers : 0
[2021/06/28 16:17:58] root INFO: shuffle : True
[2021/06/28 16:17:58] root INFO: train with paddle 2.1.0 and device CUDAPlace(0)
[2021/06/28 16:17:58] root INFO: Initialize indexs of datasets:['./train_data/Lcls/train.txt']
[2021/06/28 16:17:58] root INFO: Initialize indexs of datasets:['./train_data/Lcls/test.txt']
W0628 16:17:58.136757 10022 device_context.cc:404] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 10.1, Runtime API Version: 10.1
W0628 16:17:58.141419 10022 device_context.cc:422] device: 0, cuDNN Version: 7.6.
[2021/06/28 16:18:02] root INFO: train from scratch
[2021/06/28 16:18:02] root INFO: train dataloader has 26 iters
[2021/06/28 16:18:02] root INFO: valid dataloader has 27 iters
[2021/06/28 16:18:02] root INFO: During the training process, after the 0th iteration, an evaluation is run every 1000 iterations
[2021/06/28 16:18:02] root INFO: Initialize indexs of datasets:['./train_data/Lcls/train.txt']
[2021/06/28 16:18:03] root ERROR: When parsing line tr_img_02841_1.jpg Latin
, error happened with msg: maximum recursion depth exceeded while calling a Python object
Fatal Python error: Cannot recover from stack overflow.
Current thread 0x00007fd2c74b2700 (most recent call first):
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 86 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
File "/home/aistudio/work/my-paddle-ocr/ppocr/data/simple_dataset.py", line 97 in __getitem__
...
Thread 0x00007fd3cdee5700 (most recent call first):
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dataloader/dataloader_iter.py", line 204 in __next__
File "/home/aistudio/work/my-paddle-ocr/tools/program.py", line 204 in train
File "tools/train.py", line 102 in main
File "tools/train.py", line 125 in <module>
--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0 paddle::framework::SignalHandle(char const*, int)
1 paddle::platform::GetCurrentTraceBackString[abi:cxx11]()
----------------------
Error Message Summary:
----------------------
FatalError: `Process abort signal` is detected by the operating system.
[TimeInfo:***Aborted at 1624868283 (unix time) try "date -d @1624868283" if you are using GNU date***]
[SignalInfo:***SIGABRT (@0x3e800002726) received by PID 10022 (TID 0x7fd2c74b2700) from PID 10022***]
Aborted (core dumped)
4条答案
按热度按时间j2qf4p5b1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
vddsk6oq2#
这个一般是标注出错了,建议检查下文件是否是\t分割,文件路径对不对
p3rjfoxz3#
诶 都尝试过了 文件按路径可以打开,报错的地方的文件也可以打开,分割也看了没得问题
没辙了。
尝试打印所有读取文件,还是没发现问题所在。
就是有个疑惑,为啥读取文件的时候顺序不固定的??整个列表的顺序很乱
jv2fixgn4#
文件读取不出来是另一种提示,这个应该是读取到了。
555 大佬有其他联系方式吗,可以付费咨询吗? 帮我仔细看一下