Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

SchNetKernel

Prerequisites:

Steps:

  1. (PyTorch) Train a SchNet representation on an MD17 data set. Example:
spktrain experiment=md17 model/representation=schnet data.molecule=ethanol
  1. (PyTorch) Precompute features and Jacobians for the train and validation set. For this, replace the MODELDIR placeholder with the path to the pretrained model and then run
python precompute_jacobians.py --molecule ethanol --modeldir MODELDIR
  1. (JAX) Fit the force field kernel to forces. Replace the JACS_TRAIN and JACS_TEST placeholders with the respective paths to the precomputed Jacobians.
python train_schnetkernel.py --lengthscale 256 --jacs_train JACS_TRAIN --jacs_test JACS_TEST