PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
21.8k stars 5.47k forks source link

使用SLANet模型进行训练,每次读完配置文件就停止了,然后就报错退出程序了:(0xC0000409) #51722

Closed yygc2002 closed 3 months ago

yygc2002 commented 1 year ago

请提出你的问题 Please ask your question

环境配置没问题 Running verify PaddlePaddle program ... W0314 21:36:45.958832 23256 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 12.0, Runtime API Version: 11.2 W0314 21:36:46.247545 23256 gpu_resources.cc:91] device: 0, cuDNN Version: 8.2. PaddlePaddle works well on 1 GPU. PaddlePaddle works well on 1 GPUs. PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.

paddle-bot[bot] commented 1 year ago

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

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 APIFAQGithub Issue and AI community to get the answer.Have a nice day!

yygc2002 commented 1 year ago

配置文件: Global: use_gpu: true epoch_num: 100 log_smooth_window: 20 print_batch_step: 20 save_model_dir: ./output/SLANet save_epoch_step: 400

evaluation is run every 1000 iterations after the 0th iteration

eval_batch_step: [0, 1000] cal_metric_during_train: True pretrained_model: D:\50697\python_pycharm\PaddleOCR-release-2.6\pretrain_models\en_ppstructure_mobile_v2.0_SLANet_train\best_accuracy.pdparams checkpoints: save_inference_dir: ./output/SLANet/infer use_visualdl: False infer_img: ppstructure/docs/table/table.jpg

for data or label process

character_dict_path: ../ppocr/utils/dict/table_structure_dict.txt character_type: en max_text_length: &max_text_length 500 box_format: &box_format 'xyxy' # 'xywh', 'xyxy', 'xyxyxyxy' infer_mode: False use_sync_bn: True save_res_path: 'output/infer'

Optimizer: name: Adam beta1: 0.9 beta2: 0.999 clip_norm: 5.0 lr: name: Piecewise learning_rate: 0.001 decay_epochs : [40, 50] values : [0.001, 0.0001, 0.00005] regularizer: name: 'L2' factor: 0.00000

Architecture: model_type: table algorithm: SLANet Backbone: name: PPLCNet scale: 1.0 pretrained: true use_ssld: true Neck: name: CSPPAN out_channels: 96 Head: name: SLAHead hidden_size: 256 max_text_length: *max_text_length loc_reg_num: &loc_reg_num 4

Loss: name: SLALoss structure_weight: 1.0 loc_weight: 2.0 loc_loss: smooth_l1

PostProcess: name: TableLabelDecode merge_no_span_structure: &merge_no_span_structure True

Metric: name: TableMetric main_indicator: acc compute_bbox_metric: False loc_reg_num: loc_reg_num box_format: box_format

Train: dataset: name: PubTabDataSet data_dir: D:\50697\python_pycharm\data\pubtabnet\train\ label_file_list: [D:\50697\python_pycharm\data\pubtabnet\PubTabNet_2.0.0_train.jsonl] transforms:

Eval: dataset: name: PubTabDataSet data_dir: D:\50697\python_pycharm\data\pubtabnet\val\ label_file_list: [D:\50697\python_pycharm\data\pubtabnet\PubTabNet_2.0.0_val.jsonl] transforms:

yygc2002 commented 1 year ago

数据集就是pubtabnet

zmxdream commented 1 year ago

你好,请到PaddleOCR下提issue

paddle-bot[bot] commented 3 months ago

Since you haven\'t replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。