metadata
tags:
- chemistry
Description
VSCF MLFF is the code repository for the paper "Интерполяция ППЭ с помощью машинного обучения для ускорения расчётов негармонических частот колебаний молекул".
You can find here these files
compare_models.py-- script for comparing SchNet and DimeNetPlusPLus models for PES predictingtrain.py-- script for training the modelexample_plot.py-- script, which makes example plots by statistics emitted bytrain.pyfile with_metrics.pklsuffixexample_eval.py-- script, which evaluates model for the PES of water molecule, using model emittet bytrain.pyscript, and fills GAMESS-US input template with it.utils_data.pyandutils_model.py-- libraries with functions commonly used by scripts from this repository
Usage
compare_models.py
python compare_models.py <filename> <model>
filenametrajectory file emitted byxtbprogrammodelSchNetorDimeNet
train.py
python train.py [--normalize] [--pretrain] [--loss_k <float>] <loss_mode> <checkpoint_prefix> <data_filename>
normalize-- normalize the target (can only be used with loss_mode=mae)pretrain-- add pretraining stage in addition to the finetuing stageloss_k--kcoefficient for adaptive loss (can only be used for adaptive loss)loss_mode--maeoradaptivecheckpoint_prefix-- prefix for checkpoint filesdata_filename-- file name of the dataset of molecular VSCF grids
example_plot.py
python example_plot.py pickle_file
pickle_file-- path to the*_metrics.pklfile
example_dara.py
python example_plot.py [--denormalize] <model_filename> <data_filename>
denormalize-- denormalize the target (use if your model if trained with--normalize)model_filename-- path to the model checkpoint filedata_filename-- file name of the dataset of molecular VSCF grids