Skip to content

Commit 905767b

Browse files
authored
Merge pull request #167 from HaoyangLee/main
2 parents 6a2db2a + c11a3c5 commit 905767b

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
os: [ubuntu-latest]
23-
python-version: ["3.8"] #["3.7", "3.8", "3.9"] TBA
23+
python-version: ["3.7"] #["3.7", "3.8", "3.9"] TBA
2424
runs-on: ${{ matrix.os }}
2525

2626
steps:

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ Additionally, please install MindSpore(>=1.9) following the official [installati
4747

4848
For distributed training, please install [openmpi 4.0.3](https://www.open-mpi.org/software/ompi/v4.0/).
4949

50+
| Environment | Version |
51+
|-------------|---------|
52+
| MindSpore | >=1.9 |
53+
| Python | >=3.7 |
54+
55+
> Notes: If you [use MX Engine for Inference](#21-inference-with-mx-engine), the version of Python should be 3.9.
5056
5157
### Install with PyPI
5258

README_CN.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ pip install -r requirements.txt
4343

4444
此外,请按[官方指引](https://www.mindspore.cn/install)安装MindSpore(>=1.9) 来适配您的机器。如果需要在分布式模式下进行训练,还请安装[openmpi](https://www.open-mpi.org/software/ompi/v4.0/)
4545

46+
| 环境 | 版本 |
47+
|-------------|-------|
48+
| MindSpore | >=1.9 |
49+
| Python | >=3.7 |
50+
51+
> 注意:如果[使用MX Engine推理](#21-使用mx-engine推理),Python版本需为3.9。
4652
4753
### 通过PyPI安装
4854

@@ -59,32 +65,32 @@ pip install git+https://github.com/mindspore-lab/mindocr.git
5965
6066
## 快速上手
6167

62-
### 模型训练评估
68+
### 1. 模型训练评估
6369

64-
#### 文本检测
70+
#### 1.1 文本检测
6571

6672
MindOCR支持多种文本检测模型及数据集,在此我们使用**DBNet**模型和**ICDAR2015**数据集进行演示。请参考[DBNet模型文档](configs/det/dbnet/README_CN.md)
6773

6874

69-
### 文本识别
75+
### 1.2 文本识别
7076

7177
MindOCR支持多种文本识别模型及数据集,在此我们使用**CRNN**模型和**LMDB**数据集进行演示。请参考[CRNN模型文档](configs/rec/crnn/README_CN.md)
7278

7379

74-
### 推理与部署
80+
### 2. 推理与部署
7581

76-
#### 使用MX Engine推理
82+
#### 2.1 使用MX Engine推理
7783

7884
MX ([MindX](https://www.hiascend.com/zh/software/mindx-sdk)的缩写) 是一个支持昇腾设备高效推理与部署的工具。
7985

8086
MindOCR集成了MX推理引擎,支持文本检测识别任务,请参考[mx_infer](docs/cn/inference_tutorial_cn.md).
8187

8288

83-
#### 使用Lite推理
89+
#### 2.2 使用Lite推理
8490

8591
敬请期待
8692

87-
#### 使用原生MindSpore推理
93+
#### 2.3 使用原生MindSpore推理
8894

8995
敬请期待
9096

0 commit comments

Comments
 (0)