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
17ef6405
Commit
17ef6405
authored
Apr 11, 2019
by
Taylor Robie
Committed by
Toby Boyd
Apr 11, 2019
Browse files
reduce test batch size for 1 GPU no_dist_strat (#6564)
parent
e08b6286
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/resnet/keras/keras_imagenet_benchmark.py
official/resnet/keras/keras_imagenet_benchmark.py
+2
-1
No files found.
official/resnet/keras/keras_imagenet_benchmark.py
View file @
17ef6405
...
@@ -186,7 +186,8 @@ class Resnet50KerasBenchmarkBase(keras_benchmark.KerasBenchmark):
...
@@ -186,7 +186,8 @@ class Resnet50KerasBenchmarkBase(keras_benchmark.KerasBenchmark):
FLAGS
.
enable_eager
=
False
FLAGS
.
enable_eager
=
False
FLAGS
.
distribution_strategy
=
'off'
FLAGS
.
distribution_strategy
=
'off'
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_graph_1_gpu_no_dist_strat'
)
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_graph_1_gpu_no_dist_strat'
)
FLAGS
.
batch_size
=
128
FLAGS
.
batch_size
=
96
# BatchNorm is less efficient in legacy graph mode
# due to its reliance on v1 cond.
self
.
_run_and_report_benchmark
()
self
.
_run_and_report_benchmark
()
def
benchmark_1_gpu
(
self
):
def
benchmark_1_gpu
(
self
):
...
...
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