Pytorch implement of the article Combining graph neural networks and classical kernels for graph generation.
This library refers to the source code https://github.com/yongqyu/MolGAN-pytorch
- python>=3.5
- pytroch>=1.10.0 https://pytorch.org
- rdkit https://www.rdkit.org/
- numpy
- sklearn
Before running:
- Enter the data folder and run download_dataset.sh or extract the files at gdb9.tar.gz in the data folder
- From the data folder run:
python sparse_molecular_dataset.py
python main.py --name runname
Will result with the run's logs at /results/runname/logs.txt
Samples at /results/runname/fake_samples
Models at /results/runname/models
For information about the hyper parameters run:
python main.py --help
You can also view this instructions.
To recreate the experiments described in this article view this instructions.