forked from ShaoqingRen/SPP_net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpascal_finetune_fc_spm_test.prototxt
136 lines (134 loc) · 1.89 KB
/
pascal_finetune_fc_spm_test.prototxt
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
input: "data"
input_dim: 128
input_dim: 12800
input_dim: 1
input_dim: 1
input: "label"
input_dim: 128
input_dim: 1
input_dim: 1
input_dim: 1
#--------------------------layer 6------------------------
layers {
layer {
name: "fc6"
type: "inner_product"
inner_product_param{
num_output: 4096
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
blobs_lr: 1.0
blobs_lr: 2.0
}
bottom: "data"
top: "fc6"
}
layers {
layer {
name: "relu6"
type: "relu"
}
bottom: "fc6"
top: "fc6"
}
layers {
layer {
name: "drop6"
type: "dropout"
dropout_param{
dropout_ratio: 0.5
}
}
bottom: "fc6"
top: "fc6"
}
#--------------------------layer 7------------------------
layers {
layer {
name: "fc7"
type: "inner_product"
inner_product_param{
num_output: 4096
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
blobs_lr: 1.0
blobs_lr: 2.0
}
bottom: "fc6"
top: "fc7"
}
layers {
layer {
name: "relu7"
type: "relu"
}
bottom: "fc7"
top: "fc7"
}
layers {
layer {
name: "drop7"
type: "dropout"
dropout_param{
dropout_ratio: 0.5
}
}
bottom: "fc7"
top: "fc7"
}
#--------------------------layer 8------------------------
layers {
layer {
name: "fc8_pascal"
type: "inner_product"
inner_product_param{
num_output: 21
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
blobs_lr: 1.
blobs_lr: 2.
weight_decay: 1.
weight_decay: 0.
}
bottom: "fc7"
top: "fc8_pascal"
}
#-----------------------output------------------------
layers {
layer {
name: "prob"
type: "softmax"
}
bottom: "fc8_pascal"
top: "prob"
}
layers {
layer {
name: "accuracy"
type: "accuracy"
}
bottom: "prob"
bottom: "label"
top: "accuracy"
}