peikexin9 / deepxplore

DeepXplore code release
MIT License
393 stars 146 forks source link

GoogleNet for Image Classification #18

Closed rajasekharponakala closed 6 years ago

rajasekharponakala commented 6 years ago

Hi Pei,

There is an image classification task for identifying an image consisting of a Bus, Car, Van, Truck. This is implemented by using GoogleNet (Caffe) model. Now, in order to fool the model by identifying a Bus as Car, how can we use DeepXplore for this particular type of classification.

Thanks.

peikexin9 commented 6 years ago

Hi @rajasekharponakala, sorry for the late reply. If there are Keras model for GoogleNet, I believe you can import the GoogleNet model in gen_diff.py like what is done for other models: "from keras.applications.vgg19 import VGG19". Then use it the same way as other models, e.g., replace VGG19 with the GoogleNet. There should be nothing else significant to change.

rajasekharponakala commented 6 years ago

No problem!. Thanks for the reply. I'll try doing that.