There are 2 classes for a semantic segmentation problem, hence for an image size 250x250 the dims are 2x250x250. Ideally I'd like to have the following H matrix:
[1, 0,
10, 1]
since there are 2 classes per pixel, but the documentation is telling me it has to be much larger (KxK, i,e, 2*250*250x2*250*250). So should I have such a matrix twice the size of an image (i.e. a separate matrix for every image, which is quite hard)? I didn't find the solution anywhere.