You should be careful in selecting losses.


If it is a multiclass problem use cross entropy loss.


If it is a binary class problem use binary cross entropy loss.


If it is a regression problem use MSE.


You should either use point 2 or point 3. BCE is not good for your task.