From 86760aeddeaa63ab2eb7867dbccaed3d1d57ab72 Mon Sep 17 00:00:00 2001 From: cnn Date: Fri, 30 Jul 2021 16:22:26 +0800 Subject: [PATCH] update weights path, test=document_fix (#3834) --- deploy/serving/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/serving/README.md b/deploy/serving/README.md index c035d7b87..5da694238 100644 --- a/deploy/serving/README.md +++ b/deploy/serving/README.md @@ -16,7 +16,7 @@ python tools/infer.py -c configs/yolov3/yolov3_darknet53_270e_coco.yml --infer_i PaddleDetection在训练过程包括网络的前向和优化器相关参数,而在部署过程中,我们只需要前向参数,具体参考:[导出模型](https://github.com/PaddlePaddle/PaddleDetection/blob/develop/deploy/EXPORT_MODEL.md) ``` -python tools/export_model.py -c configs/yolov3/yolov3_darknet53_270e_coco.yml -o weights=weights/yolov3_darknet53_270e_coco.pdparams --export_serving_model=True +python tools/export_model.py -c configs/yolov3/yolov3_darknet53_270e_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/yolov3_darknet53_270e_coco.pdparams --export_serving_model=True ``` 以上命令会在`output_inference/`文件夹下生成一个`yolov3_darknet53_270e_coco`文件夹: -- GitLab