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

Fix CI due to tensorflow eagar example #247

Closed
wants to merge 1 commit into from

Conversation

nzw0301
Copy link
Member

@nzw0301 nzw0301 commented Mar 16, 2024

Motivation

Fix https://github.com/optuna/optuna-examples/actions/runs/8308596552/job/22739014766.

Description of the changes

Add .numpy() to return a float value rather than tf.tensor

Ref: https://www.tensorflow.org/api_docs/python/tf/keras/metrics/Accuracy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant