From 23e61c21325416c966fedf58d3c17d0b2157c224 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Fri, 2 Dec 2016 13:08:47 +0800 Subject: [PATCH] fix bug when run test_layerHelpers multiple times --- doc_cn/howto/build_docker_image.rst | 6 +++--- .../trainer_config_helpers/tests/configs/run_tests.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc_cn/howto/build_docker_image.rst b/doc_cn/howto/build_docker_image.rst index 16887672f7..e8b2a04488 100644 --- a/doc_cn/howto/build_docker_image.rst +++ b/doc_cn/howto/build_docker_image.rst @@ -18,13 +18,13 @@ PaddlePaddle的Docker Image构建源码放置在 ``${源码根目录}/paddle/scr .. code-block:: bash cd ${源码根目录}/paddle/scripts/docker/ - docker build --build-arg LOWEST_DL_SPEED=50K\ + docker build --build-arg LOWEST_DL_SPEED=50K \ --build-arg WITH_GPU=ON \ - --tag paddle_gpu:latest . + --tag paddle_gpu:latest 其中,``--build-arg`` 传入的配置参数包括: -- LOWEST\_DL\_SPEED\: 在多线程下载过程中,设置下线线程的最低速度。 +- LOWEST\_DL\_SPEED\: 在多线程下载过程中,设置下载线程的最低速度。 - 默认单位是Bytes,但可以传入10K、10M、或10G等这样的单位。 - 如果小于这个速度,那么这个线程将会关闭。当所有的线程都关闭了,那么下载进程将会重启。 diff --git a/python/paddle/trainer_config_helpers/tests/configs/run_tests.sh b/python/paddle/trainer_config_helpers/tests/configs/run_tests.sh index 5f6ed91030..73f8b333b2 100755 --- a/python/paddle/trainer_config_helpers/tests/configs/run_tests.sh +++ b/python/paddle/trainer_config_helpers/tests/configs/run_tests.sh @@ -5,7 +5,7 @@ set -e protostr=`dirname $0`/protostr -files=`ls $protostr | grep -v "unitest"` +files=`ls $protostr | grep -v "unittest"` ./generate_protostr.sh -- GitLab