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
1dcdbaab
Commit
1dcdbaab
authored
Mar 27, 2017
by
Neal Wu
Browse files
Fixed formatting for the comment
parent
e3076488
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
inception/inception/inception_distributed_train.py
inception/inception/inception_distributed_train.py
+2
-3
No files found.
inception/inception/inception_distributed_train.py
View file @
1dcdbaab
...
...
@@ -221,9 +221,8 @@ def train(target, dataset, cluster_spec):
with
tf
.
control_dependencies
([
apply_gradients_op
]):
train_op
=
tf
.
identity
(
total_loss
,
name
=
'train_op'
)
# Get chief queue_runners and init_tokens, which is used to
# synchronize replicas.
# More details can be found in sync_replicas_optimizer.
# Get chief queue_runners and init_tokens, which is used to synchronize
# replicas. More details can be found in sync_replicas_optimizer.
chief_queue_runners
=
[
opt
.
get_chief_queue_runner
()]
init_tokens_op
=
opt
.
get_init_tokens_op
()
...
...
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