Machine Learning with Tensorflow

I am using manjaro KDE linux, this is the first post to record the path of learning machine learning

My machine has Nvidia Driver installed.


  1. sudo pacman -Syu tensorflow-cuda cuda cudnn python-pycuda python-tensorflow-cuda python-matplotlib

Hello World

  1. python
  2. import tensorflow as tf
  3. print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))


  1. Prepare some sample data and train the machine!