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
ec543191
Commit
ec543191
authored
Apr 01, 2021
by
Frederick Liu
Committed by
A. Unique TensorFlower
Apr 01, 2021
Browse files
[core][input_reader] The method should use the passed in argument other than member.
PiperOrigin-RevId: 366368802
parent
dda2343a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/core/input_reader.py
official/core/input_reader.py
+1
-1
No files found.
official/core/input_reader.py
View file @
ec543191
...
@@ -284,7 +284,7 @@ class InputReader:
...
@@ -284,7 +284,7 @@ class InputReader:
"""Returns a tf.data.Dataset object after reading, decoding, and parsing."""
"""Returns a tf.data.Dataset object after reading, decoding, and parsing."""
if
tfds_builder
:
if
tfds_builder
:
dataset
=
self
.
_read_tfds
(
input_context
)
dataset
=
self
.
_read_tfds
(
input_context
)
elif
len
(
self
.
_
matched_files
)
>
1
:
elif
len
(
matched_files
)
>
1
:
if
input_context
and
(
len
(
matched_files
)
<
if
input_context
and
(
len
(
matched_files
)
<
input_context
.
num_input_pipelines
):
input_context
.
num_input_pipelines
):
logging
.
warn
(
logging
.
warn
(
...
...
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