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
943dff84
Commit
943dff84
authored
Jul 25, 2017
by
Marianne Linhares Monteiro
Committed by
GitHub
Jul 25, 2017
Browse files
Fixing typo
parent
8696627c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tutorials/image/cifar10_estimator/cifar10_main.py
tutorials/image/cifar10_estimator/cifar10_main.py
+1
-1
No files found.
tutorials/image/cifar10_estimator/cifar10_main.py
View file @
943dff84
...
@@ -245,7 +245,7 @@ def _resnet_model_fn(features, labels, mode):
...
@@ -245,7 +245,7 @@ def _resnet_model_fn(features, labels, mode):
optimizer
=
tf
.
train
.
SyncReplicasOptimizer
(
optimizer
=
tf
.
train
.
SyncReplicasOptimizer
(
optimizer
,
optimizer
,
replicas_to_aggregate
=
FLAGS
.
num_workers
)
replicas_to_aggregate
=
FLAGS
.
num_workers
)
sync_replicas_hook
=
opt
.
make_session_run_hook
(
True
)
sync_replicas_hook
=
opt
imizer
.
make_session_run_hook
(
True
)
chief_hooks
.
append
(
sync_replicas_hook
)
chief_hooks
.
append
(
sync_replicas_hook
)
# Create single grouped train op
# Create single grouped train 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