Hello @ptrblck , thank you for the answer!

It seems you are setting n_classes to 2 while creating the module, but are never using it inside the module.

I am passing the ‘n_classes’ to nn.Linear.
Actually, I decided to leave my model as a multi-class classifier, because besides using the same dataset with classes only 0-1, I can diversify my dataset like classes 0-1-2… in the following days. As far as I understood, even if I build the model as a multi-class classifier, I can feed it with a dataset containing only 0-1 labels.