Skip to content

Commit

Permalink
update kie doc (#13799)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatV authored Sep 2, 2024
1 parent ada3108 commit 5b54ac4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/ppstructure/model_train/train_kie.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ pip install -r ppstructure/kie/requirements.txt
pip install paddleocr -U
```

NOTE: For KIE tasks, it is necessary to downgrade the Paddle framework version (Paddle<2.6) and the PaddleNLP version (PaddleNLP<2.6).

The visualized results of SER are saved in the `./output` folder by default. Examples of results are as follows.

![img](https://github.com/PaddlePaddle/PaddleOCR/raw/main/ppstructure/docs/kie/result_ser/zh_val_42_ser.jpg)
Expand Down
2 changes: 2 additions & 0 deletions docs/ppstructure/model_train/train_kie.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ pip install -r ppstructure/kie/requirements.txt
pip install paddleocr -U
```

NOTE: 对于KIE任务需要降低Paddle框架版本(Paddle<2.6),和PaddleNLP版本(PaddleNLP<2.6)。

### 4.2 快速开始

下面XFUND数据集,快速体验SER模型与RE模型。
Expand Down
2 changes: 2 additions & 0 deletions ppstructure/kie/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ pip install -r ppstructure/kie/requirements.txt
pip install paddleocr -U
```

NOTE: For KIE tasks, it is necessary to downgrade the Paddle framework version (Paddle<2.6) and the PaddleNLP version (PaddleNLP<2.6).

The visualized results of SER are saved in the `./output` folder by default. Examples of results are as follows.


Expand Down
2 changes: 2 additions & 0 deletions ppstructure/kie/README_ch.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ pip install -r ppstructure/kie/requirements.txt
pip install paddleocr -U
```

NOTE: 对于KIE任务需要降低Paddle框架版本(Paddle<2.6),和PaddleNLP版本(PaddleNLP<2.6)。

### 4.2 快速开始

下面XFUND数据集,快速体验SER模型与RE模型。
Expand Down
2 changes: 1 addition & 1 deletion ppstructure/kie/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ seqeval
pypandoc
attrdict3
python_docx
paddlenlp>=2.5.2
paddlenlp==2.5.2

0 comments on commit 5b54ac4

Please sign in to comment.