lrjconan/GRAN
关于
基于图循环注意力网络的高效图生成;图的深度生成模型;图神经网络。NeurIPS 2019
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GRAN
This is the official PyTorch implementation of Efficient Graph Generation with Graph Recurrent Attention Networks as described in the following NeurIPS 2019 paper:
@inproceedings{liao2019gran,
title={Efficient Graph Generation with Graph Recurrent Attention Networks},
author={Liao, Renjie and Li, Yujia and Song, Yang and Wang, Shenlong and Nash, Charlie and Hamilton, William L. and Duvenaud, David and Urtasun, Raquel and Zemel, Richard},
booktitle={NeurIPS},
year={2019}
}
Visualization
Generation of GRAN per step:

Overall generation process:

Dependencies
Python 3, PyTorch(1.2.0)
Other dependencies can be installed via
pip install -r requirements.txt
Run Demos
Train
To run the training of experiment
XwhereXis one of {gran_grid,gran_DD,gran_DB,gran_lobster}:python run_exp.py -c config/X.yaml
Note:
- Please check the folder
configfor a full list of configuration yaml files. - Most hyperparameters in the configuration yaml file are self-explanatory.
Test
After training, you can specify the
test_modelfield of the configuration yaml file with the path of your best model snapshot, e.g.,test_model: exp/gran_grid/xxx/model_snapshot_best.pthTo run the test of experiments
X:python run_exp.py -c config/X.yaml -t
Note:
- Please check the evaluation to set up.
Trained Models
You could use our trained model for comparisons. Please make sure you are using the same split of the dataset. Running the following script will download the trained model:
./download_model.sh
Sampled Graphs from GRAN
Proteins Graphs from Training Set:

Proteins Graphs Sampled from GRAN:

Cite
Please cite our paper if you use this code in your research work.
Questions/Bugs
Please submit a Github issue or contact [email protected] if you have any questions or find any bugs.
探索相关项目
加载中…