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
683cb556
Commit
683cb556
authored
Mar 22, 2021
by
WenmuZhou
Browse files
fix typo error
parent
ef620c2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/eval.py
tools/eval.py
+2
-2
No files found.
tools/eval.py
View file @
683cb556
...
...
@@ -59,10 +59,10 @@ def main():
eval_class
=
build_metric
(
config
[
'Metric'
])
# start eval
met
i
rc
=
program
.
eval
(
model
,
valid_dataloader
,
post_process_class
,
metr
i
c
=
program
.
eval
(
model
,
valid_dataloader
,
post_process_class
,
eval_class
,
use_srn
)
logger
.
info
(
'metric eval ***************'
)
for
k
,
v
in
met
i
rc
.
items
():
for
k
,
v
in
metr
i
c
.
items
():
logger
.
info
(
'{}:{}'
.
format
(
k
,
v
))
...
...
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