From abce56dd4009d946ff9f792f0d4e3987dac4db0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoffer=20M=C3=BCller=20Madsen?= Date: Tue, 27 Mar 2018 23:13:59 +0000 Subject: [PATCH] fix typo --- network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network.py b/network.py index 082f322..f1f1859 100644 --- a/network.py +++ b/network.py @@ -295,7 +295,7 @@ class Network: return [0] if tf_session == None: - with tf.Session(): + with tf.Session() as session: session.run(tf.global_variables_initializer()) self.restore_model(session) outcomes = [ (method, do_eval(session,