Skip to content

Instantly share code, notes, and snippets.

@jorgechato
Created May 24, 2018 13:18
Show Gist options
  • Save jorgechato/3ab803b2da7c26a5958bd26159d289da to your computer and use it in GitHub Desktop.
Save jorgechato/3ab803b2da7c26a5958bd26159d289da to your computer and use it in GitHub Desktop.
Train your models in the cloud

Train your models in the cloud

AWS

$ chmod 400 amazon-cert.pem
$ ssh –i “amazon-cert.pem” ubuntu@ip

Reverse SSH tunnel

$ ssh -L localhost:8888:localhost:8888 -i <your .pem file name> ubuntu@<Your instance DNS>
$ ssh -L localhost:6006:localhost:6006 -i <your .pem file name> ubuntu@<Your instance DNS>

Activate TF

$ source activate tensorflow_p36  
$ source activate tensorflow_p27  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment