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

Num_features is 0 for PROTEINS dataset #23

Open
zhang677 opened this issue Dec 5, 2022 · 2 comments
Open

Num_features is 0 for PROTEINS dataset #23

zhang677 opened this issue Dec 5, 2022 · 2 comments

Comments

@zhang677
Copy link

zhang677 commented Dec 5, 2022

Hi all, I followed the installation process and can run the 1-2-3-qm9.py. However, I met the dataset problem when I ran the 1-2-3-proteins.py. I print the dataset.data:

Data(edge_index=[2, 156166], x=[41859, 0], y=[1109], edge_index_2=[2, 11326562], assignment_index_2=[2, 3116620], iso_type_2=[1558310, 12], edge_index_3=[2, 531644], assignment_index_3=[2, 540045], iso_type_3=[180015, 20])

It seems that the input x's shape is not correct, which causes the dataset.num_features to be 0. The code also printed that it downloaded the dataset from https://www.chrsmrrs.com/graphkerneldatasets/PROTEINS.zip. Is there any solution for this problem? Thank you!

@rusty1s
Copy link
Collaborator

rusty1s commented Dec 5, 2022

Can you upgrade to PyG 2.2 and remove the pre-processed PROTEINS dataset? This should have been fixed already.

@zhang677
Copy link
Author

zhang677 commented Dec 5, 2022

Can you upgrade to PyG 2.2 and remove the pre-processed PROTEINS dataset? This should have been fixed already.

Thanks a lot! It correctly runs now :)

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