README.md 607 字节
Newer Older
Y
yelrose 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
# Graph Link Prediction for Open Graph Benchmark (OGB) PPA dataset

[The Open Graph Benchmark (OGB)](https://ogb.stanford.edu/) is a collection of benchmark datasets, data loaders, and evaluators for graph machine learning. Here we complete the Graph Link Prediction task based on PGL.


### Requirements

paddlpaddle >= 1.7.1
pgl 1.0.2
ogb

### How to Run

Y
yelrose 已提交
14
```
Y
yelrose 已提交
15
CUDA_VISIBLE_DEVICES=0,1,2,3 python train.py --use_cuda 1  --num_workers 4 --output_path ./output/model_1 --batch_size 65536 --epoch 1000 --learning_rate 0.005  --hidden_size 256 
Y
yelrose 已提交
16
```
H
Huang Zhengjie 已提交
17 18

The best record will be saved in ./output/model_1/best.txt.