ChandlerBang / GCond

[ICLR'22] [KDD'22] [IJCAI'24] Implementation of "Graph Condensation for Graph Neural Networks"
https://www.cs.emory.edu/~wjin30/files/GCond.pdf
109 stars 15 forks source link

The exp result reproduce of the whole dataset on Table 2 #4

Open gegemy opened 1 year ago

gegemy commented 1 year ago

Hi, I wonder how to produce the whole dataset's experiment results shown in Table 2. Does it directly run the whole graph (like Cora) on a model (if yes, does it run on GCN?), without any reduction rate? or set the reduction rate as 1?

ChandlerBang commented 1 year ago

Hi,

Sorry for the late reply. This is indeed included in the train_coreset.py file: https://github.com/ChandlerBang/GCond/blob/9f2032ce576f84ecdf077430367f5e33aa171c28/train_coreset.py#L61-L70

You may run train_coreset.py to get the result you want.

python train_coreset.py --dataset cora --r=0.01  --method=random
python train_coreset_induct.py --dataset flickr --r=0.01  --method=random