Welcome to mlcg’s documentation!

This is the base code to create models such as the ones described in [TransCGSchnet] and [CGSchnet].

Docs badge License

This repository collects a set of tools to apply machine learning techniques to coarse grain atomic systems.

Installation

The dependencies are defined in requirements.txt but some packages are not well handled by pip. So start by installing pytorch and pytorch-geometric with conda, e.g.:

conda install pytorch cudatoolkit=11.3 -c pytorch
conda install pyg -c pyg -c conda-forge

Support for the MACE model can be enabled with:

pip install git+https://github.com/felixmusil/mace.git@develop

Support for the TorchMD-Net models can be enabled with:

pip install git+https://github.com/felixmusil/torchmd-net.git

CLI

The models defined in this library can be convinietly trained using the pytorch-lightning CLI utilities.

Examples

Please take a look into the examples folder to see how to use this code to train a model over an existing dataset.

Contents

Indices and tables