You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download the reddit data from snap and unzip it, and run
python transformRedditGraph2NPZ.py
Then it shows the following error message.
Traceback (most recent call last):
File "transformRedditGraph2NPZ.py", line 69, in
transferRedditDataFormat("reddit","reddit.npz")
File "transformRedditGraph2NPZ.py", line 46, in transferRedditDataFormat
train_ids = [n for n in G.nodes() if not G.node[n]['val'] and not G.node[n]['test']]
File "transformRedditGraph2NPZ.py", line 46, in
train_ids = [n for n in G.nodes() if not G.node[n]['val'] and not G.node[n]['test']]
KeyError: 'val'
Is there a bug? Or is it because of other issues? Thanks.
The text was updated successfully, but these errors were encountered:
I download the reddit data from snap and unzip it, and run
Then it shows the following error message.
Is there a bug? Or is it because of other issues? Thanks.
The text was updated successfully, but these errors were encountered: