caffe_layer参数

来源:互联网 发布:抄袭检测软件 编辑:程序博客网 时间:2024/06/06 07:00

1 . blob
看blob.hpp

Blob(const int num, const int channels, const int height, const int width); 

2 . conv layer参数

  blobs_lr: 1          # learning rate multiplier for the filters  blobs_lr: 2          # learning rate multiplier for the biases  weight_decay: 1      # weight decay multiplier for the filters [Regularization]  weight_decay: 0      # weight decay multiplier for the biases
weight_filler [default type: 'constant' value: 0]:参数的初始化方法bias_filler:偏置的初始化方法

通过卷积后的大小变化
输入:ncihiwi
输出:ncohowo

其中ho=(hi+2PK)S+1
wo通过同样的方法计算
P: pad, K: kernel size, S: stride

  1. inner_product_param
    num_output: 1000
0 0
原创粉丝点击