-
Notifications
You must be signed in to change notification settings - Fork 465
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…t Go Examples Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>
Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>
DefTruth
requested changes
Mar 23, 2023
|
||
// #cgo CFLAGS: -I./fastdeploy_capi | ||
// #cgo LDFLAGS: -L./fastdeploy-linux-x64-0.0.0/lib -lfastdeploy | ||
// #include <fastdeploy_capi/vision.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
删除注释代码
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个不是注释,是CGO链接C API的方式
@wanziyu 需要在PR提供下各个模型调用GO预测成功后的可视化图片哈 |
DefTruth
requested review from
chenbjin and
rainyfly
and removed request for
chenbjin
March 23, 2023 07:49
LGTM for calling C api |
|
LGTM ~ |
DefTruth
approved these changes
Mar 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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