Category Archives: Programming

Upgrading to CUDA 8.0 on Ubuntu 16.04

      Comments Off on Upgrading to CUDA 8.0 on Ubuntu 16.04

Ubuntu 16.04 has a supported CUDA 7.5 package which one can install from the command line by just issuing: sudo apt-get install nvidia-cuda-toolkit If you already have CUDA 7.5 installed on your workstation using the default packages provided by Ubuntu, the easiest methods to upgrade is to do the following: First, remove existing cuda-7.5 package: $ sudo apt-get remove nvidia-cuda-toolkit… Read more »

Installing OpenCV 2.4.x with FFMPEG , Python on Anaconda

      Comments Off on Installing OpenCV 2.4.x with FFMPEG , Python on Anaconda

If you need to load, display or process videos using OpenCV, it is a pain to have all these installed and configured to work correctly on Ubuntu 14.04 (and to a lesser extent 16.04). OpenCV requires the ffmpeg libs to work with video formats like .avi, .mp4 etc. The problem is Ubuntu did not ship ffmpeg with 14.04 (its not… Read more »

Speeding up data serialization in Python

      Comments Off on Speeding up data serialization in Python

Serialization is the process of converting some in-memory object to another format that could be used to either store in a file or sent over the network. Deserialization is the inverse process.┬áIn the context of machine learning, data serialization is often used to store the parameters of a neural network, as well as a means of storing and retrieving training… Read more »