Skip to content

Commit

Permalink
update application README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LokeZhou committed Aug 14, 2023
1 parent 9d38491 commit 3ba7ba4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions applications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ PaddleMIX提供[一键预测功能](),无需训练,直接输入数据即可
>>> image_pil = Image.open("beauty.png").convert("RGB")
>>> result = task(image=image_pil,prompt="women")
```

参数说明
| 参数 | 是否必须| 含义 |
|-------|-------|---------------------------------------------------------------------------------------------|
| --app | Yes| 应用名称 |
| --models | Yes | 需要使用的模型,可以是单个模型,也可以多个组合 |
| --static_mode | Option | 是否静态图推理,默认False |
| --precision | Option | 当 static_mode == True 时使用,默认fp32,可选择trt_fp32、trt_fp16 |
8 changes: 8 additions & 0 deletions applications/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ PaddleMIX provides [Appflow]() without training, and can directly input data to
>>> image_pil = Image.open("beauty.png").convert("RGB")
>>> result = task(image=image_pil,prompt="women")
```

Parameter Description
| parameter | required| meaning |
|-------|-------|---------------------------------------------------------------------------------------------|
| --app | Yes| app name |
| --models | Yes | model list,can be a single model or multiple combinations |
| --static_mode | Option | static graph inference, default : False |
| --precision | Option | when static_mode == True used,default: fp32, option trt_fp32、trt_fp16 |

0 comments on commit 3ba7ba4

Please sign in to comment.