kiibo382 / AD-MDMGCL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ADversarial Multi-Dimentional Molecular Graph Contrastive Learning (AD-MDMGCL)

Prerequisites

Setup

git clone https://github.com/kiibo382/AD-MDMGCL
conda install -c conda-forge mamba
!mamba env create -f environment.yml > /dev/null 2>&1
conda activate AD-MDMGCL

Pre-train a model

python train.py --config=configs/pre-train_QM9.yml

You can monitor the pre-training process on tensorboard.

tensorboard --logdir=runs --port=6006

Fine-tune a model

python train.py --config=configs/tune_QM9_homo.yml

Acknowledgements

About

License:MIT License


Languages

Language:Python 98.9%Language:Jupyter Notebook 1.1%