提交 8edc6f24 编写于 作者: W WenmuZhou

删除配置文件里的个人路径

上级 a88ce7a5
...@@ -3,7 +3,7 @@ Global: ...@@ -3,7 +3,7 @@ Global:
epoch_num: 500 epoch_num: 500
log_smooth_window: 20 log_smooth_window: 20
print_batch_step: 10 print_batch_step: 10
save_model_dir: ./output/rec/test/ save_model_dir: ./output/rec/mv3_none_bilstm_ctc/
save_epoch_step: 500 save_epoch_step: 500
# evaluation is run every 5000 iterations after the 4000th iteration # evaluation is run every 5000 iterations after the 4000th iteration
eval_batch_step: 127 eval_batch_step: 127
...@@ -11,7 +11,7 @@ Global: ...@@ -11,7 +11,7 @@ Global:
load_static_weights: True load_static_weights: True
cal_metric_during_train: True cal_metric_during_train: True
pretrained_model: pretrained_model:
checkpoints: #output/rec/rec_crnn/best_accuracy checkpoints:
save_inference_dir: save_inference_dir:
use_visualdl: False use_visualdl: False
infer_img: doc/imgs_words/ch/word_1.jpg infer_img: doc/imgs_words/ch/word_1.jpg
...@@ -66,9 +66,9 @@ Metric: ...@@ -66,9 +66,9 @@ Metric:
TRAIN: TRAIN:
dataset: dataset:
name: SimpleDataSet name: SimpleDataSet
data_dir: /home/zhoujun20/rec data_dir: ./rec
file_list: file_list:
- /home/zhoujun20/rec/real_data.txt # dataset1 - ./rec/real_data.txt # dataset1
ratio_list: [ 0.4,0.6 ] ratio_list: [ 0.4,0.6 ]
transforms: transforms:
- DecodeImage: # load image - DecodeImage: # load image
...@@ -89,9 +89,9 @@ TRAIN: ...@@ -89,9 +89,9 @@ TRAIN:
EVAL: EVAL:
dataset: dataset:
name: SimpleDataSet name: SimpleDataSet
data_dir: /home/zhoujun20/rec data_dir: ./rec
file_list: file_list:
- /home/zhoujun20/rec/label_val_all.txt - ./rec/label_val_all.txt
transforms: transforms:
- DecodeImage: # load image - DecodeImage: # load image
img_mode: BGR img_mode: BGR
......
...@@ -3,7 +3,7 @@ Global: ...@@ -3,7 +3,7 @@ Global:
epoch_num: 500 epoch_num: 500
log_smooth_window: 20 log_smooth_window: 20
print_batch_step: 1 print_batch_step: 1
save_model_dir: ./output/rec/test/ save_model_dir: ./output/rec/mv3_none_bilstm_ctc/
save_epoch_step: 500 save_epoch_step: 500
# evaluation is run every 5000 iterations after the 4000th iteration # evaluation is run every 5000 iterations after the 4000th iteration
eval_batch_step: 1016 eval_batch_step: 1016
...@@ -11,13 +11,13 @@ Global: ...@@ -11,13 +11,13 @@ Global:
load_static_weights: True load_static_weights: True
cal_metric_during_train: True cal_metric_during_train: True
pretrained_model: pretrained_model:
checkpoints: #output/rec/rec_crnn/best_accuracy checkpoints:
save_inference_dir: save_inference_dir:
use_visualdl: True use_visualdl: True
infer_img: doc/imgs_words/ch/word_1.jpg infer_img: doc/imgs_words/ch/word_1.jpg
# for data or label process # for data or label process
max_text_length: 80 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' character_type: 'ch'
use_space_char: True use_space_char: True
infer_mode: False infer_mode: False
...@@ -67,7 +67,7 @@ TRAIN: ...@@ -67,7 +67,7 @@ TRAIN:
dataset: dataset:
name: LMDBDateSet name: LMDBDateSet
file_list: file_list:
- /home/zhoujun20/rec/lmdb/train # dataset1 - ./rec/lmdb/train # dataset1
ratio_list: [ 0.4,0.6 ] ratio_list: [ 0.4,0.6 ]
transforms: transforms:
- DecodeImage: # load image - DecodeImage: # load image
...@@ -89,7 +89,7 @@ EVAL: ...@@ -89,7 +89,7 @@ EVAL:
dataset: dataset:
name: LMDBDateSet name: LMDBDateSet
file_list: file_list:
- /home/zhoujun20/rec/lmdb/val - ./rec/lmdb/val
transforms: transforms:
- DecodeImage: # load image - DecodeImage: # load image
img_mode: BGR img_mode: BGR
......
...@@ -3,7 +3,7 @@ Global: ...@@ -3,7 +3,7 @@ Global:
epoch_num: 500 epoch_num: 500
log_smooth_window: 20 log_smooth_window: 20
print_batch_step: 10 print_batch_step: 10
save_model_dir: ./output/rec/test/ save_model_dir: ./output/rec/res34_none_bilstm_ctc/
save_epoch_step: 500 save_epoch_step: 500
# evaluation is run every 5000 iterations after the 4000th iteration # evaluation is run every 5000 iterations after the 4000th iteration
eval_batch_step: 127 eval_batch_step: 127
...@@ -11,7 +11,7 @@ Global: ...@@ -11,7 +11,7 @@ Global:
load_static_weights: True load_static_weights: True
cal_metric_during_train: True cal_metric_during_train: True
pretrained_model: pretrained_model:
checkpoints: #output/rec/rec_crnn/best_accuracy checkpoints:
save_inference_dir: save_inference_dir:
use_visualdl: False use_visualdl: False
infer_img: doc/imgs_words/ch/word_1.jpg infer_img: doc/imgs_words/ch/word_1.jpg
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册