Skip to content

Commit c9fb8f4

Browse files
amcadmusHan Wang
andauthored
rm load_ckpt (#936)
* rm load_ckpt * rm wrong files Co-authored-by: Han Wang <[email protected]>
1 parent d7e7dbb commit c9fb8f4

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

doc/use-deepmd-kit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ An example of `training` is
156156
"numb_test": 10,
157157
"save_freq": 1000,
158158
"save_ckpt": "model.ckpt",
159-
"load_ckpt": "model.ckpt",
159+
160160
"disp_training":true,
161161
"time_training":true,
162162
"profiling": false,
@@ -189,7 +189,7 @@ During the training, the error of the model is tested every **`disp_freq`** batc
189189
```
190190
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.
191191

192-
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.
192+
Checkpoints will be written to files with prefix **`save_ckpt`** every **`save_freq`** batches.
193193

194194
Several command line options can be passed to `dp train`, which can be checked with
195195
```bash

examples/fparam/train/input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"numb_test": 10,
5252
"save_freq": 1000,
5353
"save_ckpt": "model.ckpt",
54-
"load_ckpt": "model.ckpt",
54+
5555
"disp_training":true,
5656
"time_training":true,
5757
"profiling": false,

examples/fparam/train/input_aparam.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"numb_test": 10,
5252
"save_freq": 1000,
5353
"save_ckpt": "model.ckpt",
54-
"load_ckpt": "model.ckpt",
54+
5555
"disp_training":true,
5656
"time_training":true,
5757
"profiling": false,

examples/water/train/polar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"numb_test": 10,
5454
"save_freq": 1000,
5555
"save_ckpt": "model.ckpt",
56-
"load_ckpt": "model.ckpt",
56+
5757
"disp_training":true,
5858
"time_training":true,
5959
"_comment": "that's all"

examples/water/train/polar_se_a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"numb_test": 10,
5252
"save_freq": 1000,
5353
"save_ckpt": "model.ckpt",
54-
"load_ckpt": "model.ckpt",
54+
5555
"disp_training":true,
5656
"time_training":true,
5757
"_comment": "that's all"

examples/water/train/wannier.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"numb_test": 10,
5555
"save_freq": 1000,
5656
"save_ckpt": "model.ckpt",
57-
"load_ckpt": "model.ckpt",
57+
5858
"disp_training":true,
5959
"time_training":true,
6060
"_comment": "that's all"

examples/water/train/water.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"numb_test": 10,
6262
"save_freq": 1000,
6363
"save_ckpt": "model.ckpt",
64-
"load_ckpt": "model.ckpt",
64+
6565
"disp_training":true,
6666
"time_training":true,
6767
"_comment": "that's all"

examples/water/train/water_se_a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"numb_test": 10,
5757
"save_freq": 1000,
5858
"save_ckpt": "model.ckpt",
59-
"load_ckpt": "model.ckpt",
59+
6060
"disp_training":true,
6161
"time_training":true,
6262
"profiling": false,

examples/water/train/water_se_ar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"numb_test": 10,
6868
"save_freq": 1000,
6969
"save_ckpt": "model.ckpt",
70-
"load_ckpt": "model.ckpt",
70+
7171
"disp_training":true,
7272
"time_training":true,
7373
"profiling": false,

examples/water/train/water_se_r.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"numb_test": 10,
5757
"save_freq": 1000,
5858
"save_ckpt": "model.ckpt",
59-
"load_ckpt": "model.ckpt",
59+
6060
"disp_training":true,
6161
"time_training":true,
6262
"profiling": false,

0 commit comments

Comments
 (0)