Skip to content

Instantly share code, notes, and snippets.

Chainer (http://chainer.org/)
Chainer is intuitive because of its Define BY Run philosophy, as opposed to Define AND Run.
define-AND-run is when u define the whole network, and backpropagate according to what you defined.
define-BY-run is when the individual layers / building blocks remember their ancestors.
So as long as the matrix shapes line up, you can make up any architectures,
maybe even in an interactive shell for debugging, and still be able to perform forward / backward computation.
The key is that the building blocks remember their ancestors, and will backprop properly.
@jxieeducation
jxieeducation / ec2_gpu_theano.md
Created October 21, 2015 04:24 — forked from stevetjoa/ec2_gpu_theano.md
Setup: Amazon AWS EC2 with NVIDIA CUDA GPU and Theano

Setup: Amazon AWS EC2 with NVIDIA CUDA GPU and Theano

2015 Sep 22: nvidia-352 seems to have disappeared from the repos.

  1. Spot request Ubuntu Server 14.04; add storage; login with ssh
  2. sudo apt-get update
  3. sudo apt-get upgrade
  4. sudo apt-get dist-upgrade
  5. sudo apt-get install git gcc g++ gfortran build-essential python-dev python-pip python-matplotlib python-scipy libhdf5-dev linux-image-extra-virtual
  6. sudo pip install --upgrade pip
@jxieeducation
jxieeducation / github scrape
Created March 12, 2015 23:35
get software engineer information
gets all repos
/repositories?since=:num
https://api.github.com/repositories?since=31000000
gets list of contributors for a repo
/repos/:org/:repo/contributors
/repos/:user/:repo/contrubotors
https://api.github.com/repos/dropbox/pyston/contributors
gets location, company, email of a user