Hi Carlos and Przemek D
I have the same problem "Cannot copy param 0 weights from layer 'upscore2_2class'; shape mismatch. Source param shape is 2 1 4 4 (32); target param shape is 2 2 4 4 (64). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer." but in the deconvolution layer. In my case I am using FCN8 and I am doing finetune in this net, and I started the training with the weights "fcn8s-heavy-pascal.caffemodel".
In my case the images are of 400x300, However the deploy.prototxt of the fcn have dim: 500 dim: 500, but my images have 400x300, I don't understand why when I do make infer.py I am obtaining this error with the deconvolution layer . Please I need your help.
Here I attached my train.prototxt and the deploy.prototxt.
Przemek D I already published this problem in caffe users with this issue "[caffe-users] U-Net Image segmentation won't converge, loss doesn't change significantly" and I specify more my problem, Please I need your help