← 开源

Deep Learning 101 with PaddlePaddle (『飞桨』深度学习框架入门教程)

TutorialsGetting startedJupyter Notebook
增长势头
+024 小时新增 Star0.0%
2.75k
Star
1.30k
Fork
+0
本周
81
贡献者
创建于 2016-12-16 · 更新于 2026-11-28 · 今日第 9892 名
主要开发者
README

Deep Learning with PaddlePaddle

  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 hub.baidubce.com:

docker run -d -p 8888:8888 hub.baidubce.com/paddlepaddle/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 hub.baidubce.com/paddlepaddle/book:latest-gpu

Change the code in the chapter that you are reading from

use_cuda = False

to:

use_cuda = True

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.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载