| #!/bin/bash |
| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| # The train/test net protocol buffer definition |
| net: "/caffe-test/train/train_test.prototxt" |
| # test_iter specifies how many forward passes the test should carry out. |
| test_iter: 2 |
| # Carry out testing every 500 training iterations. |
| test_interval: 10 |
| # The base learning rate, momentum and the weight decay of the network. |
| base_lr: 0.01 |
| momentum: 0.9 |
| weight_decay: 0.0005 |
| # The learning rate policy |
| lr_policy: "inv" |
| gamma: 0.0001 |
| power: 0.75 |
| # Display every 100 iterations |
| display: 20 |
| # The maximum number of iterations |
| max_iter: 81 |
| # snapshot intermediate results |
| snapshot: 5000 |
| snapshot_prefix: "mnist_lenet" |
| # solver mode: CPU or GPU |
| solver_mode: CPU |