Skip to content

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
Member

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
Member

@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
Member

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

3 participants