【发布时间】:2018-12-30 01:56:35
【问题描述】:
我是 Caffe 的新手,我想将已经训练好的 caffeNet 模型与 ImageNet 一起使用。我通过删除卷积中间 conv4 层来应用网络手术。
'layer {
name: "relu3"
type: "ReLU"
bottom: "conv3"
top: "conv3"
}
layer {
name: "relu5-new"
type: "ReLU"
bottom: "conv5-new"
top: "conv5-new"
}
layer {
name: "pool5-new"
type: "Pooling"
bottom: "conv5-new"
top: "pool5-new"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "fc6"
type: "InnerProduct"
bottom: "pool5-new"
top: "fc6"
inner_product_param {
num_output: 4096
}
}'
Full of prototxt file can be found here
保存这个新网络后,准确率变为 0。我应该对 ImageNet 验证集进行微调,还是我的新 prototxt 文件有问题?
任何帮助将不胜感激!
【问题讨论】:
标签: image-processing machine-learning neural-network deep-learning caffe