-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loss tracker for multiple model outputs #18993
Comments
@james77777778 - Just wanted to confirm I captured the issue correctly.
Keras 2 Output:
Keras 3 Output:
Unlike Keras2, Keras 3 doesn't output the individual losses and will need to be added via metrics. |
This is documented as one of the differences in Keras 2 vs Keras 3 compatibility issues doc #18467 -
|
So, the way forward is the explicitly add them to metrics unless @fchollet suggests otherwise -
|
Hi @sampathweb Yes, we can explicitly add them using For example, IoU loss and classification loss in an object detection model must be implemented both in |
I understand this works for simple (like the predefined losses) as metrics. What if I have, say, an intermediate result Tensor in some layer that I have added to the losses via tha |
Currently, only the total loss has been tracked and displayed.
Can we have more detailed information for each loss?
I have a workaround to recompute the loss using
metrics
, but it seems very inefficient.The text was updated successfully, but these errors were encountered: