I'm writing a customized loss function, it looks like this:
loss = w1 * score1 + w2 * score2 + w3 * score3
I could see the final score (loss) in the process of model.fit now.
But I would like to see the score1, score2, score3 as well.
How could I see the score1, score2, score3 results?
Ps. I know I could split the code and write multiple separate metric functions. But it will run the same calculation process twice (one for loss, one for metric). And the calculation of score1, score2, score3 is very time-consuming. Is there a better way for this task? Like pass some parameters from loss to metric? Or to history?
Thanks.