Skip to content

Commit

Permalink
Fix typo in dataset. (tensorflow#4624)
Browse files Browse the repository at this point in the history
  • Loading branch information
qlzh727 authored and Taylor Robie committed Jun 25, 2018
1 parent 335dd53 commit 7c5c014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion official/datasets/movielens.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7c5c014

Please sign in to comment.