remove unnecessary installation of default session
@@ -272,7 +272,6 @@ def batch_eval(sess, tf_inputs, tf_outputs, numpy_inputs, batch_size=None,
out = []
for _ in tf_outputs:
out.append([])
- with sess.as_default():
for start in range(0, m, batch_size):
batch = start // batch_size
if batch % 100 == 0 and batch > 0:
