Closed zyj0721 closed 3 months ago
同问
我也遇到这样的问题
完整报错/Complete Error Message:没有报错
Global: debug: true use_gpu: true epoch_num: &epoch_num 2400 log_smooth_window: 20 print_batch_step: 100 save_model_dir: ./output/ch_PP-OCRv4 save_epoch_step: 100 eval_batch_step:
Architecture: model_type: det algorithm: DB Transform: null Backbone: name: PPHGNet_small det: True Neck: name: LKPAN out_channels: 256 intracl: true Head: name: PFHeadLocal k: 50 mode: "large"
Loss: name: DBLoss balance_loss: true main_loss_type: DiceLoss alpha: 5 beta: 10 ohem_ratio: 3
Optimizer: name: Adam beta1: 0.9 beta2: 0.999 lr: name: Cosine learning_rate: 0.01 #(8*8c) warmup_epoch: 2 regularizer: name: L2 factor: 1e-6
PostProcess: name: DBPostProcess thresh: 0.3 box_thresh: 0.6 max_candidates: 1000 unclip_ratio: 1.5
Metric: name: DetMetric main_indicator: hmean
Train: dataset: name: SimpleDataSet data_dir: ./train_data/ label_file_list:
Eval: dataset: name: SimpleDataSet data_dir: ./train_data/ label_file_list:
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
`Global: debug: false use_gpu: false epoch_num: 10 log_smooth_window: 2 print_batch_step: 1 save_model_dir: ./output/rec_ppocr_v3 save_epoch_step: 3 eval_batch_step: [0, 2] cal_metric_during_train: true pretrained_model: ./pretrain_models/ch_ppocr_server_v2.0_rec_train/best_accuracy.pdparams checkpoints: save_inference_dir: use_visualdl: false infer_img: doc/imgs_words/ch/word_1.jpg character_dict_path: ppocr/utils/ppocr_keys_v1.txt max_text_length: &max_text_length 250 infer_mode: false use_space_char: true distributed: true save_res_path: ./output/rec/predicts_ppocrv3.txt
Optimizer: name: Adam beta1: 0.9 beta2: 0.999 lr: name: Cosine learning_rate: 0.001 warmup_epoch: 5 regularizer: name: L2 factor: 3.0e-05
Architecture: model_type: rec algorithm: SVTR_LCNet Transform: Backbone: name: MobileNetV1Enhance scale: 0.5 last_conv_stride: [1, 2] last_pool_type: avg last_pool_kernel_size: [2, 2] Head: name: MultiHead head_list:
Loss: name: MultiLoss loss_config_list:
PostProcess:
name: CTCLabelDecode
Metric: name: RecMetric main_indicator: acc ignore_space: False
Train: dataset: name: SimpleDataSet data_dir: ./train_data/ ext_op_transform_idx: 1 label_file_list:
能够正常生成iter_epoch_n.文件,但是一直没有best_accuracy.,请问这是什么原因呢?