提交 0ab4b474 编写于 作者: R root

doc: update training with GPU parameter setting in maindir's README

上级 d500ac9c
......@@ -51,12 +51,12 @@ nvidia-docker run -d -p 8888:8888 docker.paddlepaddlehub.com/book:latest-gpu
还需要将以下代码
```python
paddle.init(use_gpu=False, trainer_count=1)
use_cuda = False
```
改成:
```python
paddle.init(use_gpu=True, trainer_count=1)
use_cuda = True
```
......
......@@ -55,12 +55,12 @@ nvidia-docker run -d -p 8888:8888 docker.paddlepaddlehub.com/book:latest-gpu
Change the code in the chapter that you are reading from
```python
paddle.init(use_gpu=False, trainer_count=1)
use_cuda = False
```
to:
```python
paddle.init(use_gpu=True, trainer_count=1)
use_cuda = True
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册