-
Notifications
You must be signed in to change notification settings - Fork 215
【PPSCI Export&Infer No.8】Add export and inference for amgnet_cylinder #1165
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
base: develop
Are you sure you want to change the base?
Conversation
Thanks for your contribution! |
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.
@Hydralune 请签署一下CLA |
|
已完成CLA签署,pre-commits代码检查,文档整合,标题修改。 |
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.
这几个文件没有发生变化,请还原,不要修改
请参考 Code Review 注意事项,每个意见都需要回复。
925e59e
to
88ff365
Compare
|
88ff365
to
824f780
Compare
824f780
to
57c712b
Compare
Co-authored-by: HydrogenSulfate <[email protected]>
Co-authored-by: HydrogenSulfate <[email protected]>
Co-authored-by: HydrogenSulfate <[email protected]>
@Hydralune 这个代码确定能运行吗? |
Co-authored-by: HydrogenSulfate <[email protected]>
Co-authored-by: HydrogenSulfate <[email protected]>
审阅者您好,关于agment的问题,我会尽力解决。 |
PR types
New features
PR changes
APIs, Docs
Describe
This PR enhances the
amgnet_cylinder
example by adding model export and Python inference functionalities, aligning it with deployment standards for practical applications.The main changes include:
examples/amgnet/amgnet_cylinder.py
:export()
function to save the trained model in a static graph format for inference.inference()
function to load the exported model and perform predictions.main()
function to orchestrate the newexport
andinfer
modes based on the configuration file.examples/amgnet/deploy/python_infer/amgn_predictor.py
:AMGNPredictor
.pgl.Graph
input data type required by the AMGNet model, which is not supported by standard predictors.examples/amgnet/conf/amgnet_cylinder.yaml
:INFER
section to centralize all configurations for the model export and inference processes.Documentation (
docs/zh/examples/amgnet.md
):amgnet_cylinder
documentation into the mainamgnet.md
file.examples/amgnet/amgnet_cylinder.md
file.