From 8bd822bc9a7d8d4b3c0296bb21bb4fc33881f792 Mon Sep 17 00:00:00 2001 From: gaotingquan Date: Thu, 22 Oct 2020 13:32:22 +0800 Subject: [PATCH] Fix some errors in description of infer.py --- docs/zh_CN/extension/paddle_inference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zh_CN/extension/paddle_inference.md b/docs/zh_CN/extension/paddle_inference.md index 17300278..dd495783 100644 --- a/docs/zh_CN/extension/paddle_inference.md +++ b/docs/zh_CN/extension/paddle_inference.md @@ -175,9 +175,9 @@ python tools/infer/infer.py \ 参数说明: + `image_file`(简写 i):待预测的图片文件路径,如 `./test.jpeg` -+ `model_file`(简写 m):模型文件路径,如 `./resnet50-vd/model` -+ `params_file`(简写 p):权重文件路径,如 `./resnet50-vd/params` -+ `use_gpu` : 是否开启GPU训练,默认值:True ++ `model`(简写 m):模型名称,如 `ResNet50_vd` ++ `pretrained_model`(简写 p):权重文件路径,如 `./pretrained/ResNet50_vd_pretrained/` ++ `use_gpu` : 是否开启GPU训练,默认值:`True` 训练引擎构建: -- GitLab