-
Notifications
You must be signed in to change notification settings - Fork 185
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
[Fea] Support python inference #773
[Fea] Support python inference #773
Conversation
…dle#639) * update laplace2d pretrained model * remove 'after finished training' comment in evaluate function * update README.md
…ate/PaddleScience into add_py_infer_deploy
…ate/PaddleScience into add_py_infer_deploy
deploy/python_infer/base.py
Outdated
onnx_path (Optional[str], optional): Path to the ONNX model file. Defaults to None. | ||
ir_optim (bool, optional): Whether to use IR optimization. Defaults to True. | ||
min_subgraph_size (int, optional): Minimum subgraph size for IR optimization. Defaults to 15. | ||
gpu_mem (int, optional): Maximum GPU memory(MB) to use. Defaults to 500(MB). |
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.
已根据官方文档进行更正
e756b15
to
1280136
Compare
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.
LGTM
* [Doc] Add pretrained model for laplace2d & refine comments (PaddlePaddle#639) * update laplace2d pretrained model * remove 'after finished training' comment in evaluate function * update README.md * add deploy module for aneurysm * update code * update aneurysm code * update code * update code * update code * update aneurysm document * update export and inference document * fix docstring
PR types
New features
PR changes
APIs
Describe