diff --git a/doc/detection.md b/doc/detection.md index 6124b74f1654ffd4bc604624d08d24f8c5b9a438..03052b765232fdceebd992725fcea7ab358f6a7f 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 5eca1dfe6aa9ac7f891462a32a5afea368f6cf45..b190b3e345bacf6ad9b7d9528227560dce11e489 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 e9bf32a993e6db91d1c23708cdf71befe07dfb6d..94e8478ffad88a6e5cd69424c6aa485400cfae06 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