diff --git a/doc/doc_ch/environment.md b/doc/doc_ch/environment.md
index b9e3f7e60710c49c2e006681c17324da3bd14e52..4f2acc29d9f70e75a0ed18ea358b747f77cd4a9e 100644
--- a/doc/doc_ch/environment.md
+++ b/doc/doc_ch/environment.md
@@ -25,20 +25,20 @@
- 地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
- 大部分win10电脑均为64位操作系统,选择x86_64版本;若电脑为32位操作系统,则选择x86.exe
-
+
- 下载完成后,双击安装程序进入图形界面
- 默认安装位置为C盘,建议将安装位置更改到D盘:
-
+
- 勾选conda加入环境变量,忽略警告:
-
+
#### 1.1.2 打开终端并创建conda环境
- 打开Anaconda Prompt终端:左下角Windows Start Menu -> Anaconda3 -> Anaconda Prompt启动控制台
-
+
- 创建新的conda环境
@@ -53,7 +53,7 @@
之后命令行中会输出提示信息,输入y并回车继续安装
-
+
- 激活刚创建的conda环境,在命令行中输入以下命令:
@@ -64,10 +64,7 @@
where python
```
-
-
-
-
+
@@ -86,7 +83,7 @@
- Anaconda下载:
- 地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
-
+
- 选择最下方的`Anaconda3-2021.05-MacOSX-x86_64.pkg`下载
- 下载完成后,双击.pkg文件进入图形界面
@@ -156,7 +153,7 @@
- 之后命令行中会输出提示信息,输入y并回车继续安装
- -
+ -
- 激活刚创建的conda环境,在命令行中输入以下命令:
@@ -167,7 +164,7 @@
where python
```
-
+
以上anaconda环境和python环境安装完毕
@@ -186,43 +183,27 @@ Linux用户可选择Anaconda或Docker两种方式运行。如果你熟悉Docker
- **下载Anaconda**:
- 下载地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
- 选择适合您操作系统的版本
- - 可在终端输入`uname -m`查询系统所用的指令集
-
- - 下载法1:本地下载,再将安装包传到linux服务器上
-
- - 下载法2:直接使用linux命令行下载
-
- ```shell
+ - 可在终端输入`uname -m`查询系统所用的指令集
+
+- 下载法1:本地下载,再将安装包传到linux服务器上
+
+- 下载法2:直接使用linux命令行下载
+
+ ```shell
# 首先安装wget
- sudo apt-get install wget # Ubuntu
+ sudo apt-get install wget # Ubuntu
sudo yum install wget # CentOS
- ```
-
- ```shell
+ ```
+
+ ```shell
# 然后使用wget从清华源上下载
- # 如要下载Anaconda3-2021.05-Linux-x86_64.sh,则下载命令如下:
+ # 如要下载Anaconda3-2021.05-Linux-x86_64.sh,则下载命令如下:
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2021.05-Linux-x86_64.sh
- # 若您要下载其他版本,需要将最后1个/后的文件名改成您希望下载的版本
+ # 若您要下载其他版本,需要将最后1个/后的文件名改成您希望下载的版本
```
- 安装Anaconda:
@@ -290,7 +271,7 @@ Linux用户可选择Anaconda或Docker两种方式运行。如果你熟悉Docker
- 之后命令行中会输出提示信息,输入y并回车继续安装
-
+
- 激活刚创建的conda环境,在命令行中输入以下命令:
diff --git a/doc/doc_en/environment_en.md b/doc/doc_en/environment_en.md
index c261bf064ad8857a566afe5ebf04ea84be078af2..a5176d5d359425ecf5d6640e9a9c797189f364f1 100644
--- a/doc/doc_en/environment_en.md
+++ b/doc/doc_en/environment_en.md
@@ -29,7 +29,7 @@
- Most Win10 computers are 64-bit operating systems, choose x86_64 version; if the computer is a 32-bit operating system, choose x86.exe
-
+
- After the download is complete, double-click the installer to enter the graphical interface
@@ -39,13 +39,14 @@
- Check conda to add environment variables and ignore the warning that
-
+
+
#### 1.1.2 Opening the terminal and creating the conda environment
- Open Anaconda Prompt terminal: bottom left Windows Start Menu -> Anaconda3 -> Anaconda Prompt start console
-
+
- Create a new conda environment
@@ -60,7 +61,7 @@
The command line will then output a prompt, type y and enter to continue the installation
-
+
- To activate the conda environment you just created, enter the following command at the command line.
@@ -71,7 +72,7 @@
where python
```
-
+
The above anaconda environment and python environment are installed
@@ -92,7 +93,7 @@ The above anaconda environment and python environment are installed
- Address: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
-
+
- Select `Anaconda3-2021.05-MacOSX-x86_64.pkg` at the bottom to download
@@ -165,7 +166,7 @@ The above anaconda environment and python environment are installed
- The command line will then output a prompt, type y and enter to continue the installation
- -
+ -
- To activate the conda environment you just created, enter the following command at the command line.
@@ -176,7 +177,7 @@ The above anaconda environment and python environment are installed
where python
```
-
+
The above anaconda environment and python environment are installed
@@ -200,7 +201,7 @@ Linux users can choose to run either Anaconda or Docker. If you are familiar wit
- Download at: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
-
+
@@ -287,7 +288,7 @@ Linux users can choose to run either Anaconda or Docker. If you are familiar wit
- The command line will then output a prompt, type y and enter to continue the installation
-
+
- To activate the conda environment you just created, enter the following command at the command line.
@@ -298,6 +299,7 @@ Linux users can choose to run either Anaconda or Docker. If you are familiar wit
The above anaconda environment and python environment are installed
+
#### 1.3.2 Docker environment preparation
**The first time you use this docker image, it will be downloaded automatically. Please be patient.**
@@ -308,7 +310,7 @@ cd /home/Projects
# You need to create a docker container for the first run, and do not need to run the current command when you run it again
# Create a docker container named ppocr and map the current directory to the /paddle directory of the container
-#If using CPU, use docker instead of nvidia-docker to create docker
+# If using CPU, use docker instead of nvidia-docker to create docker
sudo docker run --name ppocr -v $PWD:/paddle --network=host -it paddlepaddle/paddle:latest-dev-cuda10.1-cudnn7-gcc82 /bin/bash
```