-
Notifications
You must be signed in to change notification settings - Fork 204
[Example] Moflow代码paddlescience复现 #962
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
Conversation
Thanks for your contribution! |
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.
辛苦再修改一下
hidden: '16' -> 16
hidden: '16' ->16, 直接赋值
repair create_parameter
python -c "import ppsci; ppsci.utils.run_check()" 检查 会提示rdkit未安装 简易修改一下 |
这个需要修改moflow_dataset的,得重新写一下这个文件了,里面有针对化学分子单独处理 |
特殊依赖包rdkit的处理,在try中导入
我这里使用paddle2.6.1版本测试,这里有语法报错 |
这个错误我刚修复了,用新的修改的moflow_basic.py文件 |
使用新的代码,train的时候有新的错误: |
|
|
loss return by Dict
辛苦在文档里标注说明一下 |
@niushao12 签署一下CLA协议 |
|
Co-authored-by: HydrogenSulfate <490868991@qq.com>
Co-authored-by: HydrogenSulfate <490868991@qq.com>
我这里使用原先的预训练模型进行评估是没有问题的。 建议在docs/zh/examples/moflow.md文件里,添加模型推理评估命令的四种模式的说明(Reconstruct/Random/Inter2point/Intergrid),以及在该文档里添加好两个数据集QM9和Zinc250k各自对应的预训练模型,以及优化后的模型。另外想问一下,优化后产生的qed模型,在推理阶段中的哪些模式是可以使用的?这部分的解释说明也可以添加在moflow.md里。@niushao12 |
添加模型推理评估命令的四种模式的说明,优化后产生的模型和使用说明
说明已经在docs/zh/examples/moflow.md中添加,参数文件中也添加了,优化模型除了qed模型,还有plogp模型,也增加了相关说明,首次运行优化程序的产生qed模型或者plogp模型,在第二次运行的时候将对优化后的模型进行评估。即在优化模型训练完成之后再运行优化程序的时候使用。 |
![]() |
qed模型和plogp模型不是运行test_generate.py的时候用的,是在运行
optimize_moflow.pyoptimize_moflow.py
这个还是模型报错的,预训练模型我这边修改不了,optimize_moflow.py运行的时候会对预训练模型进行优化,选择qed和plogp模式就行,第二次运行optimize_moflow.py就能加载优化后的模型,我这边不建议在上传优化模型了,优化模型不到五分钟就优化训练完成了,没有必要再上传吧,之前上传的我建议删除了,这样保证都是预训练模型不会出现模型混用的报错。 |
根据增加的模型修改运行的命令和说明
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
hi, @niushao12
|
PR types
PR changes
Describe