Skip to content

How to restart a LMPOTF run? #408

Answered by anjohan
bastonero asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Lorenzo,

Thank you for trying out the LMPOTF functionality! Sorry for the late reply.

In theory, the JSON approach should work and be the fastest, but I have no experience with the JSON I/O.

A simpler, more reliable approach is to just retrain on the existing training data (assuming this does not take too long). In your Python script, you can pretrain the GP with code along the lines of

from flare.learners.lmpotf import LMPOTF, transform_stress

...

type2number = [28,22]
single_atom_energies = np.array([-10.8,-10.1])

...

lmpotf = LMPOTF(sparse_gp, ...)

number2type = {t:i for i,t in enumerate(type2number)}

frames = ase.io.read(fname, index=":")
for i, frame in enumerate(frames):
    

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
@bastonero
Comment options

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