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
144bc3c2
Unverified
Commit
144bc3c2
authored
Aug 01, 2019
by
Haoyu Zhang
Committed by
GitHub
Aug 01, 2019
Browse files
Remove whitespaces from empty lines (#7353)
parent
c92a7e16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
official/recommendation/ncf_keras_benchmark.py
official/recommendation/ncf_keras_benchmark.py
+2
-2
official/resnet/keras/keras_imagenet_benchmark.py
official/resnet/keras/keras_imagenet_benchmark.py
+2
-2
No files found.
official/recommendation/ncf_keras_benchmark.py
View file @
144bc3c2
...
...
@@ -193,7 +193,7 @@ class NCFKerasAccuracy(NCFKerasBenchmarkBase):
FLAGS
.
early_stopping
=
True
FLAGS
.
num_gpus
=
2
self
.
_run_and_report_benchmark
()
def
benchmark_2_gpus_early_stop_force_V2
(
self
):
self
.
_setup
()
FLAGS
.
early_stopping
=
True
...
...
@@ -280,7 +280,7 @@ class NCFKerasAccuracy(NCFKerasBenchmarkBase):
FLAGS
.
beta2
=
0.5
FLAGS
.
epsilon
=
1e-8
self
.
_run_and_report_benchmark_mlperf_like
()
def
benchmark_8_gpu_force_v2_mlperf_like
(
self
):
"""8 GPU using keras fit/compile V2 codepath."""
self
.
_setup
()
...
...
official/resnet/keras/keras_imagenet_benchmark.py
View file @
144bc3c2
...
...
@@ -78,7 +78,7 @@ class Resnet50KerasAccuracy(keras_benchmark.KerasBenchmark):
FLAGS
.
datasets_num_private_threads
=
14
FLAGS
.
use_tensor_lr
=
True
self
.
_run_and_report_benchmark
()
def
benchmark_8_gpu_force_v2
(
self
):
"""Test Keras model with eager, dist_strat, force v2 and 8 GPUs."""
self
.
_setup
()
...
...
@@ -579,7 +579,7 @@ class Resnet50KerasBenchmarkBase(keras_benchmark.KerasBenchmark):
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_8_gpu'
)
FLAGS
.
batch_size
=
128
*
8
# 8 GPUs
self
.
_run_and_report_benchmark
()
def
benchmark_8_gpu_force_v2
(
self
):
"""Test Keras model with 8 GPUs and v2 codepath."""
self
.
_setup
()
...
...
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