提交 c44d2979 编写于 作者: W wuzewu

Update user guide about command line tool

上级 36f0890d
...@@ -30,11 +30,10 @@ hub run lac --input_text "今天是个好日子" ...@@ -30,11 +30,10 @@ hub run lac --input_text "今天是个好日子"
``` ```
```shell ```shell
#多文本分析 #多文本分析
hub run lac --input_file test.csv hub run lac --input_file test.txt
``` ```
其中test.csv的格式为 其中test.txt的格式为
``` ```
TITLE
今天是个好日子 今天是个好日子
天气预报说今天要下雨 天气预报说今天要下雨
下一班地铁马上就要到了 下一班地铁马上就要到了
...@@ -44,15 +43,14 @@ TITLE ...@@ -44,15 +43,14 @@ TITLE
输入数据通过--input_path或者--input_file指定。以SSD(目标检测)为例子,可以通过以下两个命令实现单张图片和多张图片的预测 输入数据通过--input_path或者--input_file指定。以SSD(目标检测)为例子,可以通过以下两个命令实现单张图片和多张图片的预测
```shell ```shell
#单张照片预测 #单张照片预测
hub run ssd_mobilenet_pascal --input_text test.jpg hub run ssd_mobilenet_pascal --input_path test.jpg
``` ```
```shell ```shell
#多文本分析 #多文本分析
hub run ssd_mobilenet_pascal --input_file test.csv hub run ssd_mobilenet_pascal --input_file test.txt
``` ```
其中test.csv的格式为 其中test.txt的格式为
``` ```
TITLE
cat.jpg cat.jpg
dog.jpg dog.jpg
person.jpg person.jpg
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册