-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yml
162 lines (137 loc) · 3.05 KB
/
config.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
#Copyright (C) 2019-2020, Authors of ECCV2020 #2274 "Adversarial Ranking Attack and Defense"
#Copyright (C) 2019-2020, Mo Zhou <[email protected]>
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
# --- Dataset Meta Information ---
fashion-mnist:
#t10k-images-idx3-ubyte.gz
#t10k-labels-idx1-ubyte.gz
#train-images-idx3-ubyte.gz
#train-labels-idx1-ubyte.gz
path: ~/.torch/FashionMNIST/raw/
mnist:
#t10k-images-idx3-ubyte.gz
#t10k-labels-idx1-ubyte.gz
#train-images-idx3-ubyte.gz
#train-labels-idx1-ubyte.gz
path: ~/.torch/MNIST/raw/
sop:
# Ebay_train.txt
# Ebay_test.txt
path: ~/.torch/Stanford_Online_Products/
# -- fashion --
fa_cls_softmax:
epoch: 10
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
fa_cls_c2f2:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
faC_c2f2_siamese:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
faC_c2f2_trip:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
faE_c2f2_siamese:
epoch: 30
lr: 0.001
batchsize: 500
batchsize_atk: 100
faE_c2f2_trip:
epoch: 30
lr: 0.001
batchsize: 500
batchsize_atk: 100
faC_lenet_trip:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
faC_res18_trip:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
# -- mnist --
mn_cls_softmax:
epoch: 10
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
mn_cls_c2f2:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
mnC_c2f2_siamese:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
mnC_c2f2_trip:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
mnE_c2f2_siamese:
epoch: 30
lr: 0.001
batchsize: 500
batchsize_atk: 100
mnE_c2f2_trip:
epoch: 30
lr: 0.001
batchsize: 500
batchsize_atk: 100
mnC_lenet_trip:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
mnC_res18_trip:
epoch: 30
lr: 0.001
batchsize: 1000
batchsize_atk: 1000
# -- stanford online product
# http://cvgl.stanford.edu/projects/lifted_struct/
sopC_res18_siamese:
epoch: 6 # no 42 epoches
lr: 0.0001
batchsize: 128
batchsize_atk: 128
sopC_res18_trip:
epoch: 42
lr: 0.0001
dylr: -1
batchsize: 128
batchsize_atk: 128
sopE_res18_siamese:
epoch: 6 # no 42 epoches
lr: 0.00001
batchsize: 128
batchsize_atk: 32
sopE_res18_trip:
epoch: 42
lr: 0.00001
dylr: -1
batchsize: 128
batchsize_atk: 32 # 12GB TITAN X (Pascal)