diff --git a/docs/ppstructure/model_train/train_kie.en.md b/docs/ppstructure/model_train/train_kie.en.md index 91d9b86e73..3e64d70a0e 100644 --- a/docs/ppstructure/model_train/train_kie.en.md +++ b/docs/ppstructure/model_train/train_kie.en.md @@ -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) diff --git a/docs/ppstructure/model_train/train_kie.md b/docs/ppstructure/model_train/train_kie.md index 14835d492b..4ac026437e 100644 --- a/docs/ppstructure/model_train/train_kie.md +++ b/docs/ppstructure/model_train/train_kie.md @@ -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模型。 diff --git a/ppstructure/kie/README.md b/ppstructure/kie/README.md index 33db558802..aed45a68fd 100644 --- a/ppstructure/kie/README.md +++ b/ppstructure/kie/README.md @@ -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. diff --git a/ppstructure/kie/README_ch.md b/ppstructure/kie/README_ch.md index 2efb49fd96..bfff1dbd12 100644 --- a/ppstructure/kie/README_ch.md +++ b/ppstructure/kie/README_ch.md @@ -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模型。 diff --git a/ppstructure/kie/requirements.txt b/ppstructure/kie/requirements.txt index 6778f5899b..500026ea13 100644 --- a/ppstructure/kie/requirements.txt +++ b/ppstructure/kie/requirements.txt @@ -4,4 +4,4 @@ seqeval pypandoc attrdict3 python_docx -paddlenlp>=2.5.2 +paddlenlp==2.5.2