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
32dadfc2
Commit
32dadfc2
authored
Sep 18, 2019
by
David Chen
Committed by
A. Unique TensorFlower
Sep 18, 2019
Browse files
Internal change
PiperOrigin-RevId: 269914707
parent
c4bacbf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/transformer/v2/transformer_main.py
official/transformer/v2/transformer_main.py
+2
-2
No files found.
official/transformer/v2/transformer_main.py
View file @
32dadfc2
...
...
@@ -180,10 +180,10 @@ class TransformerTask(object):
if
not
params
[
"static_batch"
]:
raise
ValueError
(
"TPU requires static batch for input data."
)
else
:
logging
.
info
(
"Running transformer with num_gpus ="
,
num_gpus
)
logging
.
info
(
"Running transformer with num_gpus =
%d
"
,
num_gpus
)
if
self
.
distribution_strategy
:
logging
.
info
(
"For training, using distribution strategy: "
,
logging
.
info
(
"For training, using distribution strategy:
%s
"
,
self
.
distribution_strategy
)
else
:
logging
.
info
(
"Not using any distribution strategy."
)
...
...
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