Hi,
A simple question, how could I turn a inner product layer back to deconvolution layer?
Following is what I did, thanks a lot
layer {
name: "ip1deconde"
type: "InnerProduct"
bottom: "ip2encode"
top: "ip1deconde"
param {
lr_mult: 2
decay_mult: 1
}
param {
lr_mult: 1
decay_mult: 0
}
inner_product_param {
num_output: 250
weight_filler {
type: "gaussian"
std: 1
sparse: 25
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "deconv2"
type: "Deconvolution"
bottom: "ip1deconde"
top: "deconv2"
param {
lr_mult: 2
decay_mult: 1
}
param {
lr_mult: 1
decay_mult: 0
}
convolution_param {
num_output: 4
kernel_size: 12
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}