This file contains hidden or 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
["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", | |
"AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", | |
"BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", | |
"BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", | |
"CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", | |
"HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", | |
"SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", | |
"PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", | |
"GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", | |
"HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", |
This file contains hidden or 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
# Borrowing this from two sources, with updates to TensorFlow 0.9, using Anaconda Python 2.7 | |
# https://gist.github.com/erikbern/78ba519b97b440e10640 | |
# https://gist.github.com/dennybritz/f37ae8b740d09b221fb103a3a04124a3 | |
# This is not actually a shell file; just using .sh so that highlighting works | |
# Also see http://ramhiser.com/2016/01/05/installing-tensorflow-on-an-aws-ec2-instance-with-gpu-support/ | |
sudo apt-get update | |
sudo apt-get install -y build-essential git python-pip libfreetype6-dev libxft-dev libncurses-dev libopenblas-dev gfortran linux-headers-generic linux-image-extra-virtual unzip swig | |
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1504/x86_64/cuda-repo-ubuntu1504_7.5-18_amd64.deb |