caffe源码分析 vector<Blob<Dtype>*>& bottom
2016-05-28 11:25
459 查看
Blob:4个维度 n x c x h x w;
bottom[0] 、bottom[1]代表该层有几个输入。
bottom[0]->count(): 输入中,元素的总维数(个数)
bottom[0]->nums(): 输入中,块(block)的个数,该参数还对应batch_size,即同时输入了几张图片
c:是卷积核(filter)的个数,每个卷积核产生一个通道的输出;在输入层,c直接就是图像的通道数;
还有一个变量,dim;:每个块的维度(元素个数)
形象化:
| xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx |
上图,nums = 8, dim = 5, count = 5*8 =40;
bottom[0] 、bottom[1]代表该层有几个输入。
bottom[0]->count(): 输入中,元素的总维数(个数)
bottom[0]->nums(): 输入中,块(block)的个数,该参数还对应batch_size,即同时输入了几张图片
c:是卷积核(filter)的个数,每个卷积核产生一个通道的输出;在输入层,c直接就是图像的通道数;
还有一个变量,dim;:每个块的维度(元素个数)
形象化:
| xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx |
上图,nums = 8, dim = 5, count = 5*8 =40;
相关文章推荐
- Some Notes of Caffe Installation
- Some Notes of Python Interfaces Pycaffe (Caffe)
- TensorFlow人工智能引擎入门教程之十二 Caffe转换tensorflow并 跨平台调用
- TensorFlow人工智能引擎入门教程所有目录
- 安装caffe过程记录
- py-faster-rcnn训练笔记(ubuntu14.04+cuda7.5+cuDNNv3+Python2.7)
- 准确率, 召回率,mAP
- ubuntu 14.04上配置无GPU的Caffe(A卡机适用)
- caffe term: epoch, itr
- caffe+ubuntu14.04
- caffe中的iteration,batch_size, epochs理解
- Mac下Caffe安装-无GPU
- caffe solver.prototxt文件
- caffe模型的使用
- error :No module named google.protobuf.internal
- Extract CNN features using Caffe
- 配置Caffe+VS2013+CUDA 6.5+Windows 8.1 64位系统
- 使用faster rcnn训练自己的数据(py-faster-rcnn )
- 在Ubuntu中使用Python的matplotlib库时图片不能显示问题的解决方法
- 安装Caffe的Python wrapper时出现问题的解决方法