Alexnet中deploy.prototxt与train_val.prototxt的对比

来源:互联网 发布:淘宝返现处罚 编辑:程序博客网 时间:2024/06/05 17:16

一般模型中会包含如下几个文件:
这里写图片描述
其中,train_val.prototxt 文件是网络配置文件。该文件是在训练的时候用的。deploy.prototxt文件是在测试时使用的文件。solver.prototxt文件是网络求解文件。

deploy.prototxt文件是在train_val.prototxt 文件最大的不同是train_val.prototxt 中每一个卷积层中会有weight_filler和bias_filler对weight和bias进行初始化。

以下为train_val.prototxt 和deploy.prototxt文件的对比结果:
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述

1 0