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
f4dd2cff
Commit
f4dd2cff
authored
Dec 12, 2019
by
Yeqing Li
Committed by
A. Unique TensorFlower
Dec 12, 2019
Browse files
Internal change
PiperOrigin-RevId: 285223338
parent
152adcbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/benchmark/retinanet_benchmark.py
official/benchmark/retinanet_benchmark.py
+2
-2
No files found.
official/benchmark/retinanet_benchmark.py
View file @
f4dd2cff
...
@@ -260,7 +260,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy):
...
@@ -260,7 +260,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy):
FLAGS
.
num_gpus
=
self
.
num_gpus
FLAGS
.
num_gpus
=
self
.
num_gpus
FLAGS
.
params_override
=
json
.
dumps
(
params
)
FLAGS
.
params_override
=
json
.
dumps
(
params
)
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'real_benchmark_1_gpu_coco'
)
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'real_benchmark_1_gpu_coco'
)
FLAGS
.
strategy_type
=
'one_device
_gpu
'
FLAGS
.
strategy_type
=
'one_device'
# Use negative value to avoid saving checkpoints.
# Use negative value to avoid saving checkpoints.
FLAGS
.
save_checkpoint_freq
=
-
1
FLAGS
.
save_checkpoint_freq
=
-
1
if
self
.
timer_callback
is
None
:
if
self
.
timer_callback
is
None
:
...
@@ -281,7 +281,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy):
...
@@ -281,7 +281,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy):
FLAGS
.
num_gpus
=
self
.
num_gpus
FLAGS
.
num_gpus
=
self
.
num_gpus
FLAGS
.
params_override
=
json
.
dumps
(
params
)
FLAGS
.
params_override
=
json
.
dumps
(
params
)
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'real_benchmark_1_gpu_coco'
)
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'real_benchmark_1_gpu_coco'
)
FLAGS
.
strategy_type
=
'one_device
_gpu
'
FLAGS
.
strategy_type
=
'one_device'
FLAGS
.
enable_xla
=
True
FLAGS
.
enable_xla
=
True
# Use negative value to avoid saving checkpoints.
# Use negative value to avoid saving checkpoints.
FLAGS
.
save_checkpoint_freq
=
-
1
FLAGS
.
save_checkpoint_freq
=
-
1
...
...
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