Skip to content
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

Cannot get result() since the metric has not yet been built #20188

Closed
Shikamaru-Nara1729 opened this issue Aug 29, 2024 · 3 comments · Fixed by #20197
Closed

Cannot get result() since the metric has not yet been built #20188

Shikamaru-Nara1729 opened this issue Aug 29, 2024 · 3 comments · Fixed by #20197
Assignees
Labels
keras-team-review-pending Pending review by a Keras team member. type:Bug

Comments

@Shikamaru-Nara1729
Copy link

Basically the heading. I am attaching the colab notebook for reproducibility purpose, and have printed out the tensorflow and keras versions for perusal. Link here

I think I'm doing everything the standard way. Cannot figure out why this error occurs. Of course this is a simpler code snippet than the one I'm working on which cannot be shared for obvious purposes, but this code demonstrates the issue.

Any clue on how to fix this/circumvent, or which version of keras/tf can i switch to, to avoid this issue?

If it is any help, I saw another issue open on keras-nlp, which discusses the same problem, so i'm guessing it's an issue with CompileMetrics module in the trainers folder, which is where the error points anyway.

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@rohitcodism
Copy link

What is the fix of this error cause I am also getting the same error ? Can anyone help me resolving it.

@ghsanti
Copy link
Contributor

ghsanti commented Sep 19, 2024

What is the fix of this error cause I am also getting the same error ? Can anyone help me resolving it.

If you can open a new issue w versions used and a minimal code that reproduces the error, and it will likely get fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keras-team-review-pending Pending review by a Keras team member. type:Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants