lenet_train_test.prototxt分析
来源:互联网 发布:python 矩阵 查看 编辑:程序博客网 时间:2024/06/02 02:20
lenet_train_test.prototxt
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
1 0
- lenet_train_test.prototxt分析
- Caffe研究实践 四 -------lenet_train_test.prototxt分析
- caffe中lenet_train_test.prototxt配置文件注解
- Caffe 关于 LetNet-5 之 lenet_train_test.prototxt 解析
- caffe中mnist中 lenet_train_test.prototxt和lenet.prototxt(deploy文件)区别
- Caffe学习笔记:cifar10_quick_train_test.prototxt配置文件分析
- caffe中*_train_test.prototxt配置文件分析
- Caffe学习笔记(三):cifar10_quick_train_test.prototxt配置文件分析
- lenet.prototxt
- solver.prototxt
- train_val.prototxt和deploy.prototxt
- *_train_test.prototxt,*_deploy.prototxt,*_slover.prototxt文件编写时注意事项
- *_train_test.prototxt,*_deploy.prototxt,*_slover.prototxt文件编写时注意事项
- *_train_test.prototxt,*_deploy.prototxt,*_slover.prototxt文件编写时注意事项
- caffe中train_val.prototxt和deploy.prototxt转换 ResNet_18_deploy.prototxt
- 将train_val.prototxt 转换成deploy.prototxt
- 讲train_val.prototxt转化为deploy.prototxt
- 由train_val.prototxt 生成deploy.prototxt
- [原创]标准I/O(buffered I/O)浅析
- 通过 Storm 消费 Loghub 日志
- Maven多项目依赖配置
- 跨越1273.1公里,我决定去阿里巴巴结束这段异地恋
- 编译性语言、解释性语言和脚本语言的区别
- lenet_train_test.prototxt分析
- Android JAVA中如何利用泛型使方法动态返回不同类型
- 防火墙导致vmware和windows ping不通
- 霍夫找線(HoughLines、HoughLinesP)
- CWDM/DWDM复用/解复用解决方案推荐
- Glib内存管理模块之magazine layer
- Underscore.js-精巧而强大实用功能库
- 【总结】Hadoop NameNode元数据相关文件目录解析
- JavaScript之事件委托