-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.ini
40 lines (35 loc) · 997 Bytes
/
config.ini
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
[DEFAULT]
pycaffe_path = /home/shuan/caffe-master/python
# MODEL PATH
original_prototxt_path = ./model/train_val.prototxt
original_model_path = ./model/cifar10.caffemodel
optimized_prototxt_path = ./model/opt_train_val.prototxt
optimized_model_path = ./model/opt_cifar10.caffemodel
# MERGE BN SCALE
merge_bn_scale = yes
# yes / no
# MERGE INPUT PREPROCESS
merge_input_scale = yes
merge_input_mean = yes
# yes / no
# using mean() to calc mean vector [R G B]
mean_proto_path = ./data/mean.npy
# if mean.npy didn't exist, we will use given mean values below
mean_R = 123.0
mean_G = 117.0
mean_B = 104.0
# INPUT SCALE FACTOR, e.g. MobileNet used 0.017 to scale raw data.
input_scale = 0.017
# INPUT IMAGE SIZE
H = 224
W = 224
# setting H and W explicitly, in case your prototxt was not the format of deploy.prototxt
C = 3
# 3 for RGB; 1 for Gray
# ELIMINATE DROPOUT
merge_dropout = yes
# yes / no
# MERGE IN-PLACE MEMORY
merge_inplace_memory = yes
# yes / no
# inplace operation memory reuse