deepmodeling / deepmodeling/dpdata

Using the DP model to predict the energy of each frame structure in the LAMMPS trajectory

Open
#609 1 comment 0 reactions 0 assignees View on GitHub
enhancement lammps
Dominant language
Python
Stars
254
Forks
158
Avg merge
4d 1h
Merged PRs (30d)
2

Description

### Summary

I now have a lambps trajectory that contains many structures, but these structures are not the original lambps trajectory structure, but some extracted molecular clusters. Therefore, the number of atoms or types of elements in each frame may be different, but overall they are several elements contained in the original trajectory. But for this manually spliced lambps trajectory, the model's predicted code will report an error. One method is for me to extract each molecular cluster into a separate lambps trajectory, write a script to read each file, and achieve energy prediction, but the efficiency is too slow because I have tens of thousands of molecular cluster structures.

### DeePMD-kit Version

2.1.5

### TensorFlow Version

2.8.0

### Python Version, CUDA Version, GCC Version, LAMMPS Version, etc

_No response_

### Details

![1091706144749_ pic](https://github.com/deepmodeling/deepmd-kit/assets/122335090/a19f92c8-cc51-45c4-ab16-a98a83126937)
![1101706144789_ pic](https://github.com/deepmodeling/deepmd-kit/assets/122335090/05a1dc55-8243-4dc2-a7a5-e02d35b0d750)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.