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
72587577
Commit
72587577
authored
May 29, 2020
by
Yeqing Li
Committed by
A. Unique TensorFlower
May 29, 2020
Browse files
Internal change.
PiperOrigin-RevId: 313798102
parent
8479cc7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
official/vision/detection/dataloader/input_reader.py
official/vision/detection/dataloader/input_reader.py
+0
-2
No files found.
official/vision/detection/dataloader/input_reader.py
View file @
72587577
...
@@ -95,8 +95,6 @@ class InputFn(object):
...
@@ -95,8 +95,6 @@ class InputFn(object):
num_parallel_calls
=
tf
.
data
.
experimental
.
AUTOTUNE
)
num_parallel_calls
=
tf
.
data
.
experimental
.
AUTOTUNE
)
if
self
.
_is_training
:
if
self
.
_is_training
:
# Large shuffle size is critical for 2vm input pipeline. Can use small
# value (e.g. 64) for 1vm.
dataset
=
dataset
.
shuffle
(
1000
)
dataset
=
dataset
.
shuffle
(
1000
)
if
self
.
_num_examples
>
0
:
if
self
.
_num_examples
>
0
:
dataset
=
dataset
.
take
(
self
.
_num_examples
)
dataset
=
dataset
.
take
(
self
.
_num_examples
)
...
...
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