Remove nb_classes from JSMA tutorial
@@ -121,8 +121,7 @@ def mnist_tutorial_jsma(train_start=0, train_end=60000, test_start=0,
wrap = KerasModelWrapper(model)
jsma = SaliencyMapMethod(wrap, back='tf', sess=sess)
jsma_params = {'theta': 1., 'gamma': 0.1,
- 'nb_classes': nb_classes, 'clip_min': 0.,
- 'clip_max': 1.,
+ 'clip_min': 0., 'clip_max': 1.,
'y_target': None}
figure = None
