I am running "./buildTF.sh" which uses TensorFlow, on ubuntu terminal. And getting the error as:
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:516:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated;
in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
These warnings are classical FutureWarning
, which means you can silent them using the warnings
module from the python standard library:
import warnings
warnings.filterwarnings("ignore", message=r"Passing", category=FutureWarning)
This will check FutureWarning
and silent the messages containing r"Passing"
.
This is a warning message which comes because of numpy version, uninstall the current numpy version and update it to 1.16.4
.
# pip uninstall numpy
# pip install numpy==1.16.4
Thanks to ymodak
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With