@shivam2298 My target Image contains only 1(white) and 0(black) . So i created a label map where background is 0 and area of interest is 1.Hence my output dimension is 1(Please rectify me if i am going the wrong way).
And i dint fully understand to use one-hot vectors in this case(I used one hot in multi class where the dimension is equal to the number of classes).
Please tell me how can i use one hot encoding in this case for the representation of target.