提交 f12b790f 编写于 作者: B Bo Zhou 提交者: Hongsheng Zeng

Update README.md (#68)

* Update README.md

* Update Dockerfile

* Update build.sh
上级 ed4f4322
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
# A dev image based on paddle production image # A dev image based on paddle production image
FROM parl/parl-test:cuda9.0-cudnn7 FROM parl/parl-test:1.1-cuda9.0-cudnn7
COPY ./requirements.txt /root/ COPY ./requirements.txt /root/
......
...@@ -56,6 +56,8 @@ function check_style() { ...@@ -56,6 +56,8 @@ function check_style() {
} }
function run_test_with_gpu() { function run_test_with_gpu() {
export FLAGS_fraction_of_gpu_memory_to_use=0.5
mkdir -p ${REPO_ROOT}/build mkdir -p ${REPO_ROOT}/build
cd ${REPO_ROOT}/build cd ${REPO_ROOT}/build
cmake .. cmake ..
......
...@@ -69,7 +69,7 @@ agent = AtariAgent(algorithm) ...@@ -69,7 +69,7 @@ agent = AtariAgent(algorithm)
# Parallelization # Parallelization
PARL provides a compact API for distributed training, allowing users to transfer the code into a parallelized version by simply adding a decorator. PARL provides a compact API for distributed training, allowing users to transfer the code into a parallelized version by simply adding a decorator.
Here is a `Hello World` example to demonstrate how easily it is to leverage outer computation resources. Here is a `Hello World` example to demonstrate how easy it is to leverage outer computation resources.
```python ```python
#============Agent.py================= #============Agent.py=================
@parl.remote_class @parl.remote_class
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册