Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PaddlePaddle Hackathon4 No.186] Add PaddleDetection Models Deployment Go Examples #1648

Merged
merged 6 commits into from
Mar 28, 2023

Conversation

wanziyu
Copy link
Contributor

@wanziyu wanziyu commented Mar 18, 2023

PR types(PR类型)

Model

PR changes

examples/application/go

Description

在FastDeploy C API的基础上,使用go完成PaddleDetection部署
使用Go通过调用FastDeploy C API,完成PP-YOLOE, YOLOv8, YOLOv5模型的部署适配代码,及对应的中英文文档

关联Issue

PaddlePaddle/community#400

…t Go Examples

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>

// #cgo CFLAGS: -I./fastdeploy_capi
// #cgo LDFLAGS: -L./fastdeploy-linux-x64-0.0.0/lib -lfastdeploy
// #include <fastdeploy_capi/vision.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删除注释代码

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个不是注释,是CGO链接C API的方式

@DefTruth
Copy link
Collaborator

@wanziyu 需要在PR提供下各个模型调用GO预测成功后的可视化图片哈

@DefTruth DefTruth requested review from chenbjin and rainyfly and removed request for chenbjin March 23, 2023 07:49
@rainyfly
Copy link
Collaborator

LGTM for calling C api

@wanziyu
Copy link
Contributor Author

wanziyu commented Mar 26, 2023

@wanziyu 需要在PR提供下各个模型调用GO预测成功后的可视化图片哈

PPYOLOE模型预测结果
vis_result_ppyoloe

YOLOv5模型预测结果
vis_result_yolov5

YOLOv8模型预测结果
vis_result_yolov8

@wanziyu wanziyu requested review from DefTruth and removed request for rainyfly March 27, 2023 09:17
@DefTruth
Copy link
Collaborator

LGTM ~

@DefTruth DefTruth merged commit b1d2903 into PaddlePaddle:develop Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants