Saturday, May 16, 2020

How To Install TensorFlow & TensorFlow 2.0 Hello World Example on Ubuntu 18.04

Video Tutorial - https://youtu.be/8BxiqakueYw

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

TensorFlow is a free and open-source platform for machine learning built by Google. It is used by a number of organizations including Twitter, PayPal, Intel, Lenovo, and Airbus.
https://www.tensorflow.org/  || https://www.tensorflow.org/tutorials

TensorFlow Install -https://www.tensorflow.org/install/pip
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment:
Ubuntu 18.04.LTS Bionic              Hostname - www.yourdomain.com  - ip Address - 192.168.1.40
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
apt update ; apt install -y build-essential net-tools curl git software-properties-common neofetch python3-venv
hostname -I ; hostname

mkdir my_tensorflow ; cd my_tensorflow
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -U setuptools
pip install --upgrade tensorflow
python -c 'import tensorflow as tf; print(tf.__version__)'


TensorFlow 2.0 Hello World -  Tensorflow Hello World Program Example
python
import tensorflow as tf
msg = tf.constant('TensorFlow 2.0 Hello World')
tf.print(msg)

deactivate

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment