-
Notifications
You must be signed in to change notification settings - Fork 4
/
config-cbam-att.yml
executable file
·95 lines (71 loc) · 1.53 KB
/
config-cbam-att.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
#The configuration for training
#setting for data
p_size: 16
k_size: 4
gpus: "5"
# settings for optimizer
optimizer: "adam"
lr: 0.001
wd: 0.0005
lr_step: '80,180'
#settings for data
dataset: "market"
crop_size: 128
aug: {
# force_resize: [256,128],
resize_shorter: 144, # open when random crop is selected
rand_mirror: true,
rand_crop: true,
random_erasing: false
}
#settings for model
#prefix: 'channel_att_rgbm_mask-v1'
prefix: 'channel_att_rgb_share_0908'
network: "resnet_s16"
model_load_prefix: "resnet-50" #"models/duke/baseline-s16-erase-2loss-1.0"
model_load_epoch: 0
begin_epoch: 0
num_epoch: 300
memonger: false
# mask specific setting
data_type: 'rgb'
att_input_type: 'rgbm'
#att_input_type: 'mask'
mlp_channel_att: True
att_branch_share: True
channel_att_enable: True
spatial_att_enalbe: False
# settings for architecture
use_gcn: false
temperature: 0.1
keep_diag: true
residual: false
bottleneck_dims: 512
dropout_ratio: 0.5
with_relu: false
#settings for loss function
use_triplet: true
triplet_margin: 1.0
use_softmax: true
use_pcb: false
num_parts: 3
triplet_normalization: false
softmax_weight_normalization: false
softmax_feat_normalization: false
norm_scale: 20
# specific settings for data set
# duke
duke: {
num_id: 702,
data_dir: "/mnt/truenas/scratch/chuanchen.luo/data/reid/DukeMTMC-reID",
}
# market-1501
market: {
num_id: 751,
data_dir: "/home/chencp/dataset/Market-1501-v15.09.15",
}
# cuhk-03
cuhk: {
num_id: 767,
data_dir: "/mnt/truenas/scratch/chuanchen.luo/data/reid/cuhk03-np/labeled",
}