aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/how_tos
diff options
context:
space:
mode:
authorGravatar Eugene Brevdo <ebrevdo@gmail.com>2016-03-10 17:18:30 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-03-11 11:41:23 -0800
commit56f1d64998744ad655fe5c428658a13be35b865e (patch)
tree1c4e5ec1192835898b9e17f462cf62838534add2 /tensorflow/examples/how_tos
parent64dd5b58d52d37697d5beb68e2177b966108e0a7 (diff)
Fix dependencies bugs
Change: 116925769
Diffstat (limited to 'tensorflow/examples/how_tos')
-rw-r--r--tensorflow/examples/how_tos/reading_data/convert_to_records.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/examples/how_tos/reading_data/convert_to_records.py b/tensorflow/examples/how_tos/reading_data/convert_to_records.py
index c8819e05ce..da42b5cc38 100644
--- a/tensorflow/examples/how_tos/reading_data/convert_to_records.py
+++ b/tensorflow/examples/how_tos/reading_data/convert_to_records.py
@@ -68,6 +68,7 @@ def convert_to(images, labels, name):
'label': _int64_feature(int(labels[index])),
'image_raw': _bytes_feature(image_raw)}))
writer.write(example.SerializeToString())
+ writer.close()
def main(argv):