diff --git a/docs/zh_CN/tutorials/getting_started_retrieval.md b/docs/zh_CN/tutorials/getting_started_retrieval.md index 81ce69ce1dc0fb1eaafbe2fee8836ba1b1e1f76b..e7c790a20fc95f5424872ee235c8ed538a0d498a 100644 --- a/docs/zh_CN/tutorials/getting_started_retrieval.md +++ b/docs/zh_CN/tutorials/getting_started_retrieval.md @@ -158,10 +158,10 @@ cd deploy ```bash python python/build_gallery.py \ -c configs/build_flowers.yaml \ - -o Global.rec_inference_model_dir "./inference" \ - -o IndexProcess.index_path "../dataset/flowers102/index" \ - -o IndexProcess.image_root: "../dataset/flowers102/" \ - -o IndexProcess.data_file: "../dataset/flowers102/train_list.txt" + -o Global.rec_inference_model_dir="./inference" \ + -o IndexProcess.index_path="../dataset/flowers102/index" \ + -o IndexProcess.image_root="../dataset/flowers102/" \ + -o IndexProcess.data_file="../dataset/flowers102/train_list.txt" ``` 其中 + `Global.rec_inference_model_dir`:3.1生成的推理模型的路径 @@ -176,8 +176,8 @@ python python/build_gallery.py \ ```bash python python/predict_rec.py \ -c configs/inference_flowers.yaml \ - -o Global.infer_imgs 图片路径 \ - -o Global.rec_inference_model_dir "../inference" + -o Global.infer_imgs="../dataset/flowers/jpg/image_00001.jpg" \ + -o Global.rec_inference_model_dir="./inference" -o Global.use_gpu=True \ -o Global.use_tensorrt=False ```