thank you. yes, there are only 2 classes. in fact, I just need the probability.
you mean I should map dim 2048 to 1 first?
is it ok if not  use a linear transformation but use a additional  conv layer?
for example,
nn.Conv2d(opt.ndf * 8, 1, 4, 1, 0, bias=False),   #opt.ndf * 8=2048
nn.Sigmoid()
is it ok?