Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
721c76b4
Commit
721c76b4
authored
Dec 16, 2021
by
LDOUBLEV
Browse files
fix conflict
parents
98162be4
b77f9ec0
Changes
289
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
6 additions
and
21 deletions
+6
-21
configs/det/ch_PP-OCRv2/ch_PP-OCRv2_det_dml.yml
configs/det/ch_PP-OCRv2/ch_PP-OCRv2_det_dml.yml
+1
-0
configs/det/ch_PP-OCRv2/ch_PP-OCRv2_det_student.yml
configs/det/ch_PP-OCRv2/ch_PP-OCRv2_det_student.yml
+0
-0
configs/det/det_r50_vd_sast_icdar15.yml
configs/det/det_r50_vd_sast_icdar15.yml
+2
-2
configs/det/det_r50_vd_sast_totaltext.yml
configs/det/det_r50_vd_sast_totaltext.yml
+1
-1
configs/e2e/e2e_r50_vd_pg.yml
configs/e2e/e2e_r50_vd_pg.yml
+1
-1
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec.yml
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec.yml
+0
-1
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec_distillation.yml
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec_distillation.yml
+0
-1
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec_enhanced_ctc_loss.yml
...igs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec_enhanced_ctc_loss.yml
+1
-3
configs/rec/ch_ppocr_v2.0/rec_chinese_common_train_v2.0.yml
configs/rec/ch_ppocr_v2.0/rec_chinese_common_train_v2.0.yml
+0
-1
configs/rec/ch_ppocr_v2.0/rec_chinese_lite_train_v2.0.yml
configs/rec/ch_ppocr_v2.0/rec_chinese_lite_train_v2.0.yml
+0
-1
configs/rec/multi_language/rec_arabic_lite_train.yml
configs/rec/multi_language/rec_arabic_lite_train.yml
+0
-1
configs/rec/multi_language/rec_cyrillic_lite_train.yml
configs/rec/multi_language/rec_cyrillic_lite_train.yml
+0
-1
configs/rec/multi_language/rec_devanagari_lite_train.yml
configs/rec/multi_language/rec_devanagari_lite_train.yml
+0
-1
configs/rec/multi_language/rec_en_number_lite_train.yml
configs/rec/multi_language/rec_en_number_lite_train.yml
+0
-1
configs/rec/multi_language/rec_french_lite_train.yml
configs/rec/multi_language/rec_french_lite_train.yml
+0
-1
configs/rec/multi_language/rec_german_lite_train.yml
configs/rec/multi_language/rec_german_lite_train.yml
+0
-1
configs/rec/multi_language/rec_japan_lite_train.yml
configs/rec/multi_language/rec_japan_lite_train.yml
+0
-1
configs/rec/multi_language/rec_korean_lite_train.yml
configs/rec/multi_language/rec_korean_lite_train.yml
+0
-1
configs/rec/multi_language/rec_latin_lite_train.yml
configs/rec/multi_language/rec_latin_lite_train.yml
+0
-1
configs/rec/rec_icdar15_train.yml
configs/rec/rec_icdar15_train.yml
+0
-1
No files found.
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_dml.yml
→
configs/det/ch_PP-OCRv2/ch_PP-OCR
v2
_det_dml.yml
View file @
721c76b4
...
@@ -118,6 +118,7 @@ Train:
...
@@ -118,6 +118,7 @@ Train:
img_mode
:
BGR
img_mode
:
BGR
channel_first
:
False
channel_first
:
False
-
DetLabelEncode
:
# Class handling label
-
DetLabelEncode
:
# Class handling label
-
CopyPaste
:
-
IaaAugment
:
-
IaaAugment
:
augmenter_args
:
augmenter_args
:
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
...
...
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_student.yml
→
configs/det/ch_PP-OCRv2/ch_PP-OCR
v2
_det_student.yml
View file @
721c76b4
File moved
configs/det/det_r50_vd_sast_icdar15.yml
View file @
721c76b4
...
@@ -8,7 +8,7 @@ Global:
...
@@ -8,7 +8,7 @@ Global:
# evaluation is run every 5000 iterations after the 4000th iteration
# evaluation is run every 5000 iterations after the 4000th iteration
eval_batch_step
:
[
4000
,
5000
]
eval_batch_step
:
[
4000
,
5000
]
cal_metric_during_train
:
False
cal_metric_during_train
:
False
pretrained_model
:
./pretrain_models/ResNet50_vd_ssld_pretrained
/
pretrained_model
:
./pretrain_models/ResNet50_vd_ssld_pretrained
checkpoints
:
checkpoints
:
save_inference_dir
:
save_inference_dir
:
use_visualdl
:
False
use_visualdl
:
False
...
@@ -106,4 +106,4 @@ Eval:
...
@@ -106,4 +106,4 @@ Eval:
shuffle
:
False
shuffle
:
False
drop_last
:
False
drop_last
:
False
batch_size_per_card
:
1
# must be 1
batch_size_per_card
:
1
# must be 1
num_workers
:
2
num_workers
:
2
\ No newline at end of file
configs/det/det_r50_vd_sast_totaltext.yml
View file @
721c76b4
...
@@ -8,7 +8,7 @@ Global:
...
@@ -8,7 +8,7 @@ Global:
# evaluation is run every 5000 iterations after the 4000th iteration
# evaluation is run every 5000 iterations after the 4000th iteration
eval_batch_step
:
[
4000
,
5000
]
eval_batch_step
:
[
4000
,
5000
]
cal_metric_during_train
:
False
cal_metric_during_train
:
False
pretrained_model
:
./pretrain_models/ResNet50_vd_ssld_pretrained
/
pretrained_model
:
./pretrain_models/ResNet50_vd_ssld_pretrained
checkpoints
:
checkpoints
:
save_inference_dir
:
save_inference_dir
:
use_visualdl
:
False
use_visualdl
:
False
...
...
configs/e2e/e2e_r50_vd_pg.yml
View file @
721c76b4
...
@@ -94,7 +94,7 @@ Eval:
...
@@ -94,7 +94,7 @@ Eval:
label_file_list
:
[
./train_data/total_text/test/test.txt
]
label_file_list
:
[
./train_data/total_text/test/test.txt
]
transforms
:
transforms
:
-
DecodeImage
:
# load image
-
DecodeImage
:
# load image
img_mode
:
RGB
img_mode
:
BGR
channel_first
:
False
channel_first
:
False
-
E2ELabelEncodeTest
:
-
E2ELabelEncodeTest
:
-
E2EResizeForTest
:
-
E2EResizeForTest
:
...
...
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec.yml
View file @
721c76b4
...
@@ -14,7 +14,6 @@ Global:
...
@@ -14,7 +14,6 @@ Global:
use_visualdl
:
false
use_visualdl
:
false
infer_img
:
doc/imgs_words/ch/word_1.jpg
infer_img
:
doc/imgs_words/ch/word_1.jpg
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_type
:
ch
max_text_length
:
25
max_text_length
:
25
infer_mode
:
false
infer_mode
:
false
use_space_char
:
true
use_space_char
:
true
...
...
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec_distillation.yml
View file @
721c76b4
...
@@ -14,7 +14,6 @@ Global:
...
@@ -14,7 +14,6 @@ Global:
use_visualdl
:
false
use_visualdl
:
false
infer_img
:
doc/imgs_words/ch/word_1.jpg
infer_img
:
doc/imgs_words/ch/word_1.jpg
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_type
:
ch
max_text_length
:
25
max_text_length
:
25
infer_mode
:
false
infer_mode
:
false
use_space_char
:
true
use_space_char
:
true
...
...
configs/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec_enhanced_ctc_loss.yml
View file @
721c76b4
...
@@ -14,7 +14,6 @@ Global:
...
@@ -14,7 +14,6 @@ Global:
use_visualdl
:
false
use_visualdl
:
false
infer_img
:
doc/imgs_words/ch/word_1.jpg
infer_img
:
doc/imgs_words/ch/word_1.jpg
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_type
:
ch
max_text_length
:
25
max_text_length
:
25
infer_mode
:
false
infer_mode
:
false
use_space_char
:
true
use_space_char
:
true
...
@@ -63,8 +62,7 @@ Loss:
...
@@ -63,8 +62,7 @@ Loss:
weight
:
0.05
weight
:
0.05
num_classes
:
6625
num_classes
:
6625
feat_dim
:
96
feat_dim
:
96
init_center
:
false
center_file_path
:
center_file_path
:
"
./train_center.pkl"
# you can also try to add ace loss on your own dataset
# you can also try to add ace loss on your own dataset
# - ACELoss:
# - ACELoss:
# weight: 0.1
# weight: 0.1
...
...
configs/rec/ch_ppocr_v2.0/rec_chinese_common_train_v2.0.yml
View file @
721c76b4
...
@@ -15,7 +15,6 @@ Global:
...
@@ -15,7 +15,6 @@ Global:
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
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_type
:
ch
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
True
use_space_char
:
True
...
...
configs/rec/ch_ppocr_v2.0/rec_chinese_lite_train_v2.0.yml
View file @
721c76b4
...
@@ -15,7 +15,6 @@ Global:
...
@@ -15,7 +15,6 @@ Global:
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
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_dict_path
:
ppocr/utils/ppocr_keys_v1.txt
character_type
:
ch
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
True
use_space_char
:
True
...
...
configs/rec/multi_language/rec_arabic_lite_train.yml
View file @
721c76b4
...
@@ -15,7 +15,6 @@ Global:
...
@@ -15,7 +15,6 @@ Global:
use_visualdl
:
false
use_visualdl
:
false
infer_img
:
null
infer_img
:
null
character_dict_path
:
ppocr/utils/dict/arabic_dict.txt
character_dict_path
:
ppocr/utils/dict/arabic_dict.txt
character_type
:
arabic
max_text_length
:
25
max_text_length
:
25
infer_mode
:
false
infer_mode
:
false
use_space_char
:
true
use_space_char
:
true
...
...
configs/rec/multi_language/rec_cyrillic_lite_train.yml
View file @
721c76b4
...
@@ -15,7 +15,6 @@ Global:
...
@@ -15,7 +15,6 @@ Global:
use_visualdl
:
false
use_visualdl
:
false
infer_img
:
null
infer_img
:
null
character_dict_path
:
ppocr/utils/dict/cyrillic_dict.txt
character_dict_path
:
ppocr/utils/dict/cyrillic_dict.txt
character_type
:
cyrillic
max_text_length
:
25
max_text_length
:
25
infer_mode
:
false
infer_mode
:
false
use_space_char
:
true
use_space_char
:
true
...
...
configs/rec/multi_language/rec_devanagari_lite_train.yml
View file @
721c76b4
...
@@ -15,7 +15,6 @@ Global:
...
@@ -15,7 +15,6 @@ Global:
use_visualdl
:
false
use_visualdl
:
false
infer_img
:
null
infer_img
:
null
character_dict_path
:
ppocr/utils/dict/devanagari_dict.txt
character_dict_path
:
ppocr/utils/dict/devanagari_dict.txt
character_type
:
devanagari
max_text_length
:
25
max_text_length
:
25
infer_mode
:
false
infer_mode
:
false
use_space_char
:
true
use_space_char
:
true
...
...
configs/rec/multi_language/rec_en_number_lite_train.yml
View file @
721c76b4
...
@@ -16,7 +16,6 @@ Global:
...
@@ -16,7 +16,6 @@ Global:
infer_img
:
infer_img
:
# for data or label process
# for data or label process
character_dict_path
:
ppocr/utils/en_dict.txt
character_dict_path
:
ppocr/utils/en_dict.txt
character_type
:
EN
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
True
use_space_char
:
True
...
...
configs/rec/multi_language/rec_french_lite_train.yml
View file @
721c76b4
...
@@ -16,7 +16,6 @@ Global:
...
@@ -16,7 +16,6 @@ Global:
infer_img
:
infer_img
:
# for data or label process
# for data or label process
character_dict_path
:
ppocr/utils/dict/french_dict.txt
character_dict_path
:
ppocr/utils/dict/french_dict.txt
character_type
:
french
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
False
use_space_char
:
False
...
...
configs/rec/multi_language/rec_german_lite_train.yml
View file @
721c76b4
...
@@ -16,7 +16,6 @@ Global:
...
@@ -16,7 +16,6 @@ Global:
infer_img
:
infer_img
:
# for data or label process
# for data or label process
character_dict_path
:
ppocr/utils/dict/german_dict.txt
character_dict_path
:
ppocr/utils/dict/german_dict.txt
character_type
:
german
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
False
use_space_char
:
False
...
...
configs/rec/multi_language/rec_japan_lite_train.yml
View file @
721c76b4
...
@@ -16,7 +16,6 @@ Global:
...
@@ -16,7 +16,6 @@ Global:
infer_img
:
infer_img
:
# for data or label process
# for data or label process
character_dict_path
:
ppocr/utils/dict/japan_dict.txt
character_dict_path
:
ppocr/utils/dict/japan_dict.txt
character_type
:
japan
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
False
use_space_char
:
False
...
...
configs/rec/multi_language/rec_korean_lite_train.yml
View file @
721c76b4
...
@@ -16,7 +16,6 @@ Global:
...
@@ -16,7 +16,6 @@ Global:
infer_img
:
infer_img
:
# for data or label process
# for data or label process
character_dict_path
:
ppocr/utils/dict/korean_dict.txt
character_dict_path
:
ppocr/utils/dict/korean_dict.txt
character_type
:
korean
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
False
use_space_char
:
False
...
...
configs/rec/multi_language/rec_latin_lite_train.yml
View file @
721c76b4
...
@@ -15,7 +15,6 @@ Global:
...
@@ -15,7 +15,6 @@ Global:
use_visualdl
:
false
use_visualdl
:
false
infer_img
:
null
infer_img
:
null
character_dict_path
:
ppocr/utils/dict/latin_dict.txt
character_dict_path
:
ppocr/utils/dict/latin_dict.txt
character_type
:
latin
max_text_length
:
25
max_text_length
:
25
infer_mode
:
false
infer_mode
:
false
use_space_char
:
true
use_space_char
:
true
...
...
configs/rec/rec_icdar15_train.yml
View file @
721c76b4
...
@@ -15,7 +15,6 @@ Global:
...
@@ -15,7 +15,6 @@ Global:
infer_img
:
doc/imgs_words_en/word_10.png
infer_img
:
doc/imgs_words_en/word_10.png
# for data or label process
# for data or label process
character_dict_path
:
ppocr/utils/en_dict.txt
character_dict_path
:
ppocr/utils/en_dict.txt
character_type
:
EN
max_text_length
:
25
max_text_length
:
25
infer_mode
:
False
infer_mode
:
False
use_space_char
:
False
use_space_char
:
False
...
...
Prev
1
2
3
4
5
6
…
15
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment