I've model with two output layers, age and gender prediction layers. I want to assign different weight values for each output layer's loss. I've the following line of code to do so.
My question is what is the effect of loss weights on performance of a model? How can I configure the loss weights so that the model can perform better on age prediction?