未验证 提交 eed5a4f1 编写于 作者: Z Zeyu Chen 提交者: GitHub

Update deploy.md

Add Paddle Inference docs
上级 cfe1045f
# Predictor部署-paddlex.deploy
# 预测部署-paddlex.deploy
使用AnalysisPredictor进行预测部署。
使用Paddle Inference进行高性能的Python预测部署。更多关于Paddle Inference信息请参考[Paddle Inference文档](https://paddle-inference.readthedocs.io/en/latest/#)
## Predictor类
......@@ -22,6 +22,7 @@ paddlex.deploy.Predictor(model_dir, use_gpu=False, gpu_id=0, use_mkl=False, use_
> >
> > ```
> > import paddlex
> >
> > model = paddlex.deploy.Predictor(model_dir, use_gpu=True)
> > result = model.predict(image_file)
> > ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册