Git Product home page Git Product logo

practical-deep-learning's Introduction

Practical Deep Learning For Coders

Setup

  1. ** Create amazon AWS account **

  2. ** Request EC2 limit upgrade **

  3. ** Download Anaconda for python 2.7 **

  4. ** Install AWS CLI **

    • pip install awscli
    • check by typing aws. If it complains about locale's check this site
  5. ** Create new AWS user **

  6. Configure AWS

    • aws configure
    • Enter previous generated credentials
    • Region: eu-west-1
    • Output: text
  7. Download setup script

    wget https://raw.githubusercontent.com/fastai/courses/master/setup/setup_p2.sh

    • chmod 775 setup_p2.sh
  8. Run setup

    • ./setup_p2.sh
    • Copy output in credentials
    • Copy connection command
  9. Connect to server

    • ssh -i /Users/[localUser]/.ssh/aws-key.pem ubuntu@[instanceUrl]
    • When prompted type 'yes'
  10. Update packages & reboot

    • Undo bug with history: sudo rm .bash_history
    • sudo apt-get update
    • sudo apt-get upgrade
    • sudo reboot now
  11. Check setup

  12. Start notebook

  13. Check notebooks

    • Create new notebook in 'nbs' folder usding Python [conda root]
    • check basic command (like 1+1)
    • check imports import theano & import keras
  14. Shortcuts

    • Download aliases wget https://raw.githubusercontent.com/fastai/courses/master/setup/aws-alias.sh
    • source aws-alias.sh
  15. Setup notebooks

    Perhaps rename it to something sensible, like fastai-courses?

    • SSH to machine (aws-ssh)
    • cd ~ if you are not already there
    • Clone your repo git clone https://github.com/[repoUrl]
    • Make a link to notebooks ln -s ~/[repoName]/deeplearning1/nbs/ nbs/deeplearning1
    • Run jupyter in background jupyter notebook &> /dev/null &
    • Make data dir mkdir ~/nbs/data and change to it cd ~/nbs/data
    • Download dogs&cats wget http://www.platform.ai/data/dogscats.zip
    • Install unzip sudo apt-get install unzip
    • Unzip the data unzip -q dogscats.zip
    • Go to your notebook http://[instanceUrl]:8888/notebooks/deeplearning1/lesson1.ipynb
    • Step through the process of lesson1.ipynb
  16. Kaggle CLI

practical-deep-learning's People

Contributors

tomlous avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.