Skip to content

Instantly share code, notes, and snippets.

View harvitronix's full-sized avatar

Matt Harvey harvitronix

View GitHub Profile
@harvitronix
harvitronix / install_tensorflow_p2.sh
Last active March 10, 2017 17:06 — forked from chaser92/install_tensorflow_p2.sh
Install TensorFlow and Anaconda on an Amazon EC2 P2
# Forked from https://gist.github.com/chaser92/3f50d75170050abc3cb463b2be04262b
# BEFORE STARTING PUT libcudnn5_5.1.10-1+cuda8.0_amd64.deb AND libcudnn5-dev_5.1.10-1+cuda8.0_amd64.deb IN /tmp
# OTHERWISE THIS WON'T WORK
# These are actually the Ubuntu 14.04 deb files. The 16.06 won't work with the below.
pushd /tmp &&
stat libcudnn5_5.1.10-1+cuda8.0_amd64.deb &&
stat libcudnn5-dev_5.1.10-1+cuda8.0_amd64.deb &&
echo "export LC_ALL=\"en_US.UTF-8\"" > ~/.profile &&
echo "export LC_CTYPE=\"en_US.UTF-8\"" > ~/.profile &&