diff --git a/configs/rec/rec_mv3_none_bilstm_ctc.yml b/configs/rec/rec_mv3_none_bilstm_ctc.yml index 7119e0e2bd5ee190025d30f37dcfbd25661b6b6c..3f30afcb4b89644883718300227842b7cb51e6b7 100644 --- a/configs/rec/rec_mv3_none_bilstm_ctc.yml +++ b/configs/rec/rec_mv3_none_bilstm_ctc.yml @@ -3,7 +3,7 @@ Global: epoch_num: 500 log_smooth_window: 20 print_batch_step: 10 - save_model_dir: ./output/rec/test/ + save_model_dir: ./output/rec/mv3_none_bilstm_ctc/ save_epoch_step: 500 # evaluation is run every 5000 iterations after the 4000th iteration eval_batch_step: 127 @@ -11,7 +11,7 @@ Global: load_static_weights: True cal_metric_during_train: True pretrained_model: - checkpoints: #output/rec/rec_crnn/best_accuracy + checkpoints: save_inference_dir: use_visualdl: False infer_img: doc/imgs_words/ch/word_1.jpg @@ -66,9 +66,9 @@ Metric: TRAIN: dataset: name: SimpleDataSet - data_dir: /home/zhoujun20/rec + data_dir: ./rec file_list: - - /home/zhoujun20/rec/real_data.txt # dataset1 + - ./rec/real_data.txt # dataset1 ratio_list: [ 0.4,0.6 ] transforms: - DecodeImage: # load image @@ -89,9 +89,9 @@ TRAIN: EVAL: dataset: name: SimpleDataSet - data_dir: /home/zhoujun20/rec + data_dir: ./rec file_list: - - /home/zhoujun20/rec/label_val_all.txt + - ./rec/label_val_all.txt transforms: - DecodeImage: # load image img_mode: BGR diff --git a/configs/rec/rec_mv3_none_bilstm_ctc_lmdb.yml b/configs/rec/rec_mv3_none_bilstm_ctc_lmdb.yml index 1887680ff50ef91d1b7be2e7e1940642dfa46c85..09352d1b06cbd99ebb44d6a28a90b0297b0aab47 100644 --- a/configs/rec/rec_mv3_none_bilstm_ctc_lmdb.yml +++ b/configs/rec/rec_mv3_none_bilstm_ctc_lmdb.yml @@ -3,7 +3,7 @@ Global: epoch_num: 500 log_smooth_window: 20 print_batch_step: 1 - save_model_dir: ./output/rec/test/ + save_model_dir: ./output/rec/mv3_none_bilstm_ctc/ save_epoch_step: 500 # evaluation is run every 5000 iterations after the 4000th iteration eval_batch_step: 1016 @@ -11,13 +11,13 @@ Global: load_static_weights: True cal_metric_during_train: True pretrained_model: - checkpoints: #output/rec/rec_crnn/best_accuracy + checkpoints: save_inference_dir: use_visualdl: True infer_img: doc/imgs_words/ch/word_1.jpg # for data or label process max_text_length: 80 - character_dict_path: /home/zhoujun20/rec/lmdb/dict.txt + character_dict_path: ppocr/utils/ppocr_keys_v1.txt character_type: 'ch' use_space_char: True infer_mode: False @@ -67,7 +67,7 @@ TRAIN: dataset: name: LMDBDateSet file_list: - - /home/zhoujun20/rec/lmdb/train # dataset1 + - ./rec/lmdb/train # dataset1 ratio_list: [ 0.4,0.6 ] transforms: - DecodeImage: # load image @@ -89,7 +89,7 @@ EVAL: dataset: name: LMDBDateSet file_list: - - /home/zhoujun20/rec/lmdb/val + - ./rec/lmdb/val transforms: - DecodeImage: # load image img_mode: BGR diff --git a/configs/rec/rec_r34_vd_none_bilstm_ctc.yml b/configs/rec/rec_r34_vd_none_bilstm_ctc.yml index e87115dfc947ede56fb1feaf24824c1535dcac76..adb4195b6612a6e86804a9fe1909a68bbbc78782 100644 --- a/configs/rec/rec_r34_vd_none_bilstm_ctc.yml +++ b/configs/rec/rec_r34_vd_none_bilstm_ctc.yml @@ -3,7 +3,7 @@ Global: epoch_num: 500 log_smooth_window: 20 print_batch_step: 10 - save_model_dir: ./output/rec/test/ + save_model_dir: ./output/rec/res34_none_bilstm_ctc/ save_epoch_step: 500 # evaluation is run every 5000 iterations after the 4000th iteration eval_batch_step: 127 @@ -11,7 +11,7 @@ Global: load_static_weights: True cal_metric_during_train: True pretrained_model: - checkpoints: #output/rec/rec_crnn/best_accuracy + checkpoints: save_inference_dir: use_visualdl: False infer_img: doc/imgs_words/ch/word_1.jpg