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
6def0d03
"vscode:/vscode.git/clone" did not exist on "3564e7cae4f85c1f6e52c458c9f96e51bb042a86"
Commit
6def0d03
authored
Aug 28, 2019
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 265994446
parent
86204f0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/transformer/v2/transformer_main.py
official/transformer/v2/transformer_main.py
+1
-1
No files found.
official/transformer/v2/transformer_main.py
View file @
6def0d03
...
@@ -455,7 +455,7 @@ def main(_):
...
@@ -455,7 +455,7 @@ def main(_):
else
:
else
:
raise
ValueError
(
"Invalid mode {}"
.
format
(
flags_obj
.
mode
))
raise
ValueError
(
"Invalid mode {}"
.
format
(
flags_obj
.
mode
))
if
not
flags_obj
.
distribution_strategy
!=
"tpu"
:
if
flags_obj
.
distribution_strategy
!=
"tpu"
:
_run_task
(
task
)
_run_task
(
task
)
else
:
else
:
primary_cpu_task
=
"/job:worker"
if
flags_obj
.
use_tpu_2vm_config
else
""
primary_cpu_task
=
"/job:worker"
if
flags_obj
.
use_tpu_2vm_config
else
""
...
...
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