remove warning when using default tf session
@@ -34,7 +34,6 @@ class Attack(object):
raise Exception("A session should not be provided when using th.")
elif back == 'tf' and sess is None:
import tensorflow as tf
- warnings.warn("A session should be provided when using tf.")
sess = tf.get_default_session()
if not isinstance(model, Model):
