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
606e3331
Commit
606e3331
authored
Oct 28, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Oct 28, 2020
Browse files
The tf_data_service override only works for the TaskConfig.
PiperOrigin-RevId: 339488247
parent
bddc4930
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
official/core/train_utils.py
official/core/train_utils.py
+12
-8
No files found.
official/core/train_utils.py
View file @
606e3331
...
@@ -82,6 +82,10 @@ def parse_configuration(flags_obj):
...
@@ -82,6 +82,10 @@ def parse_configuration(flags_obj):
'runtime'
:
{
'runtime'
:
{
'tpu'
:
flags_obj
.
tpu
,
'tpu'
:
flags_obj
.
tpu
,
},
},
})
if
flags_obj
.
tf_data_service
and
isinstance
(
params
.
task
,
config_definitions
.
TaskConfig
):
params
.
override
({
'task'
:
{
'task'
:
{
'train_data'
:
{
'train_data'
:
{
'tf_data_service_address'
:
flags_obj
.
tf_data_service
,
'tf_data_service_address'
:
flags_obj
.
tf_data_service
,
...
...
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