Replies: 1 comment 2 replies
-
Hi @tjgiese , Can you retry this test training a new model with the very latest You can also use (and or slightly modify) the Regarding the single isolated atom, the easiest test is probably just to use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed the Si tutorial https://colab.research.google.com/drive/1yq2UwnET4loJYg_Fptt9kpklVaZvoHnq#scrollTo=bsF-uTLjhxoy to generate si-deployed.pth. However, I cannot get allegro to produce a result when the system consists of a single Si atom. It also fails when the system consists of 2 Si atoms separated by a distance larger than r_max. Based on equations 5 and 6 in https://doi.org/10.1038/s41467-023-36329-y I would expect a single atom to return the value of the atomic shift parameter. Similarly, I would expect a well-separated dimer to return the sum of atomic shift parameters. It doesn't seem possible to calculate relative energies using the supermolecular approach [dE(AB)=E(AB)-E(A)-E(B)] when one of the monomers is an atomic ion, for example. I attached a small python script that reads a TorchScript model prepared with nequip-deploy and an ASE extended XYZ file. The script evaluates the model with each structure and outputs a new xyz file with the MLP energies and forces. I also attached the error message I receive when I run it on a system containing a single atom. (The script merely follows what pair_allegro.cpp does -- although I ignore PBCs).
ERR.txt
run_nequip.py.txt
Beta Was this translation helpful? Give feedback.
All reactions