In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
Freshly brewed !
With the availability of huge amount of data for research and powerfull machines to run your code on, Machine Learning and Neural Networks is gaining their foot again and impacting us more than ever in our everyday lives. With huge players like Google opensourcing part of their Machine Learning systems like the TensorFlow software library for numerical computation, there are many options for someone interested in starting off with Machine Learning/Neural Nets to choose from. Caffe, a deep learning framework developed by the Berkeley Vision and Learning Center (BVLC) and its contributors, comes to the play with a fresh cup of coffee.
Installation Instructions (Ubuntu 14 Trusty)
The following section is divided in to two parts. Caffe's documentation suggest
|These commands are based on a askubuntu answer http://askubuntu.com/a/581497|
|To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below.|
|USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING.|
|ABSOLUTELY NO WARRANTY.|
|If you are still reading let's carry on with the code.|
|sudo apt-get update && \|
|sudo apt-get install build-essential software-properties-common -y && \|
|sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \|
|# Working example for my blog post at:|
|import tensorflow as tf|
|from tensorflow.examples.tutorials.mnist import input_data|
|A decorator decorator, allowing to use the decorator to be used without|
This script scans your Dropbox (or any given folder) for folders stored in the
ignore array and excludes them from syncing. Makes use of the official Dropbox CLI
I'm a beginner at bash, so all improvements are welcome!
#!/bin/bash set -e # SETTINGS
|# Note – this is not a bash script (some of the steps require reboot)|
|# I named it .sh just so Github does correct syntax highlighting.|
|# This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5|
|# The CUDA part is mostly based on this excellent blog post:|
|# Install various packages|
|sudo apt-get update|