-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfcn.prototxt
88 lines (87 loc) · 1.34 KB
/
fcn.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
name: "fcnet"
layers {
name: "data"
type: HDF5_DATA
top: "data"
top: "label"
hdf5_data_param {
source: "/home/ecater/Desktop/caffe/examples/science_bowl/aug/data/aug_train.txt"
batch_size: 128
}
include: { phase: TRAIN }
}
layers {
name: "data"
type: HDF5_DATA
top: "data"
top: "label"
hdf5_data_param {
source: "/home/ecater/Desktop/caffe/examples/science_bowl/aug/data/aug_test.txt"
batch_size: 128
}
include: { phase: TEST }
}
layers {
name: "ip2"
type: INNER_PRODUCT
bottom: "data"
top: "ip2"
blobs_lr: 1
blobs_lr: 2
inner_product_param {
num_output: 512
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layers {
name: "relu3"
type: RELU
bottom: "ip2"
top: "ip2"
}
layers {
name: "drop2"
type: DROPOUT
bottom: "ip2"
top: "ip2"
dropout_param {
dropout_ratio: 0.5
}
}
layers {
name: "ip3"
type: INNER_PRODUCT
bottom: "ip2"
top: "ip3"
blobs_lr: 1
blobs_lr: 2
inner_product_param {
num_output: 121
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layers {
name: "accuracy"
type: ACCURACY
bottom: "ip3"
bottom: "label"
top: "accuracy"
include: { phase: TEST }
}
layers {
name: "loss"
type: SOFTMAX_LOSS
bottom: "ip3"
bottom: "label"
top: "loss"
}