Skip to content

Commit 8485461

Browse files
authored
Writer needs to be closed
If the writer is not closed, only a single dot is shown on graphs on Tensorboard.
1 parent 4461953 commit 8485461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch02_basics/moving_avg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
print(raw_data[i], curr_avg)
2727
writer.add_summary(summary_str, i)
2828

29-
29+
writer.close()

0 commit comments

Comments
 (0)