Skip to content

MD22 MD17 train and test data split #624

Answered by ilyes319
jhmlam asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

You can just run the following script that will select randomly 5% of the set for validation and 95% for training as detailed in the appendix of the paper. Make sure to convert the units from kcal/mol to eV before training for both energies and forces.

python <mace_repo_dir>/mace/cli/run_train.py \
    --name="nanotube_large_r55" \
    --train_file="md22_double-walled_nanotube.xyz" \
    --valid_fraction=0.05 \
    --test_file="md22_double-walled_nanotube.xyz" \
    --E0s="average" \
    --model="MACE" \
    --num_interactions=2 \
    --num_channels=256 \
    --max_L=2 \
    --correlation=3 \
    --r_max=5.0 \
    --forces_weight=1000 \
    --energy_weight=10 \
    --batch_size=2 \…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jhmlam
Comment options

Answer selected by ilyes319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #623 on October 04, 2024 13:00.