Category: CUDA

  • Installing TensorFlow on Pop!_OS using Tensorman

    Installing TensorFlow on Pop!_OS using Tensorman

    Pop!_OS allows easy installation and management of Tensorflow using ‘tensorman’. Installing TensorFlow on Pop!_OS using Tensorman First, make sure you have all the updates installed: sudo apt update sudo apt full-upgrade Then, install the tensorman package: sudo apt install tensorman  In order to get Nvidia CUDA support, install the nvidia docker package: sudo apt install…

  • Installing the New Anaconda Native TensorFlow Package

    For a while now, the most reliable two ways to get TensorFlow installed is to either use the pip package, or compile from source. Compiling TensorFlow from source takes hours, and still prone to errors (see “Failed Attempts at Building TensorFlow GPU from Source“). While the pip package is relatively easier, getting the GPU version…

  • Failed Attempts at Building TensorFlow GPU from Source

    For the last 3 weeks, I’ve been trying to build TensorFlow from source. I wanted to get TensorFlow GPU version working on Windows with CUDA 9.2 and cuDNN 7.1. Since the pre-built wheels only work with CUDA 9.0, the only way we can get it working with 9.2 is to build it ourselves from source.…

  • Setting up TensorFlow with CUDA on Windows

    I did the post about How to setup TensorFlow on Windows about a month back. I only covered setting up the CPU version of TensorFlow there, and promised that I’ll do the guide for the GPU version soon. But I haven’t had the change to come round to write the guide until now. I guess…

  • How to solve CNMEM_STATUS_OUT_OF_MEMORY error with Theano on CUDA

    Have yo come across the CNMEM_STATUS_OUT_OF_MEMORY error when using Theano with CUDA, with Keras? You might have been trying to train a slightly larger model, and just when the training starts it throws this error and fails. The CNMEM_STATUS_OUT_OF_MEMORY thrown in Theano with CUDA The full error stack looks something like this, Traceback (most recent call…

  • Can the LeNet model handle Face Recognition?

    I recently followed a blog post – at PyImageSearch by Adrian Rosebrock – on using the LeNet Convolutional Neural Network model on the MNIST dataset – i.e. use for handwritten digit recognition – using Keras with Theano backend. I was able to easily try it out thanks to the very detailed and well thought out…

  • Working Theano configs

    Here are the Theano configurations that I have tested and worked. These were tested on Windows 10 64-Bit, and Windows 7 64-Bit. (I will update when I test on other OS’s and setups) With GPU support, on CUDA and cuDNN In order to allow Theano to use the GPU, you need to be on a…