-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Dear python-ace developers,
I trained an ACE potential (output_potential.yaml) using the tensorpot backend and wanted to use the resulting potential with the ASE pyace calculator.
When plotting F_pred vs F_ref on my test dataset, I noticed that the resulting force MAE and RMSE differ significantly from those reported in log.txt during training.
To ensure this was not an issue in my own Python code, I performed a no-fit run using:
pacemaker input.yaml --no-fit --potential output_potential.yamlThe input.yaml file is identical to the one used during training, except:
- The backend is set to
pyaceinstead oftensorpot - The filenames are set to
fitting_data_info.pckl.gzipandtest_data_info.pckl.gzip(both generated during training)
This run gave me the same forces as my own ASE calculator, confirming consistency between them. However, a subset of forces predicted by pyace differs noticeably from those predicted by tensorpot.
I attached a minimal dataset for reproducing this issue:
output_potential.yaml– the trained potentialdifference_data.pckl.gzip– ASE Atoms, reference energies, forces, and positionsdifference_data_pred_tensorpot.pckl.gzip– predictions bytensorpotdifference_data_pred_pyace.pckl.gzip– predictions bypyaceinput.yaml– configuration file used- Two scatter plots of F_tensorpot vs F_pyace
I am using:
- python version: 3.10.13
- pacemaker/pyace version: 0.2.7+172.gd1c213a
- ace_evaluator version: 2023.11.25
The file:
example.tar.gz
Please let me know if additional information is needed to reproduce this issue.
Questions:
- Is this difference between
tensorpotandpyaceexpected, or does it indicate an issue? - Would it be better to train the potential directly with
backend=pyaceto avoid such inconsistencies? - If I run MD simulations with LAMMPS, is there any known issue regarding different force predictions?
Thank you very much for your help!
Best,
Sijia