Skip to content

Commit ad00d6b

Browse files
committed
init commit
1 parent 733a14b commit ad00d6b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1262
-448
lines changed

.DS_Store

8 KB
Binary file not shown.

.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/MERIT.iml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+42-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,43 @@
11
# MERIT
2-
A PyTorch implementation of "Multi-Scale Contrastive Siamese Networks for Self-Supervised Graph Representation Learning"
2+
3+
<img src="./merit.png" width="200">
4+
5+
A PyTorch implementation of our IJCAI-21 paper [Multi-Scale Contrastive Siamese Networks for Self-Supervised Graph Representation Learning](https://arxiv.org/abs/2105.05682).
6+
7+
## Dependencies
8+
+ Python (>=3.6)
9+
+ PyTorch (>=1.7.1)
10+
+ NumPy (>=1.19.2)
11+
+ Scikit-Learn (>=0.24.1)
12+
+ Scipy (>=1.6.1)
13+
+ Networkx (>=2.5)
14+
15+
To install all dependencies:
16+
```
17+
pip install -r requirements.txt
18+
```
19+
20+
## Usage
21+
Here we provide the implementation of MERIT along with Cora and Citeseer dataset.
22+
23+
To train and evaluate on Cora:
24+
```
25+
python run_cora.py
26+
```
27+
28+
To train and evaluate on Citeseer:
29+
```
30+
python run_citeseer.py
31+
```
32+
33+
## Citation
34+
If you use our code in your research, please cite the following article:
35+
```
36+
@inproceedings{Jin2021MultiScaleCS,
37+
title={Multi-Scale Contrastive Siamese Networks for Self-Supervised Graph Representation Learning},
38+
author={Ming Jin and Yizhen Zheng and Yuan-Fang Li and Chen Gong and Chuan Zhou and Shirui Pan},
39+
booktitle={The 30th International Joint Conference on Artificial Intelligence (IJCAI)}
40+
year={2021}
41+
url={https://arxiv.org/abs/2105.05682}
42+
}
43+
```

data/.DS_Store

6 KB
Binary file not shown.

data/diff_citeseer_0.005.npy

-84.4 MB
Binary file not shown.

data/ind.cora.allx

251 KB
Binary file not shown.

data/ind.cora.ally

46.8 KB
Binary file not shown.

data/ind.cora.graph

58.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)