Skip to content

Instantly share code, notes, and snippets.

View ebenolson's full-sized avatar

Eben Olson ebenolson

  • Presco Engineering
  • Woodbridge, CT
View GitHub Profile
@ebenolson
ebenolson / model.prototxt
Last active August 29, 2015 14:24 — forked from mavenlin/readme.md
Network in Network CIFAR10
name: "CIFAR10_full"
input: "data"
input_shape {
dim: 1
dim: 3
dim: 32
dim: 32
}
layers {
name: "conv1"
# Alec Radford, Indico, Kyle Kastner
# License: MIT
"""
Convolutional VAE in a single file.
Bringing in code from IndicoDataSolutions and Alec Radford (NewMu)
Additionally converted to use default conv2d interface instead of explicit cuDNN
"""
import theano
import theano.tensor as T
from theano.compat.python2x import OrderedDict
@ebenolson
ebenolson / dnn.py
Created August 12, 2014 13:23 — forked from syhw/dnn.py
"""
A deep neural network with or w/o dropout in one file.
"""
import numpy, theano, sys, math
from theano import tensor as T
from theano import shared
from theano.tensor.shared_randomstreams import RandomStreams
from collections import OrderedDict