From c5a7f2fb79b9b80574e24a01235203493a5fe44e Mon Sep 17 00:00:00 2001 From: nbswords Date: Sun, 19 Jun 2022 00:27:22 +0800 Subject: [PATCH] Fix End2End evalution command of SER doc --- ppstructure/vqa/README.md | 2 +- ppstructure/vqa/README_ch.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ppstructure/vqa/README.md b/ppstructure/vqa/README.md index 66cc5b93..d7323931 100644 --- a/ppstructure/vqa/README.md +++ b/ppstructure/vqa/README.md @@ -203,7 +203,7 @@ First use the `tools/infer_vqa_token_ser.py` script to complete the prediction o ```shell export CUDA_VISIBLE_DEVICES=0 -python3 tools/eval_with_label_end2end.py --gt_json_path XFUND/zh_val/xfun_normalize_val.json --pred_json_path output_res/infer_results.txt +python3 ppstructure/vqa/tools/eval_with_label_end2end.py --gt_json_path XFUND/zh_val/xfun_normalize_val.json --pred_json_path output_res/infer_results.txt ```` diff --git a/ppstructure/vqa/README_ch.md b/ppstructure/vqa/README_ch.md index b677dc07..abf8e488 100644 --- a/ppstructure/vqa/README_ch.md +++ b/ppstructure/vqa/README_ch.md @@ -198,7 +198,7 @@ CUDA_VISIBLE_DEVICES=0 python3 tools/infer_vqa_token_ser.py -c configs/vqa/ser/l ```shell export CUDA_VISIBLE_DEVICES=0 -python3 tools/eval_with_label_end2end.py --gt_json_path XFUND/zh_val/xfun_normalize_val.json --pred_json_path output_res/infer_results.txt +python3 ppstructure/vqa/tools/eval_with_label_end2end.py --gt_json_path XFUND/zh_val/xfun_normalize_val.json --pred_json_path output_res/infer_results.txt ``` ### 5.3 RE -- GitLab