From 36002f760283d885e9b42c9fe3d3f037c739e085 Mon Sep 17 00:00:00 2001 From: Leif <4603009@qq.com> Date: Mon, 6 Sep 2021 12:31:28 +0800 Subject: [PATCH] Add environment.md in README Add environment.md in README --- README.md | 1 + README_ch.md | 1 + doc/doc_ch/environment.md | 2 +- doc/doc_en/quickstart_en.md | 24 +++--------------------- 4 files changed, 6 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 4bb69766..1ba1cd14 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ For more model downloads (including multiple languages), please refer to [PP-OCR For a new language request, please refer to [Guideline for new language_requests](#language_requests). ## Tutorials +- [Environment Preparation](./doc/doc_en/environment_en.md) - [Quick Start](./doc/doc_en/quickstart_en.md) - [PaddleOCR Overview and Installation](./doc/doc_en/paddleOCR_overview_en.md) - PP-OCR Industry Landing: from Training to Deployment diff --git a/README_ch.md b/README_ch.md index 8e9f8efc..1dbe9d64 100755 --- a/README_ch.md +++ b/README_ch.md @@ -92,6 +92,7 @@ PaddleOCR同时支持动态图与静态图两种编程范式 更多模型下载(包括多语言),可以参考[PP-OCR v2.0 系列模型下载](./doc/doc_ch/models_list.md) ## 文档教程 +- [运行环境准备](./doc/doc_ch/environment.md) - [快速开始](./doc/doc_ch/quickstart.md) - [PaddleOCR全景图与安装](./doc/doc_ch/paddleOCR_overview.md) - PP-OCR产业落地:从训练到部署 diff --git a/doc/doc_ch/environment.md b/doc/doc_ch/environment.md index aef3c47c..b9e3f7e6 100644 --- a/doc/doc_ch/environment.md +++ b/doc/doc_ch/environment.md @@ -1,6 +1,6 @@ # 运行环境准备 -[运行环境准备](#paddleocr) +[运行环境准备](#运行环境准备) * [1. Python环境搭建](#1) + [1.1 Windows](#1.1) diff --git a/doc/doc_en/quickstart_en.md b/doc/doc_en/quickstart_en.md index c63d1b24..637e9407 100644 --- a/doc/doc_en/quickstart_en.md +++ b/doc/doc_en/quickstart_en.md @@ -3,9 +3,7 @@ [PaddleOCR Quick Start](#paddleocr-quick-start) -* [1. Light Installation](#1-light-installation) - + [1.1 Install PaddlePaddle2.0](#11-install-paddlepaddle20) - + [1.2 Install PaddleOCR Whl Package](#12-install-paddleocr-whl-package) ++ [1. Install PaddleOCR Whl Package](#1-install-paddleocr-whl-package) * [2. Easy-to-Use](#2-easy-to-use) + [2.1 Use by command line](#21-use-by-command-line) - [2.1.1 English and Chinese Model](#211-english-and-chinese-model) @@ -15,27 +13,11 @@ - [2.2.1 Chinese & English Model and Multilingual Model](#221-chinese---english-model-and-multilingual-model) - [2.2.2 LayoutParser](#222-layoutparser) - -## 1. Light Installation - + -### 1.1 Install PaddlePaddle2.0 - -```bash -# If you have cuda9 or cuda10 installed on your machine, please run the following command to install -python3 -m pip install paddlepaddle-gpu==2.0.0 -i https://mirror.baidu.com/pypi/simple - -# If you only have cpu on your machine, please run the following command to install -python3 -m pip install paddlepaddle==2.0.0 -i https://mirror.baidu.com/pypi/simple -``` - -For more software version requirements, please refer to the instructions in [Installation Document](https://www.paddlepaddle.org.cn/install/quick) for operation. - - - -### 1.2 Install PaddleOCR Whl Package +## 1. Install PaddleOCR Whl Package ```bash pip install "paddleocr>=2.0.1" # Recommend to use version 2.0.1+ -- GitLab