From 71c9a947175ce58a2e4b42e5c63ae6e3cc641e7e Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Sat, 27 Aug 2022 19:39:47 +0800 Subject: [PATCH] fix cv2 req (#7365) --- test_tipc/prepare.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index 25bfcce2..bb4b58b4 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -108,6 +108,7 @@ if [ ${MODE} = "benchmark_train" ];then fi if [ ${model_name} == "layoutxlm_ser" ] || [ ${model_name} == "vi_layoutxlm_ser" ]; then pip install -r ppstructure/kie/requirements.txt + pip install opencv-python -U 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 @@ -230,6 +231,7 @@ if [ ${MODE} = "lite_train_lite_infer" ];then fi if [ ${model_name} == "layoutxlm_ser" ] || [ ${model_name} == "vi_layoutxlm_ser" ]; then pip install -r ppstructure/kie/requirements.txt + pip install opencv-python -U 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 ../ -- GitLab