I have a problem and I hope someone could help me through this.
I am training a resnet34 to classify the gender (male or female) in the CelebA dataset, and I use the nn.CrossentropyLoss() for this task. However, the training loss always stays around 0.7 !! I cannot even overfit my train dataset.
I have checked the dataset (images match the annotations).
I have checked the networks. Parameters.require_grad. they are all True.
…
I have also added the network information if it helps. My classification problem is a part of the whole multi-task problem (classification and regression).
I really don’t know where I have missed what.
Thank you so much.