forked from tatz1101/Edge-AI-Platform-Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsolver.prototxt
32 lines (31 loc) · 906 Bytes
/
solver.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
net: "deephi/miniVggNet/pruning/train_val.prototxt"
#
#
test_iter: 180 # test_iter = test dataset size / test batch size
#
test_interval: 1000 # amount of iterations after which the NN will test the performance on the test dataset
#
base_lr: 0.01 # the beginning of learning rate
#
lr_policy: "poly" # it could be "step", "fixed", "exp", "poly", "sigmoid"
power: 1
#
#gamma: 0.1 # how much the learning rate should be changed every time we reach the next step
#
#stepsize: 8000
display: 100
max_iter: 40000 # end of NN training. Note that max_iter = num_epochs * training set size / test batch size
#
momentum: 0.9
weight_decay: 0.0005
snapshot: 20000
#snapshot_format: HDF5
snapshot_prefix: "deephi/miniVggNet/pruning/snapshot_"
#
#solver_mode: CPU
solver_mode: GPU
#
#type: "Nesterov"
type: "SGD"
random_seed: 1201
#snapshot_after_train: true