is there any real good full tutorial for regression in caffe
I am trying to do regression where the input is an image and the output is a vector of 100 values between 0 and 1 (will it make a difference if i scaled them to [-1,1] ? )
at the last fully connected layer ( am using a modified version of GoogLenet) i am getting values near 0.01 all the time (I expect 70 values near zero and 30 values ranging from 0.3 to 1) , the output from softmax layer is not helping
here is my last few layer of my network. I am fine tuning from a model trained on Imagenet while i am using COCO-text dataset which is 63K images of text in natural scene images.
I created HDF5 files for the input layer. any help would be appreciated
layer {
name: "CAM_conv"
type: "Convolution"
bottom: "inception_4e/output"
top: "CAM_conv"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 1024
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layer {
name: "CAM_relu"
type: "ReLU"
bottom: "CAM_conv"
top: "CAM_conv"
}
layer {
name: "CAM_pool"
type: "Pooling"
bottom: "CAM_conv"
top: "CAM_pool"
pooling_param {
pool: AVE
kernel_size: 14
stride: 14
}
}
layer {
name: "CAM1_fc"
type: "InnerProduct"
bottom: "CAM_pool"
top: "CAM1_fc"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
inner_product_param {
num_output: 100
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0
}
}
}