Shen-Lab / GraphCL

[NeurIPS 2020] "Graph Contrastive Learning with Augmentations" by Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, Yang Shen
MIT License
548 stars 103 forks source link

File "/home/test02/code/GraphCL-master/semisupervised_TU/pre-training/feature_expansion.py", line 27, in __init__ super(FeatureExpander, self).__init__('add', 'source_to_target') TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given #69

Open oner0916 opened 8 months ago

oner0916 commented 8 months ago

File "/home/test02/code/GraphCL-master/semisupervised_TU/pre-training/feature_expansion.py", line 27, in init super(FeatureExpander, self).init('add', 'source_to_target') TypeError: init() takes from 1 to 2 positional arguments but 3 were given

yyou1996 commented 8 months ago

I suppose this would result from the PYG version. Please check https://github.com/Shen-Lab/GraphCL/tree/master/semisupervised_TU#dependencies.