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
Megatron-LM
Commits
2221d882
Commit
2221d882
authored
Apr 04, 2023
by
Shanmugam Ramasamy
Browse files
Better output
parent
fdd34a82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
tests/functional_tests/python_test_utils/get_test_results_from_tensorboard_logs.py
...thon_test_utils/get_test_results_from_tensorboard_logs.py
+1
-0
tests/functional_tests/python_test_utils/test_ci_pipeline.py
tests/functional_tests/python_test_utils/test_ci_pipeline.py
+1
-0
No files found.
tests/functional_tests/python_test_utils/get_test_results_from_tensorboard_logs.py
View file @
2221d882
...
...
@@ -25,6 +25,7 @@ def read_tb_logs_as_list(path, summary_name):
ea
.
Reload
()
summary
=
ea
.
Scalars
(
summary_name
)
summary_list
=
[
round
(
x
.
value
,
5
)
for
x
in
summary
]
print
(
f
'
\n
Obtained the following list for
{
summary_name
}
------------------'
)
print
(
summary_list
)
return
summary_list
raise
FileNotFoundError
(
f
"File not found matching:
{
path
}
/events*"
)
...
...
tests/functional_tests/python_test_utils/test_ci_pipeline.py
View file @
2221d882
...
...
@@ -34,6 +34,7 @@ def read_tb_logs_as_list(path, summary_name):
ea
.
Reload
()
summary
=
ea
.
Scalars
(
summary_name
)
summary_list
=
[
round
(
x
.
value
,
5
)
for
x
in
summary
]
print
(
f
'
\n
Obtained the following list for
{
summary_name
}
------------------'
)
print
(
summary_list
)
return
summary_list
raise
FileNotFoundError
(
f
"File not found matching:
{
path
}
/events*"
)
...
...
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