From 8b987e93bebf54ae95e127bf1ae4c42d3d9d3a63 Mon Sep 17 00:00:00 2001 From: Bin Lu Date: Wed, 9 Jun 2021 16:28:33 +0800 Subject: [PATCH] Update and rename inference_icartoon.py to inference_cartoon.py --- ...erence_icartoon.py => inference_cartoon.py} | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) rename deploy/configs/{inference_icartoon.py => inference_cartoon.py} (70%) diff --git a/deploy/configs/inference_icartoon.py b/deploy/configs/inference_cartoon.py similarity index 70% rename from deploy/configs/inference_icartoon.py rename to deploy/configs/inference_cartoon.py index 8bd5aeee..1d3a6b92 100644 --- a/deploy/configs/inference_icartoon.py +++ b/deploy/configs/inference_cartoon.py @@ -1,7 +1,7 @@ Global: infer_imgs: "./dataset/iCartoonFace/val2/0000000.jpg" - det_inference_model_dir: "./output/det" - rec_inference_model_dir: "./output/" + det_inference_model_dir: "./cartoon/det" + rec_inference_model_dir: "./cartoon/rec" batch_size: 1 image_shape: [3, 640, 640] threshold: 0.5 @@ -9,7 +9,6 @@ Global: labe_list: - foreground - # inference engine config use_gpu: True enable_mkldnn: True cpu_num_threads: 100 @@ -50,18 +49,7 @@ RecPreProcess: RecPostProcess: null -# indexing engine config IndexProcess: - build: - enable: False - index_path: "./icartoon_index/" - image_root: "./dataset/iCartoonFace" - data_file: "./dataset/iCartoonFace/gallery_pesudo.txt" - spacer: "\t" - dist_type: "IP" - pq_size: 100 - embedding_size: 2048 - infer: - index_path: "./icartoon_index/" + index_path: "./cartoon/index/" search_budget: 100 return_k: 10 -- GitLab