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

【Hackathon4 No.185】 Add "Deploy PaddleDetection by Java" RFC #377

Merged
merged 7 commits into from
Apr 11, 2023

Conversation

huajiao-hjyp
Copy link
Contributor

Add "Deploy PaddleDetection by Java" RFC

@paddle-bot
Copy link

paddle-bot bot commented Feb 23, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请检查PR提交格式和内容是否完备,具体请参考示例模版
Your PR has been submitted. Thanks for your contribution!
Please check its format and content. For this, you can refer to Template and Demo.

在`Java`层面新增模型部署可以分为几个步骤:定义模型对应的调用本地`native`方法的`Java`类、使用C++实现`JNI`函数、修改`CMakeLists.txt`文件。

## 定义模型对应的调用本地`native`方法的`Java`类
* 在`fastdeploy/src/main/java/com/baidu/paddle/fastdeploy/vision/detection`下定义目标检测模型对应的Java类,如`PPYOLOE`类。
Copy link

Choose a reason for hiding this comment

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

实现的代码需要放在FastDeploy/examples/application/java目录下

@DefTruth
Copy link

LGTM

@leiqing1 leiqing1 merged commit 609f233 into PaddlePaddle:master Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants