From cd55737dfd24c9139654bcc909a2ce0497e3fedd Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 27 Oct 2021 14:10:24 +0800 Subject: [PATCH] rename --- {PTDN => test_tipc}/common_func.sh | 0 {PTDN => test_tipc}/compare_results.py | 2 ++ {PTDN => test_tipc}/configs/det_mv3_db.yml | 0 {PTDN => test_tipc}/configs/det_r50_vd_db.yml | 0 .../configs/ppocr_det_mobile_params.txt | 0 .../configs/ppocr_det_server_params.txt | 0 .../configs/ppocr_rec_mobile_params.txt | 0 .../configs/ppocr_rec_server_params.txt | 0 .../configs/ppocr_sys_mobile_params.txt | 0 .../configs/ppocr_sys_server_params.txt | 0 .../configs/rec_icdar15_r34_train.yml | 0 {PTDN => test_tipc}/docs/compare_cpp_right.png | Bin {PTDN => test_tipc}/docs/compare_cpp_wrong.png | Bin {PTDN => test_tipc}/docs/compare_right.png | Bin {PTDN => test_tipc}/docs/compare_wrong.png | Bin {PTDN => test_tipc}/docs/guide.png | Bin {PTDN => test_tipc}/docs/install.md | 0 {PTDN => test_tipc}/docs/test.png | Bin {PTDN => test_tipc}/docs/test_inference_cpp.md | 0 {PTDN => test_tipc}/docs/test_serving.md | 0 .../docs/test_train_inference_python.md | 0 {PTDN => test_tipc}/prepare.sh | 0 {PTDN => test_tipc}/readme.md | 2 +- .../results/cpp_ppocr_det_mobile_results_fp16.txt | 0 .../results/cpp_ppocr_det_mobile_results_fp32.txt | 0 .../python_ppocr_det_mobile_results_fp16.txt | 0 .../python_ppocr_det_mobile_results_fp32.txt | 0 {PTDN => test_tipc}/test_inference_cpp.sh | 0 {PTDN => test_tipc}/test_serving.sh | 0 {PTDN => test_tipc}/test_train_inference_python.sh | 0 30 files changed, 3 insertions(+), 1 deletion(-) rename {PTDN => test_tipc}/common_func.sh (100%) rename {PTDN => test_tipc}/compare_results.py (99%) rename {PTDN => test_tipc}/configs/det_mv3_db.yml (100%) rename {PTDN => test_tipc}/configs/det_r50_vd_db.yml (100%) rename {PTDN => test_tipc}/configs/ppocr_det_mobile_params.txt (100%) rename {PTDN => test_tipc}/configs/ppocr_det_server_params.txt (100%) rename {PTDN => test_tipc}/configs/ppocr_rec_mobile_params.txt (100%) rename {PTDN => test_tipc}/configs/ppocr_rec_server_params.txt (100%) rename {PTDN => test_tipc}/configs/ppocr_sys_mobile_params.txt (100%) rename {PTDN => test_tipc}/configs/ppocr_sys_server_params.txt (100%) rename {PTDN => test_tipc}/configs/rec_icdar15_r34_train.yml (100%) rename {PTDN => test_tipc}/docs/compare_cpp_right.png (100%) rename {PTDN => test_tipc}/docs/compare_cpp_wrong.png (100%) rename {PTDN => test_tipc}/docs/compare_right.png (100%) rename {PTDN => test_tipc}/docs/compare_wrong.png (100%) rename {PTDN => test_tipc}/docs/guide.png (100%) rename {PTDN => test_tipc}/docs/install.md (100%) rename {PTDN => test_tipc}/docs/test.png (100%) rename {PTDN => test_tipc}/docs/test_inference_cpp.md (100%) rename {PTDN => test_tipc}/docs/test_serving.md (100%) rename {PTDN => test_tipc}/docs/test_train_inference_python.md (100%) rename {PTDN => test_tipc}/prepare.sh (100%) rename {PTDN => test_tipc}/readme.md (99%) rename {PTDN => test_tipc}/results/cpp_ppocr_det_mobile_results_fp16.txt (100%) rename {PTDN => test_tipc}/results/cpp_ppocr_det_mobile_results_fp32.txt (100%) rename {PTDN => test_tipc}/results/python_ppocr_det_mobile_results_fp16.txt (100%) rename {PTDN => test_tipc}/results/python_ppocr_det_mobile_results_fp32.txt (100%) rename {PTDN => test_tipc}/test_inference_cpp.sh (100%) rename {PTDN => test_tipc}/test_serving.sh (100%) rename {PTDN => test_tipc}/test_train_inference_python.sh (100%) diff --git a/PTDN/common_func.sh b/test_tipc/common_func.sh similarity index 100% rename from PTDN/common_func.sh rename to test_tipc/common_func.sh diff --git a/PTDN/compare_results.py b/test_tipc/compare_results.py similarity index 99% rename from PTDN/compare_results.py rename to test_tipc/compare_results.py index 35af3880..e28410ed 100644 --- a/PTDN/compare_results.py +++ b/test_tipc/compare_results.py @@ -32,6 +32,7 @@ def run_shell_command(cmd): else: return None + def parser_results_from_log_by_name(log_path, names_list): if not os.path.exists(log_path): raise ValueError("The log file {} does not exists!".format(log_path)) @@ -52,6 +53,7 @@ def parser_results_from_log_by_name(log_path, names_list): parser_results[name] = result return parser_results + def load_gt_from_file(gt_file): if not os.path.exists(gt_file): raise ValueError("The log file {} does not exists!".format(gt_file)) diff --git a/PTDN/configs/det_mv3_db.yml b/test_tipc/configs/det_mv3_db.yml similarity index 100% rename from PTDN/configs/det_mv3_db.yml rename to test_tipc/configs/det_mv3_db.yml diff --git a/PTDN/configs/det_r50_vd_db.yml b/test_tipc/configs/det_r50_vd_db.yml similarity index 100% rename from PTDN/configs/det_r50_vd_db.yml rename to test_tipc/configs/det_r50_vd_db.yml diff --git a/PTDN/configs/ppocr_det_mobile_params.txt b/test_tipc/configs/ppocr_det_mobile_params.txt similarity index 100% rename from PTDN/configs/ppocr_det_mobile_params.txt rename to test_tipc/configs/ppocr_det_mobile_params.txt diff --git a/PTDN/configs/ppocr_det_server_params.txt b/test_tipc/configs/ppocr_det_server_params.txt similarity index 100% rename from PTDN/configs/ppocr_det_server_params.txt rename to test_tipc/configs/ppocr_det_server_params.txt diff --git a/PTDN/configs/ppocr_rec_mobile_params.txt b/test_tipc/configs/ppocr_rec_mobile_params.txt similarity index 100% rename from PTDN/configs/ppocr_rec_mobile_params.txt rename to test_tipc/configs/ppocr_rec_mobile_params.txt diff --git a/PTDN/configs/ppocr_rec_server_params.txt b/test_tipc/configs/ppocr_rec_server_params.txt similarity index 100% rename from PTDN/configs/ppocr_rec_server_params.txt rename to test_tipc/configs/ppocr_rec_server_params.txt diff --git a/PTDN/configs/ppocr_sys_mobile_params.txt b/test_tipc/configs/ppocr_sys_mobile_params.txt similarity index 100% rename from PTDN/configs/ppocr_sys_mobile_params.txt rename to test_tipc/configs/ppocr_sys_mobile_params.txt diff --git a/PTDN/configs/ppocr_sys_server_params.txt b/test_tipc/configs/ppocr_sys_server_params.txt similarity index 100% rename from PTDN/configs/ppocr_sys_server_params.txt rename to test_tipc/configs/ppocr_sys_server_params.txt diff --git a/PTDN/configs/rec_icdar15_r34_train.yml b/test_tipc/configs/rec_icdar15_r34_train.yml similarity index 100% rename from PTDN/configs/rec_icdar15_r34_train.yml rename to test_tipc/configs/rec_icdar15_r34_train.yml diff --git a/PTDN/docs/compare_cpp_right.png b/test_tipc/docs/compare_cpp_right.png similarity index 100% rename from PTDN/docs/compare_cpp_right.png rename to test_tipc/docs/compare_cpp_right.png diff --git a/PTDN/docs/compare_cpp_wrong.png b/test_tipc/docs/compare_cpp_wrong.png similarity index 100% rename from PTDN/docs/compare_cpp_wrong.png rename to test_tipc/docs/compare_cpp_wrong.png diff --git a/PTDN/docs/compare_right.png b/test_tipc/docs/compare_right.png similarity index 100% rename from PTDN/docs/compare_right.png rename to test_tipc/docs/compare_right.png diff --git a/PTDN/docs/compare_wrong.png b/test_tipc/docs/compare_wrong.png similarity index 100% rename from PTDN/docs/compare_wrong.png rename to test_tipc/docs/compare_wrong.png diff --git a/PTDN/docs/guide.png b/test_tipc/docs/guide.png similarity index 100% rename from PTDN/docs/guide.png rename to test_tipc/docs/guide.png diff --git a/PTDN/docs/install.md b/test_tipc/docs/install.md similarity index 100% rename from PTDN/docs/install.md rename to test_tipc/docs/install.md diff --git a/PTDN/docs/test.png b/test_tipc/docs/test.png similarity index 100% rename from PTDN/docs/test.png rename to test_tipc/docs/test.png diff --git a/PTDN/docs/test_inference_cpp.md b/test_tipc/docs/test_inference_cpp.md similarity index 100% rename from PTDN/docs/test_inference_cpp.md rename to test_tipc/docs/test_inference_cpp.md diff --git a/PTDN/docs/test_serving.md b/test_tipc/docs/test_serving.md similarity index 100% rename from PTDN/docs/test_serving.md rename to test_tipc/docs/test_serving.md diff --git a/PTDN/docs/test_train_inference_python.md b/test_tipc/docs/test_train_inference_python.md similarity index 100% rename from PTDN/docs/test_train_inference_python.md rename to test_tipc/docs/test_train_inference_python.md diff --git a/PTDN/prepare.sh b/test_tipc/prepare.sh similarity index 100% rename from PTDN/prepare.sh rename to test_tipc/prepare.sh diff --git a/PTDN/readme.md b/test_tipc/readme.md similarity index 99% rename from PTDN/readme.md rename to test_tipc/readme.md index 71e888a2..ccc0c8af 100644 --- a/PTDN/readme.md +++ b/test_tipc/readme.md @@ -69,7 +69,7 @@ PTDN/ ├── ppocr_sys_server_params.txt # 测试server版ppocr检测+识别模型串联的参数配置文件 ├── ppocr_det_server_params.txt # 测试server版ppocr检测模型的参数配置文件 ├── ppocr_rec_server_params.txt # 测试server版ppocr识别模型的参数配置文件 - ├── ... + ├── ... ├── results/ # 预先保存的预测结果,用于和实际预测结果进行精读比对 ├── python_ppocr_det_mobile_results_fp32.txt # 预存的mobile版ppocr检测模型python预测fp32精度的结果 ├── python_ppocr_det_mobile_results_fp16.txt # 预存的mobile版ppocr检测模型python预测fp16精度的结果 diff --git a/PTDN/results/cpp_ppocr_det_mobile_results_fp16.txt b/test_tipc/results/cpp_ppocr_det_mobile_results_fp16.txt similarity index 100% rename from PTDN/results/cpp_ppocr_det_mobile_results_fp16.txt rename to test_tipc/results/cpp_ppocr_det_mobile_results_fp16.txt diff --git a/PTDN/results/cpp_ppocr_det_mobile_results_fp32.txt b/test_tipc/results/cpp_ppocr_det_mobile_results_fp32.txt similarity index 100% rename from PTDN/results/cpp_ppocr_det_mobile_results_fp32.txt rename to test_tipc/results/cpp_ppocr_det_mobile_results_fp32.txt diff --git a/PTDN/results/python_ppocr_det_mobile_results_fp16.txt b/test_tipc/results/python_ppocr_det_mobile_results_fp16.txt similarity index 100% rename from PTDN/results/python_ppocr_det_mobile_results_fp16.txt rename to test_tipc/results/python_ppocr_det_mobile_results_fp16.txt diff --git a/PTDN/results/python_ppocr_det_mobile_results_fp32.txt b/test_tipc/results/python_ppocr_det_mobile_results_fp32.txt similarity index 100% rename from PTDN/results/python_ppocr_det_mobile_results_fp32.txt rename to test_tipc/results/python_ppocr_det_mobile_results_fp32.txt diff --git a/PTDN/test_inference_cpp.sh b/test_tipc/test_inference_cpp.sh similarity index 100% rename from PTDN/test_inference_cpp.sh rename to test_tipc/test_inference_cpp.sh diff --git a/PTDN/test_serving.sh b/test_tipc/test_serving.sh similarity index 100% rename from PTDN/test_serving.sh rename to test_tipc/test_serving.sh diff --git a/PTDN/test_train_inference_python.sh b/test_tipc/test_train_inference_python.sh similarity index 100% rename from PTDN/test_train_inference_python.sh rename to test_tipc/test_train_inference_python.sh -- GitLab