You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [Build DeePMD-kit with GPU support](#build-deepmd-kit-with-gpu-support)
20
20
-[Use DeePMD-kit](#use-deepmd-kit)
21
21
- [Prepare data](#prepare-data)
@@ -323,7 +323,11 @@ $ cat force.raw
323
323
```
324
324
This `force.raw` contains 3 frames with each frame having the forces of 2 atoms, thus it has 3 lines and 6 columns. Each line provides all the 3 force components of 2 atoms in 1 frame. The first three numbers are the 3 force components of the first atom, while the second three numbers are the 3 force components of the second atom. The coordinate file `coord.raw` is organized similarly. In `box.raw`, the 9 components of the box vectors should be provided on each line. In `virial.raw`, the 9 components of the virial tensor should be provided on each line. The number of lines of all raw files should be identical.
325
325
326
-
We assume that the atom types do not change in all frames. It is provided by `type.raw`, which has one line with the types of atoms written one by one. The atom types should be integers.
326
+
We assume that the atom types do not change in all frames. It is provided by `type.raw`, which has one line with the types of atoms written one by one. The atom types should be integers. For example the `tyep.raw` of a system that has 2 atoms with 0 and 1:
327
+
```bash
328
+
$ cat type.raw
329
+
0 1
330
+
```
327
331
328
332
The second format is the data sets of `numpy` binary data that are directly used by the training program. User can use the script `$deepmd_source_dir/data/raw/raw_to_set.sh` to convert the prepared raw files to data sets. For example, if we have a raw file that contains 6000 frames,
0 commit comments