mlech26l / ncps

PyTorch and TensorFlow implementation of NCP, LTC, and CfC wired neural models
https://www.nature.com/articles/s42256-020-00237-3
Apache License 2.0
1.95k stars 311 forks source link

AttributeError: module 'tensorflow_core.keras.utils' has no attribute 'register_keras_serializable' #12

Closed Liaoqing-up closed 3 years ago

Liaoqing-up commented 3 years ago

i have install tensorflow2.0.0, but when i run examples, it give the mistake "AttributeError: module 'tensorflow_core.keras.utils' has no attribute 'register_keras_serializable'", how can i fix it ?

mlech26l commented 3 years ago

Please upgrade to the latest TensorFlow version