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

VAE deprecation warning from tf.distributions #21

Open
tsrobinson opened this issue Jun 20, 2022 · 0 comments
Open

VAE deprecation warning from tf.distributions #21

tsrobinson opened this issue Jun 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tsrobinson
Copy link
Collaborator

tsrobinson commented Jun 20, 2022

Running MIDAS using VAE leads to deprecation warning re. tf.compat.v1.distributions.

E.g.

>>> tf.compat.v1.distributions.Normal()
WARNING:tensorflow:From <stdin>:1: Normal.__init__ (from tensorflow.python.ops.distributions.normal) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.

Migrating affected code to tfp.distributions is not straightforward as not designed for TF1 graph-oriented model. We should investigate solutions to safeguard codebase in medium term.

@tsrobinson tsrobinson added the enhancement New feature or request label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant