Replies: 2 comments 3 replies
-
Hi @Jiang010 Does your model/classifier predict probabilities or logits? |
Beta Was this translation helpful? Give feedback.
2 replies
-
hi, @beat-buesser, umm.. Using the DeepFool may occur some troble in my project. activation="linear" cnn_model= Sequential([
Conv2D(filters=36, kernel_size=7, activation='linear', input_shape= im_shape, padding="same"),
MaxPooling2D(pool_size=2),
Conv2D(filters=54, kernel_size=5, activation='linear'),
MaxPooling2D(pool_size=2),
Flatten(),
Dense(1024, activation='linear'),
Dense(512, activation='linear'),
Dense(20, activation='softmax')
]) activation="sigmoid" cnn_model= Sequential([
Conv2D(filters=36, kernel_size=7,
activation='relu',
input_shape= im_shape,
padding="same"),
MaxPooling2D(pool_size=2),
Conv2D(filters=54,
kernel_size=5,
activation='relu'),
MaxPooling2D(pool_size=2),
Flatten(),
Dense(1024, activation='relu'),
Dense(512, activation='relu'),
Dense(20, activation='sigmoid')
]) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
These parameters are setted for DeepFool.
umm, I had also tried others parameters. But, the result is not good.
The left figure is normal example. And the righ figure is adversarial example, it looks so bad.
please, who can tell me, how to improve this question?
Beta Was this translation helpful? Give feedback.
All reactions