Hi, thank you for this! In fact, the reason for my loss being so high all of a sudden was because my loss function was contrastive loss for which I had set the default margin to 10 (really high in my use case!) but now I have another issue, my loss does not converge. I’ll try reshuffling the dataset and test out some other things.