Skip to content

Instantly share code, notes, and snippets.

View mpezeshki's full-sized avatar

Mohammad Pezeshki mpezeshki

  • Mila
  • Montreal, Canada
View GitHub Profile
@mpezeshki
mpezeshki / minibatch_ocr.py
Created October 14, 2015 16:33 — forked from kastnerkyle/minibatch_ocr.py
Minibatch OCR using modified CTC from Shawn Tan and Mohammad Pezeshki
"""
bitmap utils and much of the ctc code modified
From Shawn Tan, Rakesh and Mohammad Pezeshki
"""
# Author: Kyle Kastner
# License: BSD 3-clause
from theano import tensor
from scipy import linalg
import theano
import numpy as np
@mpezeshki
mpezeshki / crbm.py
Last active August 29, 2015 14:08 — forked from gwtaylor/crbm.py
""" Theano CRBM implementation.
For details, see:
http://www.uoguelph.ca/~gwtaylor/publications/nips2006mhmublv
Sample data:
http://www.uoguelph.ca/~gwtaylor/publications/nips2006mhmublv/motion.mat
@author Graham Taylor"""
import numpy