From 845e81f46cfc0fca52bc7f1aab1713a8e6f0e802 Mon Sep 17 00:00:00 2001 From: HydrogenSulfate <490868991@qq.com> Date: Tue, 20 Sep 2022 18:52:13 +0800 Subject: [PATCH] fix script for building index --- deploy/shitu_android_demo/docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/shitu_android_demo/docs/README.md b/deploy/shitu_android_demo/docs/README.md index 5c0715b1..168713c2 100644 --- a/deploy/shitu_android_demo/docs/README.md +++ b/deploy/shitu_android_demo/docs/README.md @@ -47,7 +47,7 @@ cd ../ # 构建检索库与标签库 - python3.7 python/build_gallery.py -c configs/inference_drink.yaml -o Global.rec_inference_model_dir=./models/ppshituv2_lite_models_v1.0/general_PPLCNetV2_base_quant_v1.0_lite_inference_model -o IndexProcess.index_method=Flat + python3.7 python/build_gallery.py -c configs/inference_drink.yaml -o Global.rec_inference_model_dir=./models/ppshituv2_lite_models_v1.0/general_PPLCNetV2_base_quant_v1.0_lite_inference_model -o IndexProcess.index_method=Flat -o Global.android_demo=True ``` 4. 然后将 `configs/inference_drink.yaml` 文件中的 `IndexProcess.index_dir` 字段后的路径改为 `"../drink_dataset_v2.0/index"`,再执行以下命令,得到转换成txt格式的标签库 -- GitLab