提交 0d39b118 编写于 作者: G gangliao 提交者: GitHub

Merge pull request #759 from Xreki/warpctc_doc

Update documents to init submodule.
...@@ -11,6 +11,7 @@ You can download PaddlePaddle from the [github source](https://github.com/Paddle ...@@ -11,6 +11,7 @@ You can download PaddlePaddle from the [github source](https://github.com/Paddle
```bash ```bash
git clone https://github.com/PaddlePaddle/Paddle paddle git clone https://github.com/PaddlePaddle/Paddle paddle
cd paddle cd paddle
git submodule update --init --recursive
``` ```
## <span id="requirements">Requirements</span> ## <span id="requirements">Requirements</span>
......
...@@ -79,6 +79,7 @@ source code: ...@@ -79,6 +79,7 @@ source code:
cd ~ cd ~
git clone github.com/PaddlePaddle/Paddle git clone github.com/PaddlePaddle/Paddle
cd Paddle cd Paddle
git submodule update --init --recursive
docker build --build-arg WITH_AVX=OFF -t paddle:cpu-noavx -f paddle/scripts/docker/Dockerfile . docker build --build-arg WITH_AVX=OFF -t paddle:cpu-noavx -f paddle/scripts/docker/Dockerfile .
docker build --build-arg WITH_AVX=OFF -t paddle:gpu-noavx -f paddle/scripts/docker/Dockerfile.gpu . docker build --build-arg WITH_AVX=OFF -t paddle:gpu-noavx -f paddle/scripts/docker/Dockerfile.gpu .
......
...@@ -36,8 +36,9 @@ If your repository doesn't contain **develop** branch, just create it by your ow ...@@ -36,8 +36,9 @@ If your repository doesn't contain **develop** branch, just create it by your ow
git clone https://github.com/USERNAME/Paddle.git Paddle git clone https://github.com/USERNAME/Paddle.git Paddle
cd Paddle cd Paddle
git checkout -b develop # create develop branch. git checkout -b develop # create develop branch.
git remote add upstream https://github.com/baidu/Paddle.git # add upstream to baidu/Paddle git remote add upstream https://github.com/PaddlePaddle/Paddle.git # add upstream to baidu/Paddle
git pull upstream develop # update to upstream git pull upstream develop # update to upstream
git submodule update --init --recursive
``` ```
Then you can start to develop by making a local developement branch Then you can start to develop by making a local developement branch
...@@ -69,7 +70,7 @@ To do this, you'll need to add a remote at first: ...@@ -69,7 +70,7 @@ To do this, you'll need to add a remote at first:
# see the current configured remote repository # see the current configured remote repository
git remote -v git remote -v
# add upstream repository # add upstream repository
git remote add upstream https://github.com/baidu/Paddle.git git remote add upstream https://github.com/PaddlePaddle/Paddle.git
# verify the new upstream # verify the new upstream
git remote -v git remote -v
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册