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
7c5c0148
Commit
7c5c0148
authored
Jun 25, 2018
by
Qianli Scott Zhu
Committed by
Taylor Robie
Jun 25, 2018
Browse files
Fix typo in dataset. (#4624)
parent
335dd532
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/datasets/movielens.py
official/datasets/movielens.py
+1
-1
No files found.
official/datasets/movielens.py
View file @
7c5c0148
...
...
@@ -151,7 +151,7 @@ def _transform_csv(input_path, output_path, names, skip_first, separator=","):
separator: Character used to separate fields in the raw csv.
"""
if
six
.
PY2
:
names
=
[
n
.
decode
(
"utf-
u
"
)
for
n
in
names
]
names
=
[
n
.
decode
(
"utf-
8
"
)
for
n
in
names
]
with
tf
.
gfile
.
Open
(
output_path
,
"wb"
)
as
f_out
,
\
tf
.
gfile
.
Open
(
input_path
,
"rb"
)
as
f_in
:
...
...
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