From 533c0025e927a1b9f56c94c131eef7c0973b1e4b Mon Sep 17 00:00:00 2001 From: dongshuilong Date: Thu, 2 Sep 2021 08:57:27 +0000 Subject: [PATCH] update rec quick start doc --- docs/en/tutorials/quick_start_recognition_en.md | 12 ++++++------ docs/zh_CN/tutorials/quick_start_recognition.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/en/tutorials/quick_start_recognition_en.md b/docs/en/tutorials/quick_start_recognition_en.md index 9002c1c2..cd14d2bb 100644 --- a/docs/en/tutorials/quick_start_recognition_en.md +++ b/docs/en/tutorials/quick_start_recognition_en.md @@ -238,12 +238,12 @@ cp recognition_demo_data_v1.0/gallery_product/data_file.txt recognition_demo_dat Then add some new lines into the new label file, which is shown as follows. ``` -gallery/anmuxi/001.jpg Anmuxi Ambrosial Yogurt -gallery/anmuxi/002.jpg Anmuxi Ambrosial Yogurt -gallery/anmuxi/003.jpg Anmuxi Ambrosial Yogurt -gallery/anmuxi/004.jpg Anmuxi Ambrosial Yogurt -gallery/anmuxi/005.jpg Anmuxi Ambrosial Yogurt -gallery/anmuxi/006.jpg Anmuxi Ambrosial Yogurt +gallery/anmuxi/001.jpg Anmuxi Ambrosial Yogurt +gallery/anmuxi/002.jpg Anmuxi Ambrosial Yogurt +gallery/anmuxi/003.jpg Anmuxi Ambrosial Yogurt +gallery/anmuxi/004.jpg Anmuxi Ambrosial Yogurt +gallery/anmuxi/005.jpg Anmuxi Ambrosial Yogurt +gallery/anmuxi/006.jpg Anmuxi Ambrosial Yogurt ``` Each line can be splited into two fields. The first field denotes the relative image path, and the second field denotes its label. The `delimiter` is `tab` here. diff --git a/docs/zh_CN/tutorials/quick_start_recognition.md b/docs/zh_CN/tutorials/quick_start_recognition.md index 439475bc..2e2fab83 100644 --- a/docs/zh_CN/tutorials/quick_start_recognition.md +++ b/docs/zh_CN/tutorials/quick_start_recognition.md @@ -238,12 +238,12 @@ cp recognition_demo_data_v1.0/gallery_product/data_file.txt recognition_demo_dat 然后在文件`recognition_demo_data_v1.0/gallery_product/data_file_update.txt`中添加以下的信息, ``` -gallery/anmuxi/001.jpg 安慕希酸奶 -gallery/anmuxi/002.jpg 安慕希酸奶 -gallery/anmuxi/003.jpg 安慕希酸奶 -gallery/anmuxi/004.jpg 安慕希酸奶 -gallery/anmuxi/005.jpg 安慕希酸奶 -gallery/anmuxi/006.jpg 安慕希酸奶 +gallery/anmuxi/001.jpg 安慕希酸奶 +gallery/anmuxi/002.jpg 安慕希酸奶 +gallery/anmuxi/003.jpg 安慕希酸奶 +gallery/anmuxi/004.jpg 安慕希酸奶 +gallery/anmuxi/005.jpg 安慕希酸奶 +gallery/anmuxi/006.jpg 安慕希酸奶 ``` 每一行的文本中,第一个字段表示图像的相对路径,第二个字段表示图像对应的标签信息,中间用`tab`键分隔开(注意:有些编辑器会将`tab`自动转换为`空格`,这种情况下会导致文件解析报错)。 -- GitLab