fix typo
This commit is contained in:
parent
95b12a6c35
commit
abce56dd40
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user