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
903b102f
Commit
903b102f
authored
Nov 17, 2020
by
WenmuZhou
Browse files
分数取均值
parent
31d48243
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/postprocess/rec_postprocess.py
ppocr/postprocess/rec_postprocess.py
+1
-1
No files found.
ppocr/postprocess/rec_postprocess.py
View file @
903b102f
...
@@ -81,7 +81,7 @@ class BaseRecLabelDecode(object):
...
@@ -81,7 +81,7 @@ class BaseRecLabelDecode(object):
else
:
else
:
conf_list
.
append
(
1
)
conf_list
.
append
(
1
)
text
=
''
.
join
(
char_list
)
text
=
''
.
join
(
char_list
)
result_list
.
append
((
text
,
conf_list
))
result_list
.
append
((
text
,
np
.
mean
(
conf_list
))
)
return
result_list
return
result_list
def
get_ignored_tokens
(
self
):
def
get_ignored_tokens
(
self
):
...
...
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