This repository provides a proof-of-concept implementation for the manuscript Discriminator-Driven Diffusion Mechanisms for Molecular Graph Generation.
You can run the main.ipynb on Google Colab following this URL.
You can run DSNN locally using main.ipynb. First, install Anaconda, then create an environment with the Python dependencies (tested on OS X):
conda env create -f environment.yml -n moldiffgan
conda activate moldiffgan
jupyter lab
Then just run the notebook from start to finish.
Install docker and then:
docker pull gerritgr/moleculediffusiongan:latest
docker run -p 8888:8888 gerritgr/moleculediffusiongan:latest
Next:
- Manually copy the URL to your browser (if other instances of jupyter lab are running, this can lead to problems).
- Navigate to the notebook
- Activate the moldiffgan kernel (Kernel -> Change Kernel -> select moldiffgan).
- Run main.ipynb from start to finish.