Skip to content

Conversation

@ADream-ki
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

添加回归模型案例

ADream-ki and others added 7 commits October 7, 2025 23:28
…N, VarOGN, and HGN architectures. Add simulation dataset generation and configuration files. Remove outdated symbolic GCN files.
@paddle-bot
Copy link

paddle-bot bot commented Dec 5, 2025

Thanks for your contribution!

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.

  1. 向index.md、README.md、mkdocs.yaml三个文件中,添加案例链接,这样文档才能被索引和展示
  2. 提交代码前请安装pre-commit,并且格式化你提交的文件(至少目前看来都是没经过格式化的)

@@ -0,0 +1,833 @@
# Graph Networks for Physics Discovery (GN)

<a href="https://aistudio.baidu.com/projectdetail/9557878" class="md-button md-button--primary" style>AI Studio快速体验</a>
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个项目有吗?好像是未公开的

raw_target_data = sim_dataset.get_derivative() # [v, a] for HGN
else:
raw_target_data = sim_dataset.get_acceleration() # Acceleration for OGN/VarOGN
Copy link
Collaborator

Choose a reason for hiding this comment

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

文档里的代码块可以直接从py文件里引用,不需要复制过来,参考其他文档改下吧

Comment on lines 29 to 30


Copy link
Collaborator

Choose a reason for hiding this comment

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

连续的空行保留一个即可

from ppsci.arch.physx_transformer import PhysformerGPT2 # isort:skip
from ppsci.arch.sfnonet import SFNONet # isort:skip
from ppsci.arch.spinn import SPINN # isort:skip
from ppsci.arch.symbolic_gn import OGN, VarOGN, HGN, get_edge_index # isort:skip
Copy link
Collaborator

Choose a reason for hiding this comment

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

get_edge_index 不需要在这里导入,这里仅导入模型类

"ExtFormerMoECuboid",
"FNO1d",
"Generator",
"get_edge_index",
Copy link
Collaborator

Choose a reason for hiding this comment

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

删除

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.

4 participants