Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 908 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 908 Bytes

Fitting Autoregressive Graph Generative Models through Maximum Likelihood Estimation

This repository contains PyTorch implementation of the submission of jmlr: Fitting Autoregressive Graph Generative Models through Maximum Likelihood Estimation

This is a minimum working version of the code used for the paper.

0. Environment Setup

enviroment setup

pip install -r requirements.txt

Run build.sh script in the project's root directory for MMD computation.

./build.sh

1. Training

To list the arguments, run the following command:

python main.py -h

To train the model on datasets with Rout and DAGG, run the following:

python main.py -dataset caveman_small

2.Evaluation

To evaluate the generated graph, run the following:

python main.py -task evaluate -load_model_path 'saved_model_path'