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
b68c8958
Commit
b68c8958
authored
Sep 07, 2021
by
andyjpaddle
Browse files
fix code style
parent
d6115158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/modeling/heads/rec_sar_head.py
ppocr/modeling/heads/rec_sar_head.py
+1
-1
No files found.
ppocr/modeling/heads/rec_sar_head.py
View file @
b68c8958
...
@@ -195,7 +195,7 @@ class ParallelSARDecoder(BaseDecoder):
...
@@ -195,7 +195,7 @@ class ParallelSARDecoder(BaseDecoder):
# Prediction layer
# Prediction layer
self
.
pred_dropout
=
nn
.
Dropout
(
pred_dropout
)
self
.
pred_dropout
=
nn
.
Dropout
(
pred_dropout
)
pred_num_classes
=
num_classes
-
1
pred_num_classes
=
self
.
num_classes
-
1
if
pred_concat
:
if
pred_concat
:
fc_in_channel
=
decoder_rnn_out_size
+
d_model
+
d_enc
fc_in_channel
=
decoder_rnn_out_size
+
d_model
+
d_enc
else
:
else
:
...
...
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