This repository contains the implementation of GotenNet and the proposed modified architecture for molecular property prediction on the QM9 dataset.
conda env create -f environment.yml
conda activate env_egnnRecommended Python version: 3.12
pip install -r requirements.txtpython3 train.py \
--ver qm9 \
--seed $SEED \
--label $LABEL \
--title $TITLEExample:
python3 train.py \
--ver qm9 \
--seed 42 \
--label alpha \
--title gotennet_baselinepython3 train.py \
--ver qm9_my \
--seed $SEED \
--label $LABEL \
--title $TITLE \
--my_net TrueExample:
python3 train.py \
--ver qm9_my \
--seed 42 \
--label alpha \
--title gotennet_modified \
--my_net TrueTo evaluate a trained model, specify the corresponding experiment title:
python3 test.py --title $TITLEExample:
python3 test.py --title gotennet_modified| Argument | Description |
|---|---|
--ver |
Dataset/configuration version (qm9,qm9_s for the reproduced model, qm9_my for the modified model). |
--seed |
Random seed. |
--label |
Target property to predict (e.g., alpha, cv, homo, etc.). |
--title |
Experiment name used for saving checkpoints and logs. |
--my_net |
Enable the modified GotenNet architecture (True for the modified model). |
All checkpoints, logs, and prediction results are saved to the directories specified in configs/config.py.
Please modify the paths in this file if you would like to change the output locations.