I want to make a model based on ResNet to do semantic segmentation, and I
upsampled the last several layers  with bilinear interpolation which is similar to the methods in FCN. However, I don’t know how to process the ignored_label in the
nn.NLLLoss2d layer. Does anyone know how to do that ?