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

prepare_moleculenet.py文件不能正常运行 #1

Open
kanohola opened this issue Nov 13, 2024 · 1 comment
Open

prepare_moleculenet.py文件不能正常运行 #1

kanohola opened this issue Nov 13, 2024 · 1 comment

Comments

@kanohola
Copy link

运行prepare_moleculenet.py后在tox21、hiv等文件夹下的train、val、test里均无训练文件生成,所有的正常的SMILES式被认为是非正常SMILES式

@xiangwenkai
Copy link
Owner

The issue is mainly due to a version problem with torch_geometric. In the prepare_moleculenet.py file, line 331, "self.data.keys" should be changed to "self.data.keys()". Here, self.data is in the torch_geometric data format, and the new versions of torch_geometric , such as 2.6.1, have changed the way this method is called. Anyway, please try the updated code. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants