color (1, 3, 425, 560) depth (1, 1, 425, 560) label (1, 1, 425, 560) data (1, 4, 425, 560)
Hope it helps!
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/PTpXo3z-HBc/unsubscribe.
To unsubscribe from this group and all its topics, 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/7d69d262-591b-41d2-84c4-f12cd3919f64%40googlegroups.com.
Hi,
Thanks for the info. I am actually not using the NYUD dataset rather i have a different 4 channel images. However, i am using the same procedure as for NYUD dataset. I am preparing the dataset for the nyud_layers.py. As far as i understood, it reads a .mat file for labels for each groundtruth image. Therefore, i am creating such .mat files.
Now the question is should these raw .mat files contain a matrix of size 1xHxW or just 2D matrix of size HxW only? With only 2D matrix in the .mat file, i get the FCN running but the loss does not descent. With an additional singleton dimension in the matrix (i.e. 1xHxW) the FCN code crash with the error saying it can only handle 4 channels or less. The reason i am trying to use singleton dimension is because in nyud_layers code it states:
def load_label(self, idx): """ Load label image as 1 x height x width integer array of label indices. Shift labels so that classes are 0-39 and void is 255 (to ignore it). The leading singleton dimension is required by the loss. """ ... So, i am not sure if i am providing the data correctly or not. Is singleton dimension must for labels?
On 2016-07-21 11:06, Lê Hoàng Ân wrote:
Hi,Great to hear that I'm not the only one experience this problem. I'm not sure that I understand your question correctly, I used the provided nyud_layers.py for the input layer, so I guess it does all the hard work. In detail, here's some of my first layer dimensions:
color (1, 3, 425, 560) depth (1, 1, 425, 560) label (1, 1, 425, 560) data (1, 4, 425, 560)Hope it helps!
On Wed, Jul 20, 2016 at 8:04 PM, skeptic.sisyphus <jawad...@gmail.com> wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/PTpXo3z-HBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
As it appears, this commands loads a mat file for each label image but if i look into the NYUD dataset it has a single large mat file of size HxWxN where N is the number of images. So, did you split the NYUD dataset or is it some other old version of the dataset that you have?
If you are sure that the dimension of the data was HxW, then I guess the problem might be with the absence of singleton dimension as comments in nyud_layers file say clearly that it is needed for computation of loss.
In your previous message you listed the layer dimensions, there i can see the singleton dimension, would you tell how you obtained those values?
Hi,
No progress yet, so you manage to reduce the loss to 20-40K already. Maybe I can take your advice. What've you done?
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/d6c508b1-663a-444f-82f1-30024d9fd268%40googlegroups.com.