openmv/ml/cmsisnn/models/smile/smile_solver.prototxt
iabdalkader 403911c598 Update NN models.
* Update cifar10_fast network (retrained for better accuracy).
* Fix and update smile network (use hdf5 for consistency with other models and update hyper-parameters).
2019-03-30 17:27:53 +02:00

31 lines
964 B
Plaintext

# The train/test net protocol buffer definition
net: "models/smile/smile_train_test.prototxt"
# Specifies how many forward passes the test should carry out.
# Test batch size 48*30 iterations = 1440 testing images.
test_iter: 30
# Carry out testing every 1000 training iterations.
test_interval: 1000
# The learning rate policy
# begin training at a learning rate of 0.01 = 1e-2
base_lr: 0.01
momentum: 0.9
weight_decay: 0.00001
# learning rate policy: drop the learning rate in
# "steps" by a factor of gamma every stepsize iterations
lr_policy: "step"
# drop the learning rate by a factor of 10
# (i.e., multiply it by a factor of gamma = 0.1)
gamma: 0.1
# Drop the learning rate every 10K iterations
stepsize: 10000
# train for 100K iterations total
max_iter: 60000
# Display every 100 iterations
display: 100
# snapshot intermediate results
snapshot: 20000
snapshot_format: HDF5
snapshot_prefix: "models/smile/smile"
# solver mode: CPU or GPU
solver_mode: GPU