Commit 2af8c3d2 authored by Neal Wu's avatar Neal Wu
Browse files

Switch to the new FileWriter API

parent f7fd0012
......@@ -331,7 +331,7 @@ def train(dataset):
summary_writer = tf.summary.FileWriter(
FLAGS.train_dir,
graph_def=sess.graph.as_graph_def(add_shapes=True))
graph=sess.graph)
for step in range(FLAGS.max_steps):
start_time = time.time()
......
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