Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
znstj
PaddleOCR
提交
b02ff008
P
PaddleOCR
项目概览
znstj
/
PaddleOCR
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleOCR
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleOCR
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b02ff008
编写于
9月 06, 2021
作者:
qq_25193841
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change left-aligned to center-aligned
Change left-aligned to center-aligned
上级
36002f76
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
37 addition
and
54 deletion
+37
-54
doc/doc_ch/environment.md
doc/doc_ch/environment.md
+24
-43
doc/doc_en/environment_en.md
doc/doc_en/environment_en.md
+13
-11
未找到文件。
doc/doc_ch/environment.md
浏览文件 @
b02ff008
...
...
@@ -25,20 +25,20 @@
-
地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
-
大部分win10电脑均为64位操作系统,选择x86_64版本;若电脑为32位操作系统,则选择x86.exe
<img src="../install/windows/Anaconda_download.png" alt="anaconda download" width="800" align="
left
"/>
<img src="../install/windows/Anaconda_download.png" alt="anaconda download" width="800" align="
center
"/>
-
下载完成后,双击安装程序进入图形界面
-
默认安装位置为C盘,建议将安装位置更改到D盘:
<img src="../install/windows/anaconda_install_folder.png" alt="install config" width="500" align="
left
"/>
<img src="../install/windows/anaconda_install_folder.png" alt="install config" width="500" align="
center
"/>
-
勾选conda加入环境变量,忽略警告:
<img src="../install/windows/anaconda_install_env.png" alt="add conda to path" width="500" align="
left
"/>
<img src="../install/windows/anaconda_install_env.png" alt="add conda to path" width="500" align="
center
"/>
#### 1.1.2 打开终端并创建conda环境
-
打开Anaconda Prompt终端:左下角Windows Start Menu -> Anaconda3 -> Anaconda Prompt启动控制台
<img
src=
"../install/windows/anaconda_prompt.png"
alt=
"anaconda download"
width=
"300"
align=
"
left
"
/>
<img
src=
"../install/windows/anaconda_prompt.png"
alt=
"anaconda download"
width=
"300"
align=
"
center
"
/>
-
创建新的conda环境
...
...
@@ -53,7 +53,7 @@
之后命令行中会输出提示信息,输入y并回车继续安装
<img
src=
"../install/windows/conda_new_env.png"
alt=
"conda create"
width=
"700"
align=
"
left
"
/>
<img
src=
"../install/windows/conda_new_env.png"
alt=
"conda create"
width=
"700"
align=
"
center
"
/>
-
激活刚创建的conda环境,在命令行中输入以下命令:
...
...
@@ -64,10 +64,7 @@
where python
```
<img src="../install/windows/conda_list_env.png" alt="create environment" width="600" align="left"/>
<img src="../install/windows/conda_list_env.png" alt="create environment" width="600" align="center"/>
...
...
@@ -86,7 +83,7 @@
-
Anaconda下载:
-
地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
<img
src=
"../install/mac/anaconda_start.png"
alt=
"anaconda download"
width=
"800"
align=
"
left
"
/>
<img
src=
"../install/mac/anaconda_start.png"
alt=
"anaconda download"
width=
"800"
align=
"
center
"
/>
-
选择最下方的
`Anaconda3-2021.05-MacOSX-x86_64.pkg`
下载
-
下载完成后,双击.pkg文件进入图形界面
...
...
@@ -156,7 +153,7 @@
-
之后命令行中会输出提示信息,输入y并回车继续安装
- <img src="../install/mac/conda_create.png" alt="conda_create" width="600" align="
left
"/>
- <img src="../install/mac/conda_create.png" alt="conda_create" width="600" align="
center
"/>
-
激活刚创建的conda环境,在命令行中输入以下命令:
...
...
@@ -167,7 +164,7 @@
where python
```
<img
src=
"../install/mac/conda_activate.png"
alt=
"conda_actviate"
width=
"600"
align=
"
left
"
/>
<img
src=
"../install/mac/conda_activate.png"
alt=
"conda_actviate"
width=
"600"
align=
"
center
"
/>
以上anaconda环境和python环境安装完毕
...
...
@@ -186,43 +183,27 @@ Linux用户可选择Anaconda或Docker两种方式运行。如果你熟悉Docker
-
**下载Anaconda**
:
-
下载地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D
<img
src=
"../install/linux/anaconda_download.png"
akt=
"anaconda download"
width=
"800"
align=
"left"
/>
<img
src=
"../install/linux/anaconda_download.png"
akt=
"anaconda download"
width=
"800"
align=
"center"
/>
- 选择适合您操作系统的版本
- 可在终端输入`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并回车继续安装
<img src="../install/linux/conda_create.png" alt="conda_create" width="500" align="
left
"/>
<img
src
=
"../install/linux/conda_create.png"
alt
=
"conda_create"
width
=
"500"
align
=
"
center
"
/>
- 激活刚创建的conda环境,在命令行中输入以下命令:
...
...
doc/doc_en/environment_en.md
浏览文件 @
b02ff008
...
...
@@ -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
<img src="../install/windows/Anaconda_download.png" alt="anaconda download" width="800" align="
left
"/>
<img src="../install/windows/Anaconda_download.png" alt="anaconda download" width="800" align="
center
"/>
-
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
<img src="../install/windows/anaconda_install_env.png" alt="add conda to path" width="500" align="left"/>
<img src="../install/windows/anaconda_install_env.png" alt="add conda to path" width="500" align="center"/>
#### 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
<img
src=
"../install/windows/anaconda_prompt.png"
alt=
"anaconda download"
width=
"300"
align=
"
left
"
/>
<img
src=
"../install/windows/anaconda_prompt.png"
alt=
"anaconda download"
width=
"300"
align=
"
center
"
/>
-
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
<img
src=
"../install/windows/conda_new_env.png"
alt=
"conda create"
width=
"700"
align=
"
left
"
/>
<img
src=
"../install/windows/conda_new_env.png"
alt=
"conda create"
width=
"700"
align=
"
center
"
/>
-
To activate the conda environment you just created, enter the following command at the command line.
...
...
@@ -71,7 +72,7 @@
where python
```
<img
src=
"../install/windows/conda_list_env.png"
alt=
"create environment"
width=
"600"
align=
"
left
"
/>
<img
src=
"../install/windows/conda_list_env.png"
alt=
"create environment"
width=
"600"
align=
"
center
"
/>
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
<img
src=
"../install/mac/anaconda_start.png"
alt=
"anaconda download"
width=
"800"
align=
"
left
"
/>
<img
src=
"../install/mac/anaconda_start.png"
alt=
"anaconda download"
width=
"800"
align=
"
center
"
/>
-
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
- <img src="../install/mac/conda_create.png" alt="conda_create" width="600" align="
left
"/>
- <img src="../install/mac/conda_create.png" alt="conda_create" width="600" align="
center
"/>
-
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
```
<img
src=
"../install/mac/conda_activate.png"
alt=
"conda_actviate"
width=
"600"
align=
"
left
"
/>
<img
src=
"../install/mac/conda_activate.png"
alt=
"conda_actviate"
width=
"600"
align=
"
center
"
/>
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
<img
src=
"../install/linux/anaconda_download.png"
akt=
"anaconda download"
width=
"800"
align=
"
left
"
/>
<img
src=
"../install/linux/anaconda_download.png"
akt=
"anaconda download"
width=
"800"
align=
"
center
"
/>
...
...
@@ -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
<img src="../install/linux/conda_create.png" alt="conda_create" width="500" align="
left
"/>
<img src="../install/linux/conda_create.png" alt="conda_create" width="500" align="
center
"/>
-
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
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录