yilinjuang / Adversarial-Learning

Individual Study under Prof. S. D. Lin
1 stars 0 forks source link

Cant run mnist_blackbox_boost.py for Random Forest #2

Open Jeredriq opened 5 years ago

Jeredriq commented 5 years ago

Hi,

I'm trying to run mnist_blackbox_boost.py with randforest 2 50 but I've got the exception below:


  File "C:/Users/Jeredriq/Desktop/Adversarial-Learning-master/mnist_blackbox_boost.py", line 298, in train_substitute
    init_all=False, verbose=False, args=train_params)

TypeError: model_train() got an unexpected keyword argument 'verbose'
Jeredriq commented 5 years ago

And when I delete it (verbose argument) I get the error below


  File "c:\users\jeredriq\appdata\local\programs\python\python35\lib\site-packages\cleverhans\attacks.py", line 57, in __init__
    raise TypeError("The model argument should be an instance of"

TypeError: The model argument should be an instance of the cleverhans.model.Model class.