comment out graph for now and close it at the end

This commit is contained in:
Dr. Kashif Rasul
2020-01-16 15:17:37 +01:00
parent 994f1202b7
commit 616ca73a68
+3 -3
View File
@@ -37,9 +37,7 @@ class Trainer:
)
writer = SummaryWriter()
writer.add_graph(net)
#writer.add_graph(net)
for epoch_no in range(self.epochs):
# mark epoch start time
@@ -78,3 +76,5 @@ class Trainer:
# mark epoch end time and log time cost of current epoch
toc = time.time()
writer.close()