Caffe研究实践 四 -------lenet_train_test.prototxt分析
来源:互联网 发布:编码器编程程序接线图 编辑:程序博客网 时间:2024/06/13 06:24
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"}
参考资料:
读书笔记 薛开宇
0 2
- Caffe研究实践 四 -------lenet_train_test.prototxt分析
- 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研究之Imagenet的train_val.prototxt解读
- Caffe学习笔记(四):使用pycaffe生成train.prototxt、test.prototxt文件
- Caffe学习笔记(三):cifar10_quick_train_test.prototxt配置文件分析
- caffe solver.prototxt文件
- caffe prototxt 编写注意
- Caffe solver.prototxt学习
- caffe prototxt 可视化
- caffe prototxt参数详解
- caffe的prototxt绘制
- caffe中train_val.prototxt和deploy.prototxt转换 ResNet_18_deploy.prototxt
- Caffe研究实践 一 ------环境搭建
- IOS之基础动画
- 2014年最热门的国人开发开源软件TOP100
- MS SQL Server:分区表、分区索引 详解
- android环境搭建
- 防刷新,只有关闭浏览器才会增加点击量
- Caffe研究实践 四 -------lenet_train_test.prototxt分析
- Linux上JDK的安装和卸载
- qt tableb view 打印预览和打印的问题 个人解决办法
- AsyncTask 异步加载网络图片简单应用
- HTTPS的误解(二)
- ctf练习---ASCII码而已
- 在没SQL Server数据库情况下怎么打开.MDF文件?
- 阅读图书翻页
- Michael的Python笔记(一)