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
99a34a6c
"vscode:/vscode.git/clone" did not exist on "3e6c2610ae9256dc7e4118dbf2074e97487babe3"
Commit
99a34a6c
authored
Jun 05, 2019
by
guptapriya
Browse files
fix lint
parent
97c1e898
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
official/transformer/v2/transformer_benchmark.py
official/transformer/v2/transformer_benchmark.py
+1
-2
No files found.
official/transformer/v2/transformer_benchmark.py
View file @
99a34a6c
...
@@ -328,8 +328,7 @@ class TransformerKerasBenchmark(TransformerBenchmark):
...
@@ -328,8 +328,7 @@ class TransformerKerasBenchmark(TransformerBenchmark):
FLAGS
.
num_gpus
=
1
FLAGS
.
num_gpus
=
1
FLAGS
.
distribution_strategy
=
'off'
FLAGS
.
distribution_strategy
=
'off'
FLAGS
.
batch_size
=
self
.
batch_per_gpu
FLAGS
.
batch_size
=
self
.
batch_per_gpu
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_1_gpu_no_ds_sb'
)
'benchmark_1_gpu_no_dist_strat_static_batch'
)
FLAGS
.
static_batch
=
True
FLAGS
.
static_batch
=
True
FLAGS
.
max_length
=
64
FLAGS
.
max_length
=
64
self
.
_run_and_report_benchmark
(
total_batch_size
=
FLAGS
.
batch_size
,
self
.
_run_and_report_benchmark
(
total_batch_size
=
FLAGS
.
batch_size
,
...
...
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