-
Notifications
You must be signed in to change notification settings - Fork 51
/
dissect_all.sh
executable file
·54 lines (38 loc) · 1.16 KB
/
dissect_all.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
#!/bin/bash
QUANTILE=0.01
MINIOU=0.04
SEG=netpqc
DATASET=places
MODEL=vgg16
for LAYER in conv1_1 conv1_2 conv2_1 conv2_2 conv3_1 conv3_2 conv3_3 \
conv4_1 conv4_2 conv4_3 conv5_1 conv5_2 conv5_3
do
python -m experiment.dissect_experiment \
--quantile ${QUANTILE} --miniou ${MINIOU} \
--model ${MODEL} --dataset ${DATASET} --seg ${SEG} --layer ${LAYER}
done
MODEL=resnet152
for LAYER in 0 4 5 6 7
do
python -m experiment.dissect_experiment \
--quantile ${QUANTILE} --miniou ${MINIOU} \
--model ${MODEL} --dataset ${DATASET} --seg ${SEG} --layer ${LAYER}
done
MODEL=alexnet
for LAYER in conv1 conv2 conv3 conv4 conv5
do
python -m experiment.dissect_experiment \
--quantile ${QUANTILE} --miniou ${MINIOU} \
--model ${MODEL} --dataset ${DATASET} --seg ${SEG} --layer ${LAYER}
done
MODEL=progan
for DATASET in kitchen church bedroom livingroom
do
for LAYER in layer1 layer2 layer3 layer4 layer5 layer6 layer7 \
layer8 layer9 layer10 layer11 layer12 layer13 layer14
do
python -m experiment.dissect_experiment \
--quantile ${QUANTILE} --miniou ${MINIOU} \
--model ${MODEL} --dataset ${DATASET} --seg ${SEG} --layer ${LAYER}
done
done