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
faf5ad73
Commit
faf5ad73
authored
Feb 05, 2020
by
Zongwei Zhou
Committed by
A. Unique TensorFlower
Feb 05, 2020
Browse files
Increase batch size for Resnet pure eager tests due to recent memory optimizations
PiperOrigin-RevId: 293498210
parent
4a086ad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/benchmark/resnet_ctl_imagenet_benchmark.py
official/benchmark/resnet_ctl_imagenet_benchmark.py
+2
-2
No files found.
official/benchmark/resnet_ctl_imagenet_benchmark.py
View file @
faf5ad73
...
@@ -279,7 +279,7 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
...
@@ -279,7 +279,7 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
FLAGS
.
num_gpus
=
1
FLAGS
.
num_gpus
=
1
FLAGS
.
distribution_strategy
=
'one_device'
FLAGS
.
distribution_strategy
=
'one_device'
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_1_gpu_eager'
)
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_1_gpu_eager'
)
FLAGS
.
batch_size
=
1
0
8
FLAGS
.
batch_size
=
1
2
8
FLAGS
.
use_tf_function
=
False
FLAGS
.
use_tf_function
=
False
FLAGS
.
single_l2_loss_op
=
True
FLAGS
.
single_l2_loss_op
=
True
self
.
_run_and_report_benchmark
()
self
.
_run_and_report_benchmark
()
...
@@ -291,7 +291,7 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
...
@@ -291,7 +291,7 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
FLAGS
.
num_gpus
=
1
FLAGS
.
num_gpus
=
1
FLAGS
.
distribution_strategy
=
'one_device'
FLAGS
.
distribution_strategy
=
'one_device'
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_1_gpu_fp16_eager'
)
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_1_gpu_fp16_eager'
)
FLAGS
.
batch_size
=
2
16
FLAGS
.
batch_size
=
2
50
FLAGS
.
dtype
=
'fp16'
FLAGS
.
dtype
=
'fp16'
FLAGS
.
use_tf_function
=
False
FLAGS
.
use_tf_function
=
False
FLAGS
.
single_l2_loss_op
=
True
FLAGS
.
single_l2_loss_op
=
True
...
...
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