In this video, we demonstrate to you how to do install TensorFlow on CentOS.
yum update -y
python3 -m venv pip-tensorflow
pip install -U pip setuptools
pip install tensorflow
import tensorflow as tf
vals1 = tf.constant([1, 1, 2, 2])
vals2 = tf.constant([2, 2, 4, 4])
result = tf.multiply(vals1, vals2)
echo “export TF_CPP_MIN_LOG_LEVEL=2” 〉〉 .bash_profile
conda create -n conda-tensorflow tensorflow -y
conda activate conda-tensorflow
The related article for this article can be found here:
For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or for more information on our other products, visit: https://www.liquidweb.com/products/ to learn more about our current specials!
Video by: Justin Palmer
Publisher: Liquid Web
You can watch this video also at the source.