Thanks a lot for your reply.
Now I am stuck on the following:
Essentially converting the [batch_size, nb_classes, height, width] from output with 12 classes.
predictions[‘out’]
Out[76]:
tensor([[[[-0.0465, -0.0465, -0.0465, …, -0.0556, -0.0556, -0.0556],
[-0.0465, -0.0465, -0.0465, …, -0.0556, -0.0556, -0.0556],
[-0.0465, -0.0465, -0.0465, …, -0.0556, -0.0556, -0.0556],
…,
predictions[‘out’].size()
Out[77]: torch.Size([1, 12, 300, 400])