Skip to content
프로젝트

소개

위치 인식 그래프 신경망

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Position-aware Graph Neural Networks

This repository is the official PyTorch implementation of "Position-aware Graph Neural Networks".

Jiaxuan You, Rex Ying, Jure Leskovec, Position-aware Graph Neural Networks, ICML 2019 (long oral).

Installation

  • Install PyTorch (tested on 1.0.0), please refer to the offical website for further details
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
  • Install PyTorch Geometric (tested on 1.1.2), please refer to the offical website for further details
pip install --verbose --no-cache-dir torch-scatter
pip install --verbose --no-cache-dir torch-sparse
pip install --verbose --no-cache-dir torch-cluster
pip install --verbose --no-cache-dir torch-spline-conv (optional)
pip install torch-geometric
  • Install networkx (tested on 2.3), make sure you are not using networkx 1.x version!
pip install networkx
  • Install tensorboardx
pip install tensorboardX
  • If you wish to use PPI dataset, unzip data/ppi.zip

Run

  • 3-layer GCN, grid
python main.py --model GCN --layer_num 3 --dataset grid
  • 2-layer P-GNN, grid
python main.py --model PGNN --layer_num 2 --dataset grid
  • 2-layer P-GNN, grid, with 2-hop shortest path distance
python main.py --model GCN --layer_num 2 --approximate 2 --dataset grid
  • 3-layer GCN, all datasets
python main.py --model GCN --layer_num 3 --dataset All
  • 2-layer PGNN, all datasets
python main.py --model PGNN --layer_num 2 --dataset All

You are highly encouraged to tune all kinds of hyper-parameters to get better performance. We only did very limited hyper-parameter tuning.

We recommend using tensorboard to monitor the training process. To do this, you may run

tensorboard --logdir runs

관련 프로젝트 살펴보기

불러오는 중…