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

Error when preprocessing wikipedia and reddit csv files for node classification #3

Open
Iris-Zhang826 opened this issue Jun 22, 2023 · 1 comment

Comments

@Iris-Zhang826
Copy link

Hi, I got the following error message when running preprocess.py for wikipedia.csv.

d14a64fe3623e19c56d1e2ca19b1af8

And I checked that the generated graphz.npz is empty.

Same error when preprocessing the reddit.csv.

I tried but not able to fix this. Could you please help to check. Thanks in advance!

@CongWeilin
Copy link
Owner

Hi, this seems slices_links_remap might be a multi-dimensional array according to https://stackoverflow.com/questions/4674473/valueerror-setting-an-array-element-with-a-sequence.

Could you please print variable slices_links_remap to see if this is the case?

If slices_links_remap is a list, you could try to save it via pickle. This might due to a python + numpy version issue.

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