(Pre)Train AtomLenz

November 21, 2024 ยท View on GitHub

This is the pretraining step of AtomLenz on synthetically generated data with localization labels. The pretrained models (following these steps) are made available here:

Download synthetically generated datasets

In order to pretrain the different (atom-level) object detection backbones of AtomLenz, datasets were synthetically generated and are made available here:

Install ProbKT

As (part of) the training of AtomLenz is based on ProbKT, we refer you to the installation instructions of ProbKT here: https://github.com/molden/ProbKT .

Configuration

Once ProbKT is installed, the downloaded datasets need to be copied (and extracted) to the generate_data folder of ProbKT.

Run first training round (pretraining)

For the pretraining of the RCNN object detection models of AtomLenz the following command needs to be executed for each dataset (atoms/bonds/charges/stereo-centers):

python robust_detection/train/train_rcnn.py --data_path path_to_datasetfolder_inside_generated_data

Run second training round

The second traing round is descriped here: train atomlenz