longtc commited on
Commit
3082883
·
verified ·
1 Parent(s): 4062e69

Upload PP-OCRv5_mobile_rec.yml

Browse files
Files changed (1) hide show
  1. PP-OCRv5_mobile_rec.yml +3 -3
PP-OCRv5_mobile_rec.yml CHANGED
@@ -9,7 +9,7 @@ Global:
9
  save_epoch_step: 10
10
  eval_batch_step: [0, 2000]
11
  cal_metric_during_train: true
12
- pretrained_model: D:/MyCode/Python/Model/paddleocr/rec_mv3_none_bilstm_ctc_v2.0_train/best_accuracy.pdparams
13
  checkpoints:
14
  save_inference_dir:
15
  use_visualdl: false
@@ -103,7 +103,7 @@ Train:
103
  sampler:
104
  name: MultiScaleSampler
105
  scales: [[320, 32], [320, 48], [320, 64]]
106
- first_bs: &bs 128
107
  fix_bs: false
108
  divided_factor: [8, 16] # w, h
109
  is_training: True
@@ -136,5 +136,5 @@ Eval:
136
  loader:
137
  shuffle: false
138
  drop_last: false
139
- batch_size_per_card: 128
140
  num_workers: 4
 
9
  save_epoch_step: 10
10
  eval_batch_step: [0, 2000]
11
  cal_metric_during_train: true
12
+ pretrained_model: D:/MyCode/Python/Model/paddleocr/pretrain_v5/PP-OCRv5_mobile_rec_pretrained.pdparams
13
  checkpoints:
14
  save_inference_dir:
15
  use_visualdl: false
 
103
  sampler:
104
  name: MultiScaleSampler
105
  scales: [[320, 32], [320, 48], [320, 64]]
106
+ first_bs: &bs 64
107
  fix_bs: false
108
  divided_factor: [8, 16] # w, h
109
  is_training: True
 
136
  loader:
137
  shuffle: false
138
  drop_last: false
139
+ batch_size_per_card: 64
140
  num_workers: 4