Commit 7c5c0148 authored by Qianli Scott Zhu's avatar Qianli Scott Zhu Committed by Taylor Robie
Browse files

Fix typo in dataset. (#4624)

parent 335dd532
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment