-
Notifications
You must be signed in to change notification settings - Fork 15
/
run.sh
executable file
·75 lines (58 loc) · 2.02 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/bash
set -x #echo on
#keywords = ['Keras', 'Xception', 'Top10Misclassification', 'AdditiveGaussian']
python perceptron/launcher.py \
--framework keras \
--model xception \
--criteria topk_misclassification\
--metric additive_gaussian_noise \
--image example.png
#keywords = ['Keras', 'VGG16', 'Top10Misclassification', 'BlendedUniform']
python perceptron/launcher.py \
--framework keras \
--model vgg16 \
--criteria topk_misclassification\
--metric blend_uniform_noise \
--image example.png
#keywords = ['Keras', 'ResNet50', 'Misclassification', 'CarliniWagnerL2']
python perceptron/launcher.py \
--framework keras \
--model resnet50 \
--criteria misclassification\
--metric carlini_wagner_l2 \
--image example.png
#keywords = ['PyTorch', 'Resent18', 'Misclassification', 'CarliniWagnerL2']
python perceptron/launcher.py \
--framework pytorch \
--model resnet18 \
--criteria misclassification\
--metric carlini_wagner_l2 \
--image example.png
#keywords = ['PyTorch', 'Densenet201', 'TargetClass', 'GaussianBlur']
python perceptron/launcher.py \
--framework pytorch \
--model densenet201 \
--criteria target_class --target_class 300\
--metric gaussian_blur \
--image example.png
#keywords = ['PyTorch', 'Vgg11', 'Misclassification', 'SaltAndPepper']
python perceptron/launcher.py \
--framework pytorch \
--model vgg11 \
--criteria misclassification \
--metric salt_and_pepper_noise \
--image example.png
#keywords = ['Cloud', 'AipAntiPorn', 'Misclassification', 'Rotation']
python perceptron/launcher.py \
--framework cloud \
--model aip_antiporn \
--criteria misclassification_antiporn \
--metric rotation \
--image porn.jpeg
#keywords = ['Cloud', 'GoogleSafeSearch', 'Misclassification', 'ContrastReduction']
python perceptron/launcher.py \
--framework cloud \
--model google_safesearch \
--criteria misclassification_safesearch \
--metric contrast_reduction \
--image porn.jpeg