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
OpenDAS
nni
Commits
9c1f5344
"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "94a276ce9cc288ebbbdd36731a8fbc9d91d60313"
Unverified
Commit
9c1f5344
authored
Apr 22, 2021
by
J-shang
Committed by
GitHub
Apr 22, 2021
Browse files
fix test metrics (#3560)
parent
2fbf725f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
test/config/metrics_test/trial.py
test/config/metrics_test/trial.py
+1
-0
No files found.
test/config/metrics_test/trial.py
View file @
9c1f5344
...
@@ -19,6 +19,7 @@ if __name__ == '__main__':
...
@@ -19,6 +19,7 @@ if __name__ == '__main__':
nni
.
get_next_parameter
()
nni
.
get_next_parameter
()
with
open
(
result_file
,
'r'
)
as
f
:
with
open
(
result_file
,
'r'
)
as
f
:
m
=
json
.
load
(
f
)
m
=
json
.
load
(
f
)
time
.
sleep
(
5
)
for
v
in
m
[
'intermediate_result'
]:
for
v
in
m
[
'intermediate_result'
]:
time
.
sleep
(
1
)
time
.
sleep
(
1
)
print
(
'report_intermediate_result:'
,
v
)
print
(
'report_intermediate_result:'
,
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