nuclear-multimessenger-astronomy / nmma

A pythonic library for probing nuclear physics and cosmology with multimessenger analysis
https://nuclear-multimessenger-astronomy.github.io/nmma/
GNU General Public License v3.0
32 stars 58 forks source link

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

Closed bfhealy closed 7 months ago

bfhealy commented 7 months ago

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'}