-
Notifications
You must be signed in to change notification settings - Fork 193
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
【PPSCI Export&Infer No.14】add export and inference function for deepcfd #994
Conversation
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.
感谢提交PR,代码有几处修改建议,然后deepcfd的文档麻烦也补充一下模型导出和推理的命令,参考:
PaddleScience/docs/zh/examples/allen_cahn.md
Lines 24 to 40 in bddc575
=== "模型导出命令" | |
``` sh | |
python allen_cahn_piratenet.py mode=export | |
``` | |
=== "模型推理命令" | |
``` sh | |
# linux | |
wget -nc https://paddle-org.bj.bcebos.com/paddlescience/datasets/AllenCahn/allen_cahn.mat -P ./dataset/ | |
# windows | |
# curl https://paddle-org.bj.bcebos.com/paddlescience/datasets/AllenCahn/allen_cahn.mat --create-dirs -o ./dataset/allen_cahn.mat | |
python allen_cahn_piratenet.py mode=infer | |
``` | |
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
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
PR types
Others
PR changes
Others
Describe
为deepcfd案例添加了导出和推理功能