Skip to content

Instantly share code, notes, and snippets.

View sio2boss's full-sized avatar

Otto Barnes sio2boss

View GitHub Profile
### Keybase proof
I hereby claim:
* I am sio2boss on github.
* I am sio2boss (https://keybase.io/sio2boss) on keybase.
* I have a public key ASAtJAqLQMtEWyxvZJqoQt8w8WBkrwrxII9ldGVyT7IRTAo
To claim this, I am signing this object:
@sio2boss
sio2boss / emacs
Last active December 13, 2019 19:41
#! /bin/bash
brew tap railwaycat/emacsmacport
brew install emacs-mac
# https://github.com/emacs-evil/evil
git clone --depth 1 https://github.com/emacs-evil/evil ~/.emacs.d/evil
cat <<EOF >> ~/.emacs
(add-to-list 'load-path "~/.emacs.d/evil")
@sio2boss
sio2boss / wget-oracle.sh
Created May 23, 2018 18:44
Pass params to wget so you can download Java
#!/bin/bash
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" $1
@sio2boss
sio2boss / python-init.sh
Last active October 12, 2018 04:33
Getting started on the right foot with python
# For linux python 3 instructions see https://gist.github.com/softwaredoug/a871647f53a0810c55ac
# Install python manager
brew install pyenv
# Install virtual environment manager
brew install pyenv-virtualenv
# Update your .zshrc
@sio2boss
sio2boss / gist:5a84ec4a7530387ac79df1f30843d9d8
Last active February 21, 2017 23:02
Install Mate on Ubuntu 16.04
#!/bin/bash
# install Ubuntu Mate desktop
sudo apt-add-repository ppa:ubuntu-mate-dev/xenial-mate
sudo apt-get update
sudo apt-get install mate-desktop-environment-extras
sudo apt-get install xserver-xorg-legacy Xvfb
sudo dpkg-reconfigure xserver-xorg-legacy # Select all users
sudo systemctl disable lightdm
##
# Creates an alias called "git hist" that outputs a nicely formatted git log.
# Usage is just like "git log"
# Examples:
# git hist
# git hist -5
# git hist <branch_name>
# git hist <tag_name> -10
##
git config --global alias.hist "log --pretty=format:'%C(yellow)[%ad]%C(reset) %C(green)[%h]%C(reset) | %C(red)%s %C(bold red){{%an}}%C(reset) %C(blue)%d%C(reset)' --graph --date=short"
@sio2boss
sio2boss / download.sh
Last active July 17, 2018 00:53
DeepLearning History Papers
#!/bin/sh
curl -o "2001 - Kaufhold - Energy Formulations of Medical Image Segmentations.pdf" http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.43.635&rep=rep1&type=pdf
curl -o "2004 - Lowe - Distinctive Image Features from Scale-Invariant Keypoints.pdf" http://www.cs.berkeley.edu/~malik/cs294/lowe-ijcv04.pdf
curl -o "2006 - Caruana - An Emperical Comparison of Supervised Learning Algorithms.pdf" https://www.cs.cornell.edu/~caruana/ctp/ct.papers/caruana.icml06.pdf
curl -o "2006 - Hinton - A fast learning algorithm for deep belief nets.pdf" https://www.cs.toronto.edu/~hinton/absps/fastnc.pdf
curl -o "2008 - Caruana - An empirical comparison of supervised learning algorithms in high dimensions.pdf" http://lowrank.net/nikos/pubs/empirical.pdf
curl -o "2009 - Lee - Convolutional Deep Belief Networks for Scalable Unsupervised Learning of Hierarchical Representations.pdf" http://www.cs.toronto.edu/~rgrosse/icml09-cdbn.pdf
curl -o "2009 - Salakhutdinov - Deep Boltzmann Machines.pdf" http://machinelearning.wust
@sio2boss
sio2boss / av.plugin.zsh
Created April 20, 2015 13:50
Oh-My-Zsh Av plugin
# AV Plugin from:
#
export __AV_PROMPT_DIR=$ZSH/plugins/av
# Allow for functions in the prompt.
setopt PROMPT_SUBST
## Enable auto-execution of functions.
typeset -ga preexec_functions
typeset -ga precmd_functions
@sio2boss
sio2boss / java8
Last active August 29, 2015 14:10
Install Oracle Java 8 on Ubuntu
#! /bin/sh
# From http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install -y oracle-java8-installer
java -version
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3cb7d58..dc70e8d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,7 @@ project( Caffe )
### Build Options ##########################################################################
option(CPU_ONLY "Build Caffe without GPU support" OFF)
+option(CUDNN "Build with cuDNN support" ON)
option(BUILD_PYTHON "Build Python wrapper" OFF)