This repository was archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
moidfy Bookreadme #232
Merged
Merged
moidfy Bookreadme #232
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4996104
add build method
gongweibao d3c0618
fix
gongweibao 871704b
fix paddledev
gongweibao 4ac4f98
Update English description about running the book
wangkuiyi d3f1cf6
Fix formatting errors
wangkuiyi b7d65e6
Shorten
wangkuiyi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running the Book
This book you are reading is interactive -- each chapter can run as a Jupyter Notebook.
Install Docker
We packed 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 following this instruction. 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.
Run the Book
Just type
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.paddlepaddle.org:
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.