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
7acce35d
"vscode:/vscode.git/clone" did not exist on "a336353955ed6c2bf74d5d005c499f452890d780"
Commit
7acce35d
authored
Oct 05, 2019
by
Jing Li
Committed by
A. Unique TensorFlower
Oct 05, 2019
Browse files
Fix bug in test dataset generation
PiperOrigin-RevId: 273066504
parent
f8d9c9b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
official/resnet/ctl/ctl_imagenet_main.py
official/resnet/ctl/ctl_imagenet_main.py
+7
-6
No files found.
official/resnet/ctl/ctl_imagenet_main.py
View file @
7acce35d
...
...
@@ -130,7 +130,8 @@ def get_input_dataset(flags_obj, strategy):
if
strategy
:
if
isinstance
(
strategy
,
tf
.
distribute
.
experimental
.
TPUStrategy
):
test_ds
=
strategy
.
experimental_distribute_datasets_from_function
(
_test_data_fn
)
test_ds
=
strategy
.
experimental_distribute_datasets_from_function
(
_test_data_fn
)
else
:
test_ds
=
strategy
.
experimental_distribute_dataset
(
_test_data_fn
())
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