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
fa5b66e5
Commit
fa5b66e5
authored
Oct 07, 2019
by
Jing Li
Committed by
A. Unique TensorFlower
Oct 07, 2019
Browse files
support TPU on resnet50 using keras compile/fit
PiperOrigin-RevId: 273358759
parent
482784ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/vision/image_classification/resnet_imagenet_main.py
official/vision/image_classification/resnet_imagenet_main.py
+2
-1
No files found.
official/vision/image_classification/resnet_imagenet_main.py
View file @
fa5b66e5
...
...
@@ -83,7 +83,8 @@ def run(flags_obj):
num_gpus
=
flags_obj
.
num_gpus
,
num_workers
=
num_workers
,
all_reduce_alg
=
flags_obj
.
all_reduce_alg
,
num_packs
=
flags_obj
.
num_packs
)
num_packs
=
flags_obj
.
num_packs
,
tpu_address
=
flags_obj
.
tpu
)
if
strategy
:
# flags_obj.enable_get_next_as_optional controls whether enabling
...
...
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