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
676c23e6
Commit
676c23e6
authored
Nov 29, 2019
by
A. Unique TensorFlower
Browse files
Merge pull request #7884 from miraliahmadli:master
PiperOrigin-RevId: 283114824
parents
d49cb9ef
a5c96853
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/transformer/data_download.py
official/transformer/data_download.py
+1
-1
No files found.
official/transformer/data_download.py
View file @
676c23e6
...
...
@@ -331,7 +331,7 @@ def shuffle_records(fname):
tmp_fname
=
fname
+
".unshuffled"
tf
.
gfile
.
Rename
(
fname
,
tmp_fname
)
reader
=
tf
.
compat
.
v1
.
io
.
tf_record_iterator
(
tmp_fname
)
reader
=
tf
.
io
.
tf_record_iterator
(
tmp_fname
)
records
=
[]
for
record
in
reader
:
records
.
append
(
record
)
...
...
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