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

Restrict tensorflow to <=2.15.0 to avoid new errors #334

Merged

Conversation

bfhealy
Copy link
Collaborator

@bfhealy bfhealy commented Mar 13, 2024

This PR restricts the tensorflow version to <=2.15.0 to avoid new errors during unit tests, e.g.
TypeError: Could not locate function 'mse'. Make sure custom classes are decorated with `@keras.saving.register_keras_serializable()`. Full object config: {'module': 'keras.metrics', 'class_name': 'function', 'config': 'mse', 'registered_name': 'mse'}

@mcoughlin mcoughlin self-requested a review March 13, 2024 17:18
Copy link
Member

@mcoughlin mcoughlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Should also open an issue to fix whatever codes need fixing to re-open this up.

@tsunhopang tsunhopang merged commit 65b11ac into nuclear-multimessenger-astronomy:main Mar 13, 2024
4 checks passed
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.

3 participants