Skip to content

Instantly share code, notes, and snippets.

View arundasan91's full-sized avatar

Arun Das arundasan91

View GitHub Profile
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
# CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers
@arundasan91
arundasan91 / show_video_ipython.py
Created April 14, 2017 19:54
Function to display any video in Ipython or Jupyter Notebook given a directory in which the video exist and the video file name.
def showanyVideo(baseDir=None,fname=None):
"""Function to display any video in Ipython or Jupyter Notebook given a directory in which the video exist and the video file name.
Args:
baseDir: Directory containing the video
fname: Filename of video.
"""
from IPython.display import HTML
import os
location = baseDir + fname
if os.path.isfile(location):
@arundasan91
arundasan91 / install_dl_packages.sh
Last active April 23, 2022 08:32
Install CUDA and Machine Learning packages for Ubuntu from Scratch
cd ~
mkdir .packages
cd .packages
# Install CUDA
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
sudo add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
sudo apt-get update
@arundasan91
arundasan91 / CaffeInstallation.md
Created April 2, 2016 22:16
Caffe Installation Tutorial for beginners

Caffe

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