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
931d138b
Commit
931d138b
authored
Nov 16, 2020
by
WenmuZhou
Browse files
更新日志格式
parent
21fca149
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ppocr/utils/stats.py
ppocr/utils/stats.py
+4
-1
No files found.
ppocr/utils/stats.py
View file @
931d138b
...
...
@@ -65,5 +65,8 @@ class TrainingStats(object):
def
log
(
self
,
extras
=
None
):
d
=
self
.
get
(
extras
)
strs
=
', '
.
join
(
str
(
dict
({
x
:
y
})).
strip
(
'{}'
)
for
x
,
y
in
d
.
items
())
strs
=
[]
for
k
,
v
in
d
.
items
():
strs
.
append
(
'{}: {:x<6f}'
.
format
(
k
,
v
))
strs
=
', '
.
join
(
strs
)
return
strs
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