williamleif / graphsage-simple

Simple reference implementation of GraphSAGE.
999 stars 242 forks source link

Change a typo num_samples -> num_sample so that make sampling work #14

Open TheaperDeng opened 5 years ago

TheaperDeng commented 5 years ago

In model.py there are two typos for each run_{} function.

    enc1.num_samples = 10
    enc2.num_samples = 25

should be changed to

    enc1.num_sample = 10
    enc2.num_sample = 25

because the encoder class has variable self.num_sample