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
ModelZoo
ResNet50_tensorflow
Commits
9cc4cec8
Unverified
Commit
9cc4cec8
authored
Sep 13, 2018
by
Sami Kama
Committed by
GitHub
Sep 13, 2018
Browse files
Update logger.py
if-else to if only
parent
ea7009d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
official/utils/logs/logger.py
official/utils/logs/logger.py
+1
-2
No files found.
official/utils/logs/logger.py
View file @
9cc4cec8
...
...
@@ -307,10 +307,9 @@ def _gather_run_info(model_name, dataset_name, run_params, test_id):
"test_id"
:
test_id
,
"run_date"
:
datetime
.
datetime
.
utcnow
().
strftime
(
_DATE_TIME_FORMAT_PATTERN
)}
session_config
=
None
if
"session_config"
in
run_params
:
session_config
=
run_params
[
"session_config"
]
else
:
session_config
=
None
_collect_tensorflow_info
(
run_info
)
_collect_tensorflow_environment_variables
(
run_info
)
_collect_run_params
(
run_info
,
run_params
)
...
...
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