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

【PPSCI Export&Infer No.14】add export and inference function for deepcfd #994

Merged
merged 9 commits into from
Sep 26, 2024

Conversation

GoldenStain
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

为deepcfd案例添加了导出和推理功能

@GoldenStain GoldenStain changed the title 【PPSCI Export&Infer No.14】deepcfd 【PPSCI Export&Infer No.14】add export and inference function for deepcfd Sep 26, 2024
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Sep 26, 2024
Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

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

感谢提交PR,代码有几处修改建议,然后deepcfd的文档麻烦也补充一下模型导出和推理的命令,参考:

=== "模型导出命令"
``` 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
```

Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

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

LGTM

@HydrogenSulfate HydrogenSulfate merged commit 755754b into PaddlePaddle:develop Sep 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants