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
570ac4c4
"references/vscode:/vscode.git/clone" did not exist on "d0d7058a36fb4ea702dcb6c92c03d90ca91d8281"
Commit
570ac4c4
authored
Sep 15, 2017
by
Igor
Committed by
GitHub
Sep 15, 2017
Browse files
Update cifar10_main.py
Trying to remove the +1.
parent
d0269919
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
tutorials/image/cifar10_estimator/cifar10_main.py
tutorials/image/cifar10_estimator/cifar10_main.py
+2
-5
No files found.
tutorials/image/cifar10_estimator/cifar10_main.py
View file @
570ac4c4
...
...
@@ -345,11 +345,8 @@ def get_experiment_fn(data_dir,
train_steps
=
hparams
.
train_steps
eval_steps
=
num_eval_examples
//
hparams
.
eval_batch_size
if
run_config
.
num_worker_replicas
:
num_workers
=
run_config
.
num_worker_replicas
+
1
else
:
num_workers
=
1
num_workers
=
run_config
.
num_worker_replicas
classifier
=
tf
.
estimator
.
Estimator
(
model_fn
=
get_model_fn
(
num_gpus
,
variable_strategy
,
num_workers
),
config
=
run_config
,
...
...
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