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
ca67e4ec
Commit
ca67e4ec
authored
Dec 06, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 414542003
parent
7c9f6429
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
official/benchmark/resnet_ctl_imagenet_benchmark.py
official/benchmark/resnet_ctl_imagenet_benchmark.py
+5
-2
No files found.
official/benchmark/resnet_ctl_imagenet_benchmark.py
View file @
ca67e4ec
...
...
@@ -30,7 +30,9 @@ from official.benchmark import benchmark_wrappers
from
official.utils.flags
import
core
as
flags_core
IMAGENET_DEFAULT_DATA_PATH
=
'gs://mlcompass-data/imagenet/imagenet-2012-tfrecord'
IMAGENET_EXP_DATA_PATH
=
'gs://mlcompass-data/imagenet/imagenet-2012-tfrecord'
# TODO(emizan) Remove comment once you make sure that dataset caching has similar or better
# performance as the uncached local SSD dataset below.
# IMAGENET_EXP_DATA_PATH = 'gs://mlcompass-data/imagenet/imagenet-2012-tfrecord'
MIN_TOP_1_ACCURACY
=
0.76
MAX_TOP_1_ACCURACY
=
0.77
...
...
@@ -376,7 +378,8 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
FLAGS
.
train_epochs
=
4
FLAGS
.
dtype
=
'bf16'
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_4x4_tpu_bf16'
)
FLAGS
.
data_dir
=
IMAGENET_EXP_DATA_PATH
FLAGS
.
data_dir
=
IMAGENET_DEFAULT_DATA_PATH
FLAGS
.
training_dataset_cache
=
True
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