lenet_train_test.prototxt分析
2017-03-09 10:15
281 查看
lenet_train_test.prototxt
test:表示对训练好的模型进行Testing,而不是training。其他参数包括train, time, device_query。
-model=XXX:指定模型prototxt文件,这是一个文本文件,详细描述了网络结构和数据集信息
参考资料:
读书笔记 薛开宇
from:http://blog.csdn.net/forest_world/article/details/51381522
test:表示对训练好的模型进行Testing,而不是training。其他参数包括train, time, device_query。
-model=XXX:指定模型prototxt文件,这是一个文本文件,详细描述了网络结构和数据集信息
name: "LeNet" layer { name: "mnist" type: "Data" top: "data" top: "label" include { phase: TRAIN } transform_param { scale: 0.00390625 } data_param { source: "examples/mnist/mnist_train_lmdb" batch_size: 64 backend: LMDB } } layer { name: "mnist" type: "Data" top: "data" top: "label" include { phase: TEST } transform_param { scale: 0.00390625 } data_param { source: "examples/mnist/mnist_test_lmdb" batch_size: 100 backend: LMDB } } layer { name: "conv1" type: "Convolution" bottom: "data" top: "conv1" param { lr_mult: 1 } param { lr_mult: 2 } convolution_param { num_output: 20 kernel_size: 5 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" } } } layer { name: "pool1" type: "Pooling" bottom: "conv1" top: "pool1" pooling_param { pool: MAX kernel_size: 2 stride: 2 } } layer { name: "conv2" type: "Convolution" bottom: "pool1" top: "conv2" param { lr_mult: 1 } param { lr_mult: 2 } convolution_param { num_output: 50 kernel_size: 5 stride: 1 weight_filler { type: "xavier" } bias_filler { type: "constant" } } } layer { name: "pool2" type: "Pooling" bottom: "conv2" top: "pool2" pooling_param { pool: MAX kernel_size: 2 stride: 2 } } layer { name: "ip1" type: "InnerProduct" bottom: "pool2" top: "ip1" param { lr_mult: 1 } param { lr_mult: 2 } inner_product_param { num_output: 500 weight_filler { type: "xavier" } bias_filler { type: "constant" } } } layer { name: "relu1" type: "ReLU" bottom: "ip1" top: "ip1" } layer { name: "ip2" type: "InnerProduct" bottom: "ip1" top: "ip2" param { lr_mult: 1 } param { lr_mult: 2 } inner_product_param { num_output: 10 weight_filler { type: "xavier" } bias_filler { type: "constant" } } } layer { name: "accuracy" type: "Accuracy" bottom: "ip2" bottom: "label" top: "accuracy" include { phase: TEST } } layer { name: "loss" type: "SoftmaxWithLoss" bottom: "ip2" bottom: "label" top: "loss" }
参考资料:
读书笔记 薛开宇
from:http://blog.csdn.net/forest_world/article/details/51381522
相关文章推荐
- Caffe 关于 LetNet-5 之 lenet_train_test.prototxt 解析
- Caffe学习笔记(三):cifar10_quick_train_test.prototxt配置文件分析
- caffe中*_train_test.prototxt配置文件分析
- caffe中mnist中 lenet_train_test.prototxt和lenet.prototxt(deploy文件)区别
- caffe中lenet_train_test.prototxt配置文件注解
- caffe配置文件 网络lenet-train-test.prototxt注释及说明
- Caffe学习笔记:cifar10_quick_train_test.prototxt配置文件分析
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明<三>
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明 (一)
- 根据 *_train_test.prototxt文件生成 *_deploy.prototxt文件
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明 (二)
- *_train_test.prototxt,*_deploy.prototxt,*_slover.prototxt文件编写时注意事项
- Caffe 中 solver.prototxt 和 train_test.prototxt 参数详解
- *_train_test.prototxt,*_deploy.prototxt,*_slover.prototxt文件编写时注意事项
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明<二>
- 根据 *_train_test.prototxt文件生成 *_deploy.prototxt文件
- 使用pycaffe 编写train_test.prototxt和deploy.prototxt
- 根据 *_train_test.prototxt文件生成 *_deploy.prototxt文件
- caffe中根据 *_train_test.prototxt文件生成 *_deploy.prototxt文件 (转载)
- 根据 *_train_test.prototxt文件生成 *_deploy.prototxt文件