Skip to content

Instantly share code, notes, and snippets.

@scheidan
scheidan / SpatialTransformer.py
Last active May 22, 2017 08:12
First draft of a spatial transformer network in Chainer
## -------------------------------------------------------
##
## Elements to implement a spatial transformer network
##
## See: Jaderberg, M., Simonyan, K., Zisserman, A., and Kavukcuoglu,
## K. (2015) Spatial Transformer Networks. arXiv:1506.02025
##
## February 9, 2016 -- Andreas Scheidegger
## andreas.scheidegger@eawag.ch
## -------------------------------------------------------
@scheidan
scheidan / DecayOnValidation_test.jl
Last active August 29, 2015 14:26
Problem with DecayOnValidation learning rate policy
use_cuda = false
using Mocha
srand(12345678)
############################################################
# Prepare Random Data
############################################################