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
e0f6a392
Unverified
Commit
e0f6a392
authored
Sep 04, 2018
by
Yanhui Liang
Committed by
GitHub
Sep 04, 2018
Browse files
Update on_finish from async to sync (#5242)
parent
0783f1cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
official/utils/logs/logger.py
official/utils/logs/logger.py
+5
-6
No files found.
official/utils/logs/logger.py
View file @
e0f6a392
...
...
@@ -291,12 +291,11 @@ class BenchmarkBigQueryLogger(BaseBenchmarkLogger):
RUN_STATUS_RUNNING
))
def
on_finish
(
self
,
status
):
thread
.
start_new_thread
(
self
.
_bigquery_uploader
.
update_run_status
,
(
self
.
_bigquery_data_set
,
self
.
_bigquery_uploader
.
update_run_status
(
self
.
_bigquery_data_set
,
self
.
_bigquery_run_status_table
,
self
.
_run_id
,
status
)
)
status
)
def
_gather_run_info
(
model_name
,
dataset_name
,
run_params
,
test_id
):
...
...
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