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
1043613b
"scripts/log_reports.py" did not exist on "038ff70023cac4f7e8f94b62b25d815c2b4273c6"
Unverified
Commit
1043613b
authored
Feb 01, 2021
by
xiaoting
Committed by
GitHub
Feb 01, 2021
Browse files
Merge pull request #1897 from iamyoyo/dygraph
Update program.py
parents
080e2501
be949774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/program.py
tools/program.py
+1
-1
No files found.
tools/program.py
View file @
1043613b
...
...
@@ -251,7 +251,7 @@ def train(config,
min_average_window
=
10000
,
max_average_window
=
15625
)
Model_Average
.
apply
()
cur_met
i
rc
=
eval
(
model
,
valid_dataloader
,
post_process_class
,
cur_metr
i
c
=
eval
(
model
,
valid_dataloader
,
post_process_class
,
eval_class
)
cur_metric_str
=
'cur metric, {}'
.
format
(
', '
.
join
(
[
'{}: {}'
.
format
(
k
,
v
)
for
k
,
v
in
cur_metric
.
items
()]))
...
...
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