Hi Joshua,thanks for the reply.No, i didn't set it to perform pixel value scaling - how would you do it?I followed your suggestion and reduced the learning rate - now the loss stays small but oscillates up and down. Accuracy is still at random choice level, after 4000 iterations. I've looked at the caffe code, and it seems to me it loads all images as 8 bits depth. Do you know anything about it?Thanks,Fabio M.On Wed, Mar 16, 2016 at 8:50 PM, Joshua Slocum <jfsl...@gmail.com> wrote:Have you set your data layer to perform pixel value scaling? If not, then your pixel values are ~256x larger than normal, which could cause an exploding loss if you didn't reduce your learning rate.
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/98ff0644-793a-4bd6-87c4-e8264c630c80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : | |
CV_LOAD_IMAGE_GRAYSCALE); |