【Hackathon 10th Spring No.9】NewtonNet模型复现#272
Open
r-cloudforge wants to merge 6 commits intoPaddlePaddle:developfrom
Open
【Hackathon 10th Spring No.9】NewtonNet模型复现#272r-cloudforge wants to merge 6 commits intoPaddlePaddle:developfrom
r-cloudforge wants to merge 6 commits intoPaddlePaddle:developfrom
Conversation
Implement Newtonian message passing network for molecular energy/force prediction. Includes RadialBessel, InteractionNet, EnergyOutput, and 8 unit tests using water molecule fixture. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
cloudforge1 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
Thanks for your contribution! |
- Add force computation as negative energy gradient in _forward() - Add force loss with configurable weight (default 100.0) - Add force prediction in predict() method - Fix PBC backward crash by detaching scaled coords before round() - Add 3 force-related tests (shape, consistency, loss) - Update config with force_loss_weight parameter Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
通过迁移 https://github.com/THGLab/NewtonNet 项目实现 NewtonNet 的PaddlePaddle版本复现。
主要改动
ppmat/models/newtonnet/模型目录 — 完整的NewtonNet等变力场模型实现interatomic_potentials/configs/newtonnet/训练配置test/newtonnet/测试代码 — 8个单元测试,覆盖能量预测、力计算、等变性验证模型特性
forward(data)→{"loss_dict", "pred_dict"}ppmat/models/__init__.py测试
与现有PR #262的区别
本PR完全集成到PaddleMaterials框架中:
ppmat/models/标准目录结构build_model(cfg)工厂函数构建参考链接