-
Notifications
You must be signed in to change notification settings - Fork 723
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
Quickstart example throws warnings #298
Comments
Hello, And for this one |
Looking at the warnings again, they may come from tensorflow itself... see tensorflow/tensorflow#25996 |
Will be closed by #366 |
as we are moving to PyTorch, this will probably not be fixed. # Filter tensorflow version warnings
import os
# https://stackoverflow.com/questions/40426502/is-there-a-way-to-suppress-the-messages-tensorflow-prints/40426709
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' # or any {'0', '1', '2'}
import warnings
# https://stackoverflow.com/questions/15777951/how-to-suppress-pandas-future-warning
warnings.simplefilter(action='ignore', category=FutureWarning)
warnings.simplefilter(action='ignore', category=Warning)
import tensorflow as tf
tf.get_logger().setLevel('INFO')
tf.autograph.set_verbosity(0)
import logging
tf.get_logger().setLevel(logging.ERROR) |
For removing the Tensorflow's deprecation warnings it's possible to use the following code too: import tensorflow as tf
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR) (Source: tensorflow/tensorflow#27023 (comment) ) |
The quickstart example throws some warnings:
stable-baselines
is installed from git commit0eac3f5
.Here is the information collected by
tf_env_collect.sh
that seems relevant:Also:
The text was updated successfully, but these errors were encountered: