Skip to content

Commit 4a507ac

Browse files
committed
Merge branch 'dev' of https://github.com/WenmuZhou/PytorchOCR into dev
# Conflicts: # readme.md
2 parents 34e66c7 + 1fdba01 commit 4a507ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+749
-1571
lines changed

‎configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_cml.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Global:
33
epoch_num: 500
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/ch_PP-OCR_V3_det/
6+
output_dir: ./output/det/ch_PP-OCR_V3_det_cml/
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: false
99
pretrained_model:

‎configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_dml.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Global:
33
epoch_num: 1200
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/ch_PP-OCR_V3_det/
6+
output_dir: ./output/det/ch_PP-OCR_V3_det_dml/
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: false
99
pretrained_model:

‎configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_student.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Global:
33
epoch_num: 500
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/ch_PP-OCR_V3_det/
6+
output_dir: ./output/det/ch_PP-OCR_V3_det/
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: false
99
pretrained_model:

‎configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_cml.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Global:
33
epoch_num: &epoch_num 500
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/ch_PP-OCRv4_cml
6+
output_dir: ./output/det/ch_PP-OCRv4_cml
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: false
99
pretrained_model:

‎configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_student.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Global:
33
epoch_num: &epoch_num 500
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/ch_PP-OCRv4/
6+
output_dir: ./output/det/ch_PP-OCRv4/
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: false
99
pretrained_model:

‎configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Global:
33
epoch_num: &epoch_num 500
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/ch_PP-OCRv4/
6+
output_dir: ./output/det/h_PP-OCRv4_hgnet/
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: false
99
pretrained_model:

‎configs/rec/PP-OCRv3/ch_PP-OCRv3_rec.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ Global:
33
epoch_num: 500
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/rec_ppocr_v3
6+
output_dir: ./output/rec/rec_ppocr_v3
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: true
99
pretrained_model:
1010
checkpoints:
1111
use_tensorboard: false
12+
infer_mode: false
1213
infer_img: doc/imgs_words/ch/word_1.jpg
1314
character_dict_path: &character_dict_path ppocr/utils/ppocr_keys_v1.txt
1415
max_text_length: &max_text_length 25
15-
infer_mode: false
1616
use_space_char: &use_space_char true
1717

1818
Export:
@@ -49,8 +49,6 @@ Architecture:
4949
depth: 2
5050
hidden_dims: 120
5151
use_guide: True
52-
Head:
53-
fc_decay: 0.00001
5452
- SARHead:
5553
enc_dim: 512
5654
max_text_length: *max_text_length

‎configs/rec/PP-OCRv3/ch_PP-OCRv3_rec_distillation.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ Global:
33
epoch_num: 800
44
log_smooth_window: 20
55
print_batch_step: 10
6-
output_dir: ./output/rec_ppocr_v3_distillation
6+
output_dir: ./output/rec/rec_ppocr_v3_distillation
77
eval_epoch_step: [0, 1]
88
cal_metric_during_train: true
99
pretrained_model:
1010
checkpoints:
1111
use_tensorboard: false
12+
infer_mode: false
1213
infer_img: doc/imgs_words/ch/word_1.jpg
1314
character_dict_path: &character_dict_path ppocr/utils/ppocr_keys_v1.txt
1415
max_text_length: &max_text_length 25
15-
infer_mode: false
1616
use_space_char: &use_space_char true
1717

1818
Export:
@@ -59,8 +59,6 @@ Architecture:
5959
depth: 2
6060
hidden_dims: 120
6161
use_guide: True
62-
Head:
63-
fc_decay: 0.00001
6462
- SARHead:
6563
enc_dim: 512
6664
max_text_length: *max_text_length

‎configs/rec/PP-OCRv3/multi_language/.gitkeep‎

Whitespace-only changes.

‎configs/rec/PP-OCRv3/multi_language/arabic_PP-OCRv3_rec.yml‎

Lines changed: 0 additions & 132 deletions
This file was deleted.

0 commit comments

Comments
 (0)