From 56036f8d96f6dc3450bd0fc417dd4dd52b6736e3 Mon Sep 17 00:00:00 2001 From: zengshao0622 Date: Mon, 31 Oct 2022 03:45:02 +0000 Subject: [PATCH] update whl doc --- docs/zh_CN/deployment/PP-ShiTu/whl.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zh_CN/deployment/PP-ShiTu/whl.md b/docs/zh_CN/deployment/PP-ShiTu/whl.md index a3749735..c0b1536a 100644 --- a/docs/zh_CN/deployment/PP-ShiTu/whl.md +++ b/docs/zh_CN/deployment/PP-ShiTu/whl.md @@ -89,7 +89,7 @@ paddleclas --build_gallery=True --model_name="PP-ShiTuV2" \ ### 2.2 瓶装饮料识别 -体验瓶装饮料识别,对图像`./drink_dataset_v2.0/test_images/001.jpeg`进行识别与检索。 +体验瓶装饮料识别,对图像`./drink_dataset_v2.0/test_images/100.jpeg`进行识别与检索。 待检索图像如下: ![](../../../images/recognition/drink_data_demo/test_images/100.jpeg) @@ -99,7 +99,7 @@ paddleclas --build_gallery=True --model_name="PP-ShiTuV2" \ from paddleclas import PaddleClas clas = PaddleClas(model_name='PP-ShiTuV2', index_dir='./drink_dataset_v2.0/index') -infer_imgs='./drink_dataset_v2.0/test_images/001.jpeg' +infer_imgs='./drink_dataset_v2.0/test_images/100.jpeg' result=clas.predict(infer_imgs, predict_type='shitu') print(next(result)) ``` @@ -115,7 +115,7 @@ print(next(result)) **在命令行中进行识别和检索** ```shell paddleclas --model_name=PP-ShiTuV2 --predict_type=shitu \ --o Global.infer_imgs='./drink_dataset_v2.0/test_images/001.jpeg' \ +-o Global.infer_imgs='./drink_dataset_v2.0/test_images/100.jpeg' \ -o IndexProcess.index_dir='./drink_dataset_v2.0/index' ``` 其中参数`model_name`为用于检索和识别的模型、`predict_type`设置为'shitu'模式。 -- GitLab