markovmodel / deeptime

Deep learning meets molecular dynamics.
GNU Lesser General Public License v3.0
173 stars 39 forks source link

Double well tutorial: tf.to_float() does not exist in tf 2.0 anymore #34

Open Ginok1 opened 4 years ago

Ginok1 commented 4 years ago

With the latest version of tensorflow (2.0), the function tf.to_float() is no longer implemented. This results in an error when compiling the model in the 1D_double_well.ipynb tutorial:

AttributeError: module 'tensorflow' has no attribute 'to_float'

In the previous version 1.15 the function still exists. With tensorflow 1.15 the tutorial seems to work as intended.