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
ce2674dc
Unverified
Commit
ce2674dc
authored
Jun 05, 2020
by
xiaoting
Committed by
GitHub
Jun 05, 2020
Browse files
Merge pull request #140 from tink2123/fix_typo
fix typo
parents
4fbcc57d
aab46214
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
configs/rec/rec_r34_vd_tps_bilstm_attn.yml
configs/rec/rec_r34_vd_tps_bilstm_attn.yml
+1
-0
configs/rec/rec_r34_vd_tps_bilstm_ctc.yml
configs/rec/rec_r34_vd_tps_bilstm_ctc.yml
+1
-0
ppocr/data/rec/dataset_traversal.py
ppocr/data/rec/dataset_traversal.py
+1
-1
No files found.
configs/rec/rec_r34_vd_tps_bilstm_attn.yml
View file @
ce2674dc
...
...
@@ -13,6 +13,7 @@ Global:
max_text_length
:
25
character_type
:
en
loss_type
:
attention
tps
:
true
reader_yml
:
./configs/rec/rec_benchmark_reader.yml
pretrain_weights
:
checkpoints
:
...
...
configs/rec/rec_r34_vd_tps_bilstm_ctc.yml
View file @
ce2674dc
...
...
@@ -13,6 +13,7 @@ Global:
max_text_length
:
25
character_type
:
en
loss_type
:
ctc
tps
:
true
reader_yml
:
./configs/rec/rec_benchmark_reader.yml
pretrain_weights
:
checkpoints
:
...
...
ppocr/data/rec/dataset_traversal.py
View file @
ce2674dc
...
...
@@ -184,7 +184,7 @@ class SimpleReader(object):
self
.
infer_img
=
params
[
'infer_img'
]
self
.
use_tps
=
False
if
"tps"
in
params
:
self
.
u
e
s_tps
=
True
self
.
us
e
_tps
=
True
if
params
[
'mode'
]
==
'train'
:
self
.
batch_size
=
params
[
'train_batch_size_per_card'
]
self
.
drop_last
=
True
...
...
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