Skip to content

Commit bfa0d59

Browse files
authored
update readme.md (#11)
1 parent 5fa167a commit bfa0d59

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,8 @@ PPOCRLabelv2 is a semi-automatic graphic annotation tool suitable for OCR field,
4242
```bash
4343
pip3 install --upgrade pip
4444

45-
# If you have cuda9 or cuda10 installed on your machine, please run the following command to install
46-
python3 -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple
47-
4845
# If you only have cpu on your machine, please run the following command to install
49-
python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
46+
python3 -m pip install paddlepaddle
5047
```
5148

5249
For more software version requirements, please refer to the instructions in [Installation Document](https://www.paddlepaddle.org.cn/install/quick) for operation.
@@ -103,11 +100,10 @@ python PPOCRLabel.py --kie True # [KIE mode] for [detection + recognition + keyw
103100
```
104101

105102
#### 1.2.3 Build and Install the Whl Package Locally
106-
Compile and install a new whl package, where 0.0.0 is the version number, you can specify the new version in 'setup.py'.
103+
107104
```bash
108105
cd ./PPOCRLabel
109-
python3 setup.py bdist_wheel
110-
pip3 install dist/PPOCRLabel-0.0.0-py2.py3-none-any.whl
106+
pip3 install -e .
111107
```
112108

113109

README_ch.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,8 @@ PPOCRLabel是一款适用于OCR领域的半自动化图形标注工具,内置P
4242
```bash
4343
pip3 install --upgrade pip
4444

45-
# 如果您的机器安装的是CUDA9或CUDA10,请运行以下命令安装
46-
python3 -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple
47-
4845
# 如果您的机器是CPU,请运行以下命令安装
49-
python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
46+
python3 -m pip install paddlepaddle -i https://pypi.tuna.tsinghua.edu.cn/simple
5047
```
5148

5249
更多的版本需求,请参照[安装文档](https://www.paddlepaddle.org.cn/install/quick)中的说明进行操作。
@@ -101,12 +98,9 @@ python PPOCRLabel.py --lang ch
10198

10299
#### 1.2.3 本地构建whl包并安装
103100

104-
编译与安装新的whl包,其中0.0.0为版本号,可在 `setup.py` 中指定新版本。
105-
106101
```bash
107102
cd ./PPOCRLabel
108-
python3 setup.py bdist_wheel
109-
pip3 install dist/PPOCRLabel-0.0.0-py2.py3-none-any.whl -i https://mirror.baidu.com/pypi/simple
103+
pip install -e .
110104
```
111105

112106

0 commit comments

Comments
 (0)