Skip to content

Commit

Permalink
add paddlenlp install
Browse files Browse the repository at this point in the history
  • Loading branch information
WenmuZhou committed Aug 4, 2022
1 parent fbcb5b6 commit 604e593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_tipc/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if [ ${MODE} = "benchmark_train" ];then
fi
if [ ${model_name} == "layoutxlm_ser" ]; then
pip install -r ppstructure/vqa/requirements.txt
pip install paddlenlp>=2.3.5
pip install paddlenlp\>=2.3.5 --force-reinstall
wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/ppstructure/dataset/XFUND.tar --no-check-certificate
cd ./train_data/ && tar xf XFUND.tar
# expand gt.txt 10 times
Expand Down Expand Up @@ -222,7 +222,7 @@ if [ ${MODE} = "lite_train_lite_infer" ];then
fi
if [ ${model_name} == "layoutxlm_ser" ]; then
pip install -r ppstructure/vqa/requirements.txt
pip install paddlenlp>=2.3.5
pip install paddlenlp\>=2.3.5 --force-reinstall
wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/ppstructure/dataset/XFUND.tar --no-check-certificate
cd ./train_data/ && tar xf XFUND.tar
cd ../
Expand Down

0 comments on commit 604e593

Please sign in to comment.