Skip to content

Commit

Permalink
add 2.4.0 info for layoutlmv3 readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kk928290341 committed Dec 5, 2024
1 parent d3ea8a4 commit cee188b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions configs/layout/layoutlmv3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ The representation of image vectors typically relies on CNN-extracted feature gr

### 2.1 Preparation

| mindspore | ascend driver | firmware | cann toolkit/kernel |
|:----------:|:---------------:|:------------:|:--------------------:|
| 2.3.1 | 24.1.RC2 | 7.3.0.1.231 | 8.0.RC2.beta1 |
| mindspore | ascend driver | firmware | cann toolkit/kernel |
|:---------:|:---------------:|:------------:|:-------------------:|
| 2.3.1 | 24.1.RC2 | 7.3.0.1.231 | 8.0.RC2.beta1 |
| 2.4.0 | 24.1.RC2 | 7.3.0.1.231 | 8.0.RC3.beta1 |

#### 2.1.1 Installation
Please refer to the [installation instruction](https://github.com/mindspore-lab/mindocr#installation) in MindOCR.
Expand Down Expand Up @@ -69,6 +70,10 @@ python tools/param_converter_from_torch.py \
```

### 2.3 Model Evaluation

```bash
python tools/eval.py --config configs/layout/layoutlmv3/layoutlmv3_publaybet.yaml
```
The evaluation results on the public benchmark dataset (PublayNet) are as follows:

Experiments are tested on ascend 910* with mindspore 2.3.1 pynative mode
Expand Down
11 changes: 8 additions & 3 deletions configs/layout/layoutlmv3/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ LayoutLMv3 还应用了文本——图像多模态 Transformer 架构来学习

### 2.1 环境及数据准备

| mindspore | ascend driver | firmware | cann toolkit/kernel |
|:----------:|:---------------:|:------------:|:--------------------:|
| 2.3.1 | 24.1.RC2 | 7.3.0.1.231 | 8.0.RC2.beta1 |
| mindspore | ascend driver | firmware | cann toolkit/kernel |
|:---------:|:---------------:|:------------:|:-------------------:|
| 2.3.1 | 24.1.RC2 | 7.3.0.1.231 | 8.0.RC2.beta1 |
| 2.4.0 | 24.1.RC2 | 7.3.0.1.231 | 8.0.RC3.beta1 |

#### 2.1.1 安装
环境安装教程请参考MindOCR的 [installation instruction](https://github.com/mindspore-lab/mindocr#installation).
Expand Down Expand Up @@ -73,6 +74,10 @@ python tools/param_converter_from_torch.py \
```

### 2.3 模型评估

```bash
python tools/eval.py --config configs/layout/layoutlmv3/layoutlmv3_publaybet.yaml
```
在公开基准数据集(PublayNet)上的-评估结果如下:

在采用动态图模式的ascend 910*上实验结果,mindspore版本为2.3.1
Expand Down

0 comments on commit cee188b

Please sign in to comment.