Skip to content

This repository implements Spatial Graph Attention Network (sGAT), a graph deep learning model that embeds node and edge attributes as well as spatial structures for prediction tasks.

License

Notifications You must be signed in to change notification settings

yulun-rayn/sGAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spatial Graph Attention

This repository is the official implementation of Spatial Graph Attention Network (sGAT) within the paper Spatial Graph Attention and Curiosity-driven Policy for Antiviral Drug Discovery. Our policy networks built upon sGAT can be found here.

Installation

1. Create Conda Environment

conda config --append channels conda-forge
conda create -n sgat-env --file requirements.txt
conda activate sgat-env

2. Install Learning Libraries

  * make sure to install the right versions for your toolkit

Run

Once the environment is set up, the function call to train & evaluate sGAT is:

./main.sh &

A list of flags may be found in main.sh and main.py for experimentation with different network parameters. The run log and models are saved under *artifact_path*/saves, and the tensorboard log is saved under *artifact_path*/runs.

Pre-trained Models

A trained sGAT model on a sub-dataset of molecules and scores for docking in the catalytic site of NSP15 can be found here.

License

Contributions are welcome! All content here is licensed under the MIT license.

About

This repository implements Spatial Graph Attention Network (sGAT), a graph deep learning model that embeds node and edge attributes as well as spatial structures for prediction tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published