forked from yhgon/KRDLDAY2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_CIFAR-simple_FCN_03
100 lines (99 loc) · 1.25 KB
/
model_CIFAR-simple_FCN_03
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
name: "MLP"
layer {
name: "cifar100"
type: "Data"
top: "data"
top: "label"
include {
phase: TRAIN
}
data_param {
batch_size: 64
}
}
layer {
name: "cifar100"
type: "Data"
top: "data"
top: "label"
include {
phase: TEST
}
data_param {
batch_size: 100
}
}
layer {
name: "scale"
bottom: "data"
top: "scale"
type: "Power"
power_param {
# 1/(standard deviation)
scale: 0.0125
}
}
layer {
name: "ip1"
type: "InnerProduct"
bottom: "scale"
top: "ip1"
param {
lr_mult: 1
}
param {
lr_mult: 2
}
inner_product_param {
num_output: 500
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "relu1"
type: "ReLU"
bottom: "ip1"
top: "ip1"
}
layer {
name: "ip2"
type: "InnerProduct"
bottom: "ip1"
top: "ip2"
param {
lr_mult: 1
}
param {
lr_mult: 2
}
inner_product_param {
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "accuracy"
type: "Accuracy"
bottom: "ip2"
bottom: "label"
top: "accuracy"
include {
phase: TEST
}
}
layer {
name: "loss"
type: "SoftmaxWithLoss"
bottom: "ip2"
bottom: "label"
top: "loss"
}