$ curl http://a0.awsstatic.com/pricing/1/ec2/linux-od.min.js | sed -n 's/.*callback(//p' | sed -e 's/);$//g' | sed 's/\([0-9a-zA-Z]*\):/\"\1\":/g' | jq .config.regions[] | jq 'select(.region=="ap-northeast-1")'
How to Install & Running "Neural Style (A Neural Algorithm of Artistic Style )" on your EC2 Instance
- http://gitxiv.com/posts/jG46ukGod8R7Rdtud/a-neural-algorithm-of-artistic-style
- https://github.com/jcjohnson/neural-style
g2.2xlarge or better
https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#LaunchInstanceWizard:ami=ami-ffba7b94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# imports and basic notebook setup | |
from cStringIO import StringIO | |
import numpy as np | |
import os | |
import scipy.ndimage as nd | |
import PIL.Image | |
from IPython.display import clear_output, Image | |
from google.protobuf import text_format | |
import caffe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv/cv.h> | |
#include <opencv/highgui.h> | |
#include <opencv/ml.h> | |
void doMosaic(IplImage* in, int x, int y, | |
int width, int height, int size); | |
int main (int argc, char **argv) | |
{ | |
int i, c; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |