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
0c5c9f69
Unverified
Commit
0c5c9f69
authored
Feb 01, 2021
by
xiaoting
Committed by
GitHub
Feb 01, 2021
Browse files
Merge pull request #1890 from tink2123/srn_ch
Adaptation of Chinese char
parents
2a0c3d4d
7f2304ab
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_srn_head.py
ppocr/modeling/heads/rec_srn_head.py
+1
-1
No files found.
ppocr/modeling/heads/rec_srn_head.py
View file @
0c5c9f69
...
...
@@ -246,7 +246,7 @@ class SRNHead(nn.Layer):
num_encoder_tus
=
self
.
num_encoder_TUs
,
num_decoder_tus
=
self
.
num_decoder_TUs
,
hidden_dims
=
self
.
hidden_dims
)
self
.
vsfd
=
VSFD
(
in_channels
=
in_channels
)
self
.
vsfd
=
VSFD
(
in_channels
=
in_channels
,
char_num
=
self
.
char_num
)
self
.
gsrm
.
wrap_encoder1
.
prepare_decoder
.
emb0
=
self
.
gsrm
.
wrap_encoder0
.
prepare_decoder
.
emb0
...
...
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