Update recognition_config.yml
Browse files- recognition_config.yml +8 -2
recognition_config.yml
CHANGED
|
@@ -27,7 +27,7 @@ Optimizer:
|
|
| 27 |
beta2: 0.999
|
| 28 |
lr:
|
| 29 |
name: Cosine
|
| 30 |
-
learning_rate: 0.
|
| 31 |
warmup_epoch: 5
|
| 32 |
regularizer:
|
| 33 |
name: L2
|
|
@@ -91,6 +91,12 @@ Train:
|
|
| 91 |
image_shape: [48, 320, 3]
|
| 92 |
max_text_length: *max_text_length
|
| 93 |
- RecAug:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
- MultiLabelEncode:
|
| 95 |
- RecResizeImg:
|
| 96 |
image_shape: [3, 48, 320]
|
|
@@ -130,4 +136,4 @@ Eval:
|
|
| 130 |
shuffle: false
|
| 131 |
drop_last: false
|
| 132 |
batch_size_per_card: 128
|
| 133 |
-
num_workers: 4
|
|
|
|
| 27 |
beta2: 0.999
|
| 28 |
lr:
|
| 29 |
name: Cosine
|
| 30 |
+
learning_rate: 0.001
|
| 31 |
warmup_epoch: 5
|
| 32 |
regularizer:
|
| 33 |
name: L2
|
|
|
|
| 91 |
image_shape: [48, 320, 3]
|
| 92 |
max_text_length: *max_text_length
|
| 93 |
- RecAug:
|
| 94 |
+
- RecNoise:
|
| 95 |
+
prob: 0.5
|
| 96 |
+
- RecBlur:
|
| 97 |
+
prob: 0.5
|
| 98 |
+
- RecDistortion:
|
| 99 |
+
prob: 0.5
|
| 100 |
- MultiLabelEncode:
|
| 101 |
- RecResizeImg:
|
| 102 |
image_shape: [3, 48, 320]
|
|
|
|
| 136 |
shuffle: false
|
| 137 |
drop_last: false
|
| 138 |
batch_size_per_card: 128
|
| 139 |
+
num_workers: 4
|