FastGCN
FastGCN copied to clipboard
where is Reddit dataset?
mldl@ub1604:~/ub16_prj/FastGCN$ python train_batch_multiRank_inductive_reddit_Mixlayers_sampleA.py
Traceback (most recent call last):
File "train_batch_multiRank_inductive_reddit_Mixlayers_sampleA.py", line 386, in
Please check the new uploaded file "transformRedditGraph2NPZ.py"
ub16hp@UB16HP:~/ub16_prj/FastGCN$ python transformRedditGraph2NPZ.py
Traceback (most recent call last):
File "transformRedditGraph2NPZ.py", line 69, in
ub16hp@UB16HP:/ub16_prj/FastGCN$ python transformRedditGraph2NPZ.py 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']] KeyError: 'val' ub16hp@UB16HP:/ub16_prj/FastGCN$
Same Problem !
ub16hp@UB16HP:/ub16_prj/FastGCN$ python transformRedditGraph2NPZ.py 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']] KeyError: 'val' ub16hp@UB16HP:/ub16_prj/FastGCN$
i calculate the node have "val" and not have in the G init by reddit-G.json the conclusion is : Counter({1: 231443, 0: 231443})
Please check the new uploaded file "transformRedditGraph2NPZ.py"
Is is appropriate to remove node without "val" attribute from graph directly ?
Guys, I think the problem is caused by different versions of networkx. You need nextworkx<=1.11.
Also, probably useful to add that it works on tensorflow 1.8.0