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
a8dd50cd
"vscode:/vscode.git/clone" did not exist on "26b0f8f385abc26dbeaa8ebdc83f6a1906132991"
Commit
a8dd50cd
authored
Nov 16, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 410337787
parent
ac13a914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
official/benchmark/resnet_ctl_imagenet_benchmark.py
official/benchmark/resnet_ctl_imagenet_benchmark.py
+6
-1
No files found.
official/benchmark/resnet_ctl_imagenet_benchmark.py
View file @
a8dd50cd
...
...
@@ -409,7 +409,7 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
FLAGS
.
single_l2_loss_op
=
True
FLAGS
.
use_tf_function
=
True
FLAGS
.
enable_checkpoint_and_export
=
False
FLAGS
.
data_dir
=
'
gs://mlcompass-data/imagenet
/imagenet-2012-tfrecord'
FLAGS
.
data_dir
=
'
/readahead/400M/placer/prod/home/distbelief/imagenet-tensorflow
/imagenet-2012-tfrecord'
def
benchmark_2x2_tpu_bf16
(
self
):
self
.
_setup
()
...
...
@@ -436,6 +436,11 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
FLAGS
.
train_epochs
=
4
FLAGS
.
dtype
=
'bf16'
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_4x4_tpu_bf16'
)
# Use dataset local to running cell (me). Also use ssd because this has
# given the max performance for ML Perf runs.
# TODO(emizan) See performance when placer has data on me cell and
# update copybara again
FLAGS
.
data_dir
=
'gs://mlcompass-data/imagenet/imagenet-2012-tfrecord'
self
.
_run_and_report_benchmark
()
@
owner_utils
.
Owner
(
'tf-graph-compiler'
)
...
...
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