From f7bea718aa5ac2d4993d09bd36526d008092c1e7 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Mon, 11 May 2020 21:18:39 +0800 Subject: [PATCH] update doc and requirments --- doc/detection.md | 1 - doc/installation.md | 7 ++----- requirments.txt | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/detection.md b/doc/detection.md index 6124b74f..03052b76 100644 --- a/doc/detection.md +++ b/doc/detection.md @@ -55,7 +55,6 @@ python3 tools/train.py -c configs/det/det_db_mv3.yml python3 tools/train.py -c configs/det/det_db_mv3.yml -o Optimizer.base_lr=0.0001 ``` - ## 3.3 指标评估 PaddleOCR计算三个OCR检测相关的指标,分别是:Precision、Recall、Hmean。 diff --git a/doc/installation.md b/doc/installation.md index 5eca1dfe..b190b3e3 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -1,19 +1,16 @@ ### 2.1 快速安装 -我们提供了PaddleOCR开发环境的docker,您可以pull我们提供的docker运行PaddleOCR的环境。 - +建议使用我们提供的docker运行PaddleOCR,有关docker使用请参考[链接](https://docs.docker.com/get-started/)。 1. 准备docker环境。第一次使用这个镜像,会自动下载该镜像,请耐心等待。 ``` # 切换到工作目录下 cd /home/Projects # 创建一个名字为pdocr的docker容器,并将当前目录映射到容器的/data目录下 -sudo nvidia-docker run --name pdocr -v $PWD:/data --network=host -it paddlepaddle/paddle:1.7.2-gpu-cuda10.0-cudnn7 /bin/bash +sudo nvidia-docker run --name pdocr -v $PWD:/data --network=host -it hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda9.0-cudnn7-dev /bin/bash ``` 2. 克隆PaddleOCR repo代码 ``` -apt-get update -apt-get install git git clone https://github.com/PaddlePaddle/PaddleOCR ``` diff --git a/requirments.txt b/requirments.txt index e9bf32a9..94e8478f 100644 --- a/requirments.txt +++ b/requirments.txt @@ -1,3 +1,4 @@ shapely imgaug -pyclipper \ No newline at end of file +pyclipper +lmdb \ No newline at end of file