From 1ded2ac44adb478f8209d469c626444948888e75 Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Tue, 28 Dec 2021 03:12:39 +0000 Subject: [PATCH] update paddlenlp install --- ppstructure/vqa/README.md | 5 +---- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ppstructure/vqa/README.md b/ppstructure/vqa/README.md index 4cf2432f..529690cc 100644 --- a/ppstructure/vqa/README.md +++ b/ppstructure/vqa/README.md @@ -96,10 +96,7 @@ git clone https://gitee.com/paddlepaddle/PaddleOCR - **(3)安装PaddleNLP** ```bash -# 需要使用PaddleNLP最新的代码版本进行安装 -git clone https://github.com/PaddlePaddle/PaddleNLP -b develop -cd PaddleNLP -pip3 install -e . +pip3 install "paddlenlp>=2.2.1" ``` diff --git a/requirements.txt b/requirements.txt index 9900588b..1d10b23a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,4 +13,4 @@ lxml premailer openpyxl fasttext==0.9.1 - +paddlenlp>=2.2.1 -- GitLab