Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/use-deepmd-kit.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ An example of `training` is
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"profiling": false,
Expand Down Expand Up @@ -189,7 +189,7 @@ During the training, the error of the model is tested every **`disp_freq`** batc
```
The first column displays the number of batches. The second and third columns display the loss function evaluated by `numb_test` frames randomly chosen from the test set and that evaluated by the current training batch, respectively. The fourth and fifth columns display the RMS energy error (normalized by number of atoms) evaluated by `numb_test` frames randomly chosen from the test set and that evaluated by the current training batch, respectively. The sixth and seventh columns display the RMS force error (component-wise) evaluated by `numb_test` frames randomly chosen from the test set and that evaluated by the current training batch, respectively. The last column displays the current learning rate.

Checkpoints will be written to files with prefix **`save_ckpt`** every **`save_freq`** batches. If **`restart`** is set to `true`, then the training will start from the checkpoint named **`load_ckpt`**, rather than from scratch.
Checkpoints will be written to files with prefix **`save_ckpt`** every **`save_freq`** batches.

Several command line options can be passed to `dp train`, which can be checked with
```bash
Expand Down
2 changes: 1 addition & 1 deletion examples/fparam/train/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"profiling": false,
Expand Down
2 changes: 1 addition & 1 deletion examples/fparam/train/input_aparam.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"profiling": false,
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/polar.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"_comment": "that's all"
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/polar_se_a.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"_comment": "that's all"
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/wannier.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"_comment": "that's all"
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/water.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"_comment": "that's all"
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/water_se_a.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"profiling": false,
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/water_se_ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"profiling": false,
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/water_se_r.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"profiling": false,
Expand Down
2 changes: 1 addition & 1 deletion examples/water/train/water_srtab_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"numb_test": 10,
"save_freq": 1000,
"save_ckpt": "model.ckpt",
"load_ckpt": "model.ckpt",

"disp_training":true,
"time_training":true,
"_comment": "that's all"
Expand Down