Open rasmath opened 8 years ago
Hi, AFAIK, the addCustomLossLayer
is from the example code in the tutorial and is not a part of MatConvNet. Do you have the proper paths set? (simply see command addpath
and the file addCustomLossLayer
should be somewhere around...).
I am adding a regression layer at the end of the cifar-10 function but it doesn't recognizes the function. I am following exactly what the section 3.3 from the VGG example (http://www.robots.ox.ac.uk/~vgg/practicals/cnn-reg/index.html) asks without success, I've added 2 L2 loss functions to the matlab folder l2LossForward.m and l2LossBackward.m % Add a loss (using our custom layer) net = addCustomLossLayer(net, @l2LossForward, @l2LossBackward) ;
What could be the problem ? Is it addCustomLossLayer deprecated ?