I am training a neural network for multiclass classification.
I want to combine a custom loss function with another more generic loss. I've been simply adding it, and it works quite well but towards the end the though the custom loss is weighted more heavily because it has a bigger magnitude.
I've done something like loss1(loss2/thresh) where thresh is just the threshold I want loss2 to be less than. Which was worse than just adding it.
It's suboptimal and was hoping someone here might point me in a better direction.
Best Regards,
Oliver