weihua916 / powerful-gnns

How Powerful are Graph Neural Networks?
MIT License
1.16k stars 223 forks source link

Incorrect reference to updated row length when meant to compare old row length #3

Open Caixin89 opened 5 years ago

Caixin89 commented 5 years ago

In line 66 of util.py, if tmp > len(row):, I think the intention is to compare tmp against the length of the row just after reading a line of the data file.

However, in line 60, row is updated to be a subarray of length tmp. This is the else clause of tmp == len(row).

This means line 66 will never be satisfied.

weihua916 commented 3 years ago

Thanks. We adopted code and raw data from this repo: https://github.com/muhanzhang/pytorch_DGCNN Specifically, load_data is from here

weihua916 commented 3 years ago

Now all the datasets are conveniently provided here.