Skip to content

AndyJZhao/HGSL

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

HGSL

Source code of AAAI submission "Heterogeneous Graph Structure Learning for Graph Neural Networks"

Requirements

Python Packages

  • Python >= 3.6.8
  • Pytorch >= 1.3.0

GPU Memmory Requirements

  • ACM >= 8G
  • DBLP >=5G
  • Yelp >=3G

Usage

Take DBLP dataset as an example: python train.py --dataset='dblp'

FAQ

Code of preprocessing data?

Please kindly note that the data is originally preprocessed by the GTN project (https://github.com/seongjunyun/Graph_Transformer_Networks).

I received quite a lot emails asking me about the dataset. I will not respond to them anymore as I cannot provide the code.

How to generate semantic embeddings?

The semantic embeddings, i.e. $\mathcal{Z}$ in the paper, are generated by metapath2vec algorithm. Users may refer to https://github.com/dmlc/dgl/tree/master/examples/pytorch/metapath2vec for an implementation.

About

Source code of AAAI21-Heterogeneous Graph Structure Learning for Graph Neural Networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages