Category: Installation

  • How to Install TensorFlow 2.0 on Anaconda (with CUDA support)

    How to Install TensorFlow 2.0 on Anaconda (with CUDA support)

    TensorFlow 2.0 has been released for a few months now. This latest version comes with many new features and improvements, such as eager execution, multi-GPU support, tighter Keras integration, and new deployment options such as TensorFlow Serving. So, it’s time we all switched to TensorFlow 2.0. The Anaconda-native TensorFlow 2.0 packages are now available in…

  • How to Build and Install the Latest Version of Dlib on Anaconda on Windows

    Dlib is a toolkit for C++ and Python containing machine learning algorithms and tools for creating complex software to solve real world problems. Dlib provides algorithms for machine learning/deep learning, multi-class classification and clustering models, support vector machines, regression models, a large set of numerical algorithms for areas such as matrix manipulations and linear algebra,…

  • Installing OpenCV got easier

    OpenCV is undoubtedly the unmatched de facto standard library for computer vision. Not only does it provide a near complete set of vision algorithms, the set of primitive graphics functions it provides to manipulate images makes it essential to many of our projects. OpenCV being used when building a Keras CNN model Installing the latest version…

  • 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…

  • Cleaning up your Anaconda installations

    If you’ve been using Anaconda Python for a while, and been creating multiple environments and adding/removing packages, you may have noticed that it’s starting to take up a lot of disk space (sometimes tens of GBs). Anaconda installation can get big One reason is that anaconda environments are completely isolated workspaces from each other with…

  • 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.…

  • What is the image_data_format parameter in Keras, and why is it important

    We’ve talked about the image_dim_ordering parameter in Keras and why is it important. But since from Keras v2 changed the name of the parameter, I thought of bringing this up again. As you know, Keras  is a higher-level neural networks library for Python, which is capable of running on top of TensorFlow, CNTK (Microsoft Cognitive…

  • OpenCV 3.2 and Dlib 19.4 Packages Now Available from Conda-Forge

    Anaconda is an asset for us Machine Learning enthusiasts. Not only does it have the ability to create fully isolated Python environments, its pre-built packages for many operating systems and architectures helps you to spend less time setting up, and more time doing actual machine learning stuff. In some scenarios, to get some Python packages…

  • 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…