Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
b46d2db3
Unverified
Commit
b46d2db3
authored
Jul 31, 2020
by
dyning
Committed by
GitHub
Jul 31, 2020
Browse files
Update installation.md
parent
9059a0ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
doc/doc_ch/installation.md
doc/doc_ch/installation.md
+17
-3
No files found.
doc/doc_ch/installation.md
View file @
b46d2db3
...
...
@@ -47,7 +47,21 @@ docker images
hub.baidubce.com/paddlepaddle/paddle latest-gpu-cuda9.0-cudnn7-dev f56310dcc829
```
2.
安装PaddlePaddle Fluid v1.7
2.
更改python3默认版本
docker中的python默认使用python3.5,PaddleOCR需要在Python3.7下执行(该版本下,对于第三方依赖库的兼容性更好一些)。进入docker后,可以编辑
`/etc/profile`
文件,之后在文件末尾添加
```
shell
alias
python
=
python3.7
alias
pip
=
pip3.7
alias
python3
=
python3.7
alias
pip3
=
pip3.7
```
保存之后,使用
`source /etc/profile`
命令使设置的默认Python生效。
3.
安装PaddlePaddle Fluid v1.7
```
pip3 install --upgrade pip
...
...
@@ -64,7 +78,7 @@ python3 -m pip install paddlepaddle==1.7.2 -i https://pypi.tuna.tsinghua.edu.cn/
更多的版本需求,请参照[安装文档](https://www.paddlepaddle.org.cn/install/quick)中的说明进行操作。
```
3
.
克隆PaddleOCR repo代码
4
.
克隆PaddleOCR repo代码
```
【推荐】git clone https://github.com/PaddlePaddle/PaddleOCR
...
...
@@ -75,7 +89,7 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR
注:码云托管代码可能无法实时同步本github项目更新,存在3~5天延时,请优先使用推荐方式。
```
4
.
安装第三方库
5
.
安装第三方库
```
cd PaddleOCR
pip3 install -r requirments.txt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment