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
28d37e7a
Commit
28d37e7a
authored
Sep 15, 2017
by
Igor
Committed by
GitHub
Sep 15, 2017
Browse files
Update cifar10_main.py
parent
570ac4c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
tutorials/image/cifar10_estimator/cifar10_main.py
tutorials/image/cifar10_estimator/cifar10_main.py
+3
-4
No files found.
tutorials/image/cifar10_estimator/cifar10_main.py
View file @
28d37e7a
...
...
@@ -344,11 +344,10 @@ def get_experiment_fn(data_dir,
train_steps
=
hparams
.
train_steps
eval_steps
=
num_eval_examples
//
hparams
.
eval_batch_size
num_workers
=
run_config
.
num_worker_replicas
classifier
=
tf
.
estimator
.
Estimator
(
model_fn
=
get_model_fn
(
num_gpus
,
variable_strategy
,
num_workers
),
model_fn
=
get_model_fn
(
num_gpus
,
variable_strategy
,
run_config
.
num_worker_replicas
or
1
),
config
=
run_config
,
params
=
hparams
)
...
...
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