image-processing - Caffe的卷积层中bias_filler类型“constant”的默认值是多少?
问题描述
在下面的示例层中,Caffe 的卷积层中bias_filler 类型“constant”的默认值是多少?
layer {
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
convolution_param {
num_output: 12
kernel_size: 3
stride: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
我在http://caffe.berkeleyvision.org/tutorial/layers/convolution.html的文档中找不到答案。
解决方案
您可以在文件中找到很多文档/信息caffe.proto
。该文件描述了 caffe 的 prototxt/binaryproto 的语法。
寻找常量填充的原始定义(第 46 行):
optional float value = 2 [default = 0]; // the value in constant filler
可以看到默认值为 0。
推荐阅读
- visual-studio-code - 是否有键盘快捷键可以在 diff/compare-two-files 编辑器的左侧和右侧之间切换?
- python - google-cloud-sdk 安装因 python 语法错误而失败
- apache-spark - Spark推测的新任务有限制吗?
- html - 大公司用什么来建立他们的动态 html 页面
- python - 无法从 sklearn 导入 c
- laravel - 如何管理模块文件夹内的 Vue 组件?
- python - Python:带有 Pandas 的 JSON 格式的两个字典
- c# - 合并来自 Graph Api 的两个结果
- c - 静态代码分析工具报告的缓冲区溢出问题
- batch-file - 如何批量为函数创建别名?