I have 2 losses:
loss_ais a satisficing metrics. I just need l
oss_a < threshold.
loss_bis an optimizing metrics. I want it to be as low as possible.
Right now this what I am doing:
total_loss = alpha*loss_a + loss_b total_loss.backward()
alpha, I can adjust
loss_a. Is there a better way to do this?