Skip to content

Instantly share code, notes, and snippets.

View AlexanderSavochkin's full-sized avatar

Alexander Savochkin AlexanderSavochkin

  • Greater Seattle Area
View GitHub Profile
@AlexanderSavochkin
AlexanderSavochkin / elastic.lua
Created August 31, 2016 05:00 — forked from chsasank/elastic.lua
Elastic transformation/deformation of an image in Torch
require 'image'
function ElasticTransform(img, alpha, sigma)
--[[
Parameters
----------
img: Tensor of size KxHxW
Image on which elastic transformation have to be applied
alpha: number
Intensity of the transformation
@AlexanderSavochkin
AlexanderSavochkin / uber-install-213.sh
Created April 12, 2016 03:23 — forked from dannguyen/uber-install-213.sh
Make everything install on Ubuntu 14.04 and 14.10, specifically for AWS and DigitalOcean
## Tested on 14.04 and 14.10. Runs as root because why not
## Installs:
# - Ubuntu developer tools
# - Python (using system 2.7.6 / 2.7.8)
# - scipy libs
# - scikit-learn
# - nltk
# - Ruby 2.1.5
# - rbenv
# - nokogiri