Solved by ricardborras in post #3 
              
              
                Hi, 
thanks for the tip, I have removed Softmax from classification layer. Also, I found my mistake: it was a problem of weight initialization of last 1x1 convolution layer. Now the network is learning properly. 
many thanks