Giter Site home page Giter Site logo

r-gsn's Introduction

R-GSN: The Relation-based Graph Similar Network for Heterogeneous Graph

This is the code for paper

1. Environments

Ubuntu16.04 + NVIDIA-1080TI
Anaconda + python 3.7

numpy==1.19.4
scipy==1.5.4
ogb==1.2.3
texttable==1.6.3
torch==1.6.0+cu101
torchvision==0.7.0+cu101
torch-cluster==1.5.8
torch-geometric==1.6.1
torch-scatter==2.0.5
torch-sparse==0.6.8
torch-spline-conv==1.2.0

2. Usage

run R-GSN

python rgsn.py --device $Device --conv_name "rgsn"\
--test_batch_size 64  \
--Norm4 True \
--FDFT  True \
--use_attack True 

run baseline R-GCN

python rgsn.py --device $Device --conv_name "rgcn"

3. Results

model params valid test
R-GCN 154,366,772 47.61±0.68 46.78±0.67
R-GSN 154,373,028 51.82±0.41 50.32±0.37

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.