I am using caffe.NetSpec in python to define and export in architecture using the following code :
conv1_1 = L.Convolution(data,top='conv1_1',name='conv1_1',
convolution_param=
{'kernel_size':3,'num_output':64,'pad':1},
param=[{'lr_mult':1, 'decay_mult':1},
{'lr_mult':2,'decay_mult':0}])
But, when generating the train.protxt, two Top blobs appears in the layer as follow :
layer {
name: "conv1_1"
type: "Convolution"
bottom: "Data1"
top: "Convolution1"
top: "conv1_1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 1
kernel_size: 3
}
}
What's going wrong here? Thanks