Giter Site home page Giter Site logo

devchinaduke / book Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paddlepaddle/book

0.0 1.0 0.0 34.5 MB

Deep Learning 101 with PaddlePaddle

Home Page: http://www.paddlepaddle.org/docs/develop/book/

Python 14.16% Shell 0.58% CSS 2.13% JavaScript 5.50% HTML 77.63%

book's Introduction

Deep Learning with PaddlePaddle

Build Status Documentation Status Documentation Status

  1. Fit a Line
  2. Recognize Digits
  3. Image Classification
  4. Word to Vector
  5. Recommender System
  6. Understand Sentiment
  7. Label Semantic Roles
  8. Machine Translation

Running the Book

This book you are reading is interactive -- each chapter can run as a Jupyter Notebook.

We packed this book, Jupyter, PaddlePaddle, and all dependencies into a Docker image. So you don't need to install anything except Docker. If you are using Windows, please follow this installation guide. If you are running Mac, please follow this. For various Linux distros, please refer to https://www.docker.com. If you are using Windows or Mac, you might want to give Docker more memory and CPUs/cores.

Just type

docker run -d -p 8888:8888 paddlepaddle/book

This command will download the pre-built Docker image from DockerHub.com and run it in a container. Please direct your Web browser to http://localhost:8888 to read the book.

If you are living in somewhere slow to access DockerHub.com, you might try our mirror server docker.paddlepaddlehub.com:

docker run -d -p 8888:8888 docker.paddlepaddlehub.com/book

Training with GPU

By default we are using CPU for training, if you want to train with GPU, the steps are a little different.

To make sure GPU can be successfully used from inside container, please install nvidia-docker. Then run:

nvidia-docker run -d -p 8888:8888 paddlepaddle/book:latest-gpu

Or you can use the image registry mirror in China:

nvidia-docker run -d -p 8888:8888 docker.paddlepaddlehub.com/book:latest-gpu

Change the code in the chapter that you are reading from

paddle.init(use_gpu=False, trainer_count=1)

to:

paddle.init(use_gpu=True, trainer_count=1)

Contribute

Your contribution is welcome! Please feel free to file Pull Requests to add your chapter as a directory under /pending. Once it is going stable, the community would like to move it to /.

To write, run, and debug your chapters, you will need Python 2.x, Go >1.5. You can build the Docker image using this script. This tutorial is contributed by PaddlePaddle, and licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

book's People

Contributors

luotao1 avatar gangliao avatar wangkuiyi avatar reyoung avatar gongweibao avatar qingqing01 avatar jacquesqiao avatar helinwang avatar lcy-seso avatar jetfuel avatar zrachel avatar nickyfantasy avatar llxxxll avatar daming-lu avatar hedaoyuan avatar shanyi15 avatar jiayifeng avatar dayhaha avatar yancey1989 avatar northstar avatar qijune avatar putcn avatar juliecbd avatar haichao-zhang avatar zhouxiao-coder avatar nhzlx avatar dzhwinter avatar sudnya avatar weixing02 avatar superjomn 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.