54ff47e935ef0c79936bd7e3715674aca3b4f619,tutorials/mnist_tutorial_tf.py,,main,#Any#,24
Before Change
model_2 = cnn_model()
predictions_2 = model_2(x)
fgsm2 = FastGradientMethod(model_2, sess=sess, params={"eps": 0.3})
predictions_2_adv = model_2(fgsm2.generate(x))
def evaluate_2():
// Accuracy of adversarially trained model on legitimate test inputs
eval_params = {"batch_size": FLAGS.batch_size}
After Change
model_2 = cnn_model()
predictions_2 = model_2(x)
fgsm2 = FastGradientMethod(model_2, sess=sess)
predictions_2_adv = model_2(fgsm2.generate(x, params={"eps": 0.3}))
def evaluate_2():
// Accuracy of adversarially trained model on legitimate test inputs
eval_params = {"batch_size": FLAGS.batch_size}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/cleverhans
Commit Name: 54ff47e935ef0c79936bd7e3715674aca3b4f619
Time: 2017-04-19
Author: ngp5056@cse.psu.edu
File Name: tutorials/mnist_tutorial_tf.py
Class Name:
Method Name: main
Project Name: tensorflow/cleverhans
Commit Name: fe9275d886d60addc9b181e90a4e101a5952498c
Time: 2017-05-03
Author: ngp5056@cse.psu.edu
File Name: tutorials/mnist_tutorial_tf.py
Class Name:
Method Name: main
Project Name: tensorflow/cleverhans
Commit Name: 58d6697dc6878689e3c0675619af717e91a4ba0d
Time: 2017-05-03
Author: ngp5056@cse.psu.edu
File Name: tutorials/mnist_tutorial_th.py
Class Name:
Method Name: main