Open MichaelMitchellM opened 3 years ago
Hi @MichaelMitchellM ,
This does indeed happen. When developing this package I did look for ways to hide the warnings but they happen internally in TensorFlow Probability so I couldn't manage them =/...
Still, those are totally fine. Probably they'll go away with future versions of TF and TFP (but new warnings may come along as well).
If I find some technique to remove them I'll update this package :)
Best,
Will
The warnings you see are coming from TensorFlow or TensorFlow Probability, and it is their job to eventually update. There is nothing to fix in TFCausalImpact. However, if needed, deprecation warnings can be disabled as follows (outside this package):
import tensorflow.python.util.deprecation as deprecation
deprecation._PRINT_DEPRECATION_WARNINGS = False
All TensorFlow warnings can be disabled as follows:
import logging
import tensorflow
tensorflow.get_logger().setLevel(logging.ERROR)
Hi @IvanUkhov ,
Thanks for sharing this, I did try those a while ago and unfortunately (not quite sure why) it still didn't work. Regardless of what we do with TF's logging the warnings still pops up (I tried setting them right at the beginning of the main code as well still to no avail).
Hi,
This is a really great package thank you.
When I run the example from the README I get the following three warnings:
Here are my package versions:
Thanks!