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
8123688a
"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "ac98415b48218cfcd3fb609bbf091c73e3be1855"
Commit
8123688a
authored
Sep 07, 2021
by
andyjpaddle
Browse files
update rec_sar_head
parent
f57a6d1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ppocr/modeling/heads/rec_sar_head.py
ppocr/modeling/heads/rec_sar_head.py
+2
-2
No files found.
ppocr/modeling/heads/rec_sar_head.py
View file @
8123688a
...
@@ -151,11 +151,11 @@ class ParallelSARDecoder(BaseDecoder):
...
@@ -151,11 +151,11 @@ class ParallelSARDecoder(BaseDecoder):
**
kwargs
):
**
kwargs
):
super
().
__init__
()
super
().
__init__
()
self
.
num_classes
=
num_classe
s
self
.
num_classes
=
out_channel
s
self
.
enc_bi_rnn
=
enc_bi_rnn
self
.
enc_bi_rnn
=
enc_bi_rnn
self
.
d_k
=
d_k
self
.
d_k
=
d_k
self
.
start_idx
=
out_channels
-
2
self
.
start_idx
=
out_channels
-
2
self
.
padding_idx
=
out_channels
-
1
self
.
padding_idx
=
out_channels
-
1
self
.
max_seq_len
=
max_text_length
self
.
max_seq_len
=
max_text_length
self
.
mask
=
mask
self
.
mask
=
mask
self
.
pred_concat
=
pred_concat
self
.
pred_concat
=
pred_concat
...
...
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