Skip to content

Commit 82feee6

Browse files
committed
remove 0 warmup steps in input*.json
1 parent 3f8da24 commit 82feee6

File tree

14 files changed

+105
-394
lines changed

14 files changed

+105
-394
lines changed

examples/hessian/multi_task/input.json

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,13 @@
22
"_comment": "that's all",
33
"model": {
44
"shared_dict": {
5-
"type_map_all": [
6-
"C",
7-
"H",
8-
"N",
9-
"O"
10-
],
5+
"type_map_all": ["C", "H", "N", "O"],
116
"dpa1_descriptor": {
127
"type": "dpa1",
138
"sel": 120,
149
"rcut_smth": 0.5,
1510
"rcut": 6.0,
16-
"neuron": [
17-
25,
18-
50,
19-
100
20-
],
11+
"neuron": [25, 50, 100],
2112
"tebd_dim": 256,
2213
"axis_neuron": 16,
2314
"type_one_side": true,
@@ -37,11 +28,7 @@
3728
"type_map": "type_map_all",
3829
"descriptor": "dpa1_descriptor",
3930
"fitting_net": {
40-
"neuron": [
41-
240,
42-
240,
43-
240
44-
],
31+
"neuron": [240, 240, 240],
4532
"resnet_dt": true,
4633
"seed": 1,
4734
"_comment": " that's all"
@@ -51,11 +38,7 @@
5138
"type_map": "type_map_all",
5239
"descriptor": "dpa1_descriptor",
5340
"fitting_net": {
54-
"neuron": [
55-
240,
56-
240,
57-
240
58-
],
41+
"neuron": [240, 240, 240],
5942
"resnet_dt": true,
6043
"seed": 1,
6144
"_comment": " that's all"
@@ -67,7 +50,7 @@
6750
"type": "exp",
6851
"decay_steps": 20000,
6952
"start_lr": 0.0002,
70-
"stop_lr": 3.51e-08,
53+
"stop_lr": 3.51e-8,
7154
"_comment": "that's all"
7255
},
7356
"loss_dict": {
@@ -100,25 +83,20 @@
10083
"data_dict": {
10184
"H10C5N2O": {
10285
"training_data": {
103-
"systems": [
104-
"../data/H10C5N2O/"
105-
],
86+
"systems": ["../data/H10C5N2O/"],
10687
"batch_size": 1,
10788
"_comment": "that's all"
10889
}
10990
},
11091
"H8C4N2O": {
11192
"training_data": {
112-
"systems": [
113-
"../data/H8C4N2O/"
114-
],
93+
"systems": ["../data/H8C4N2O/"],
11594
"batch_size": 1,
11695
"_comment": "that's all"
11796
}
11897
}
11998
},
12099
"numb_steps": 1,
121-
"warmup_steps": 0,
122100
"gradient_max_norm": 5.0,
123101
"seed": 10,
124102
"disp_file": "lcurve.out",

examples/hessian/single_task/input.json

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
{
22
"_comment": "that's all",
33
"model": {
4-
"type_map": [
5-
"C",
6-
"H",
7-
"N",
8-
"O"
9-
],
4+
"type_map": ["C", "H", "N", "O"],
105
"descriptor": {
116
"type": "dpa2",
127
"repinit": {
138
"tebd_dim": 8,
149
"rcut": 6.0,
1510
"rcut_smth": 0.5,
1611
"nsel": 120,
17-
"neuron": [
18-
25,
19-
50,
20-
100
21-
],
12+
"neuron": [25, 50, 100],
2213
"axis_neuron": 12,
2314
"activation_function": "tanh",
2415
"three_body_sel": 48,
@@ -57,11 +48,7 @@
5748
"add_tebd_to_repinit_out": false
5849
},
5950
"fitting_net": {
60-
"neuron": [
61-
240,
62-
240,
63-
240
64-
],
51+
"neuron": [240, 240, 240],
6552
"resnet_dt": true,
6653
"precision": "float64",
6754
"seed": 1,
@@ -73,7 +60,7 @@
7360
"type": "exp",
7461
"decay_steps": 5000,
7562
"start_lr": 0.001,
76-
"stop_lr": 3.51e-08,
63+
"stop_lr": 3.51e-8,
7764
"_comment": "that's all"
7865
},
7966
"loss": {
@@ -91,21 +78,16 @@
9178
"training": {
9279
"stat_file": "./hess.hdf5",
9380
"training_data": {
94-
"systems": [
95-
"../data/H8C4N2O"
96-
],
81+
"systems": ["../data/H8C4N2O"],
9782
"batch_size": 1,
9883
"_comment": "that's all"
9984
},
10085
"validation_data": {
101-
"systems": [
102-
"../data/H10C5N2O"
103-
],
86+
"systems": ["../data/H10C5N2O"],
10487
"batch_size": 1,
10588
"_comment": "that's all"
10689
},
10790
"numb_steps": 1000000,
108-
"warmup_steps": 0,
10991
"gradient_max_norm": 5.0,
11092
"seed": 10,
11193
"disp_file": "lcurve.out",

examples/property/train/input_torch.json

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
{
22
"_comment": "that's all",
33
"model": {
4-
"type_map": [
5-
"H",
6-
"C",
7-
"N",
8-
"O"
9-
],
4+
"type_map": ["H", "C", "N", "O"],
105
"descriptor": {
116
"type": "dpa1",
127
"sel": 120,
138
"rcut_smth": 0.5,
149
"rcut": 6.0,
15-
"neuron": [
16-
25,
17-
50,
18-
100
19-
],
10+
"neuron": [25, 50, 100],
2011
"tebd_dim": 8,
2112
"axis_neuron": 16,
2213
"type_one_side": true,
@@ -34,11 +25,7 @@
3425
"intensive": true,
3526
"task_dim": 3,
3627
"property_name": "band_prop",
37-
"neuron": [
38-
240,
39-
240,
40-
240
41-
],
28+
"neuron": [240, 240, 240],
4229
"resnet_dt": true,
4330
"seed": 1,
4431
"_comment": " that's all"
@@ -49,36 +36,28 @@
4936
"type": "exp",
5037
"decay_steps": 5000,
5138
"start_lr": 0.0002,
52-
"stop_lr": 3.51e-08,
39+
"stop_lr": 3.51e-8,
5340
"_comment": "that's all"
5441
},
5542
"loss": {
5643
"type": "property",
57-
"metric": [
58-
"mae"
59-
],
44+
"metric": ["mae"],
6045
"loss_func": "smooth_mae",
6146
"beta": 1.0,
6247
"_comment": " that's all"
6348
},
6449
"training": {
6550
"training_data": {
66-
"systems": [
67-
"../data/data_0",
68-
"../data/data_1"
69-
],
51+
"systems": ["../data/data_0", "../data/data_1"],
7052
"batch_size": 1,
7153
"_comment": "that's all"
7254
},
7355
"validation_data": {
74-
"systems": [
75-
"../data/data_2"
76-
],
56+
"systems": ["../data/data_2"],
7757
"batch_size": 1,
7858
"_comment": "that's all"
7959
},
8060
"numb_steps": 1000000,
81-
"warmup_steps": 0,
8261
"gradient_max_norm": 5.0,
8362
"seed": 10,
8463
"disp_file": "lcurve.out",

examples/water/dpa2/input_torch_compressible.json

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
{
22
"_comment": "that's all",
33
"model": {
4-
"type_map": [
5-
"O",
6-
"H"
7-
],
4+
"type_map": ["O", "H"],
85
"descriptor": {
96
"type": "dpa2",
107
"repinit": {
118
"tebd_dim": 8,
129
"rcut": 6.0,
1310
"rcut_smth": 0.5,
1411
"nsel": 120,
15-
"neuron": [
16-
25,
17-
50,
18-
100
19-
],
12+
"neuron": [25, 50, 100],
2013
"axis_neuron": 12,
2114
"activation_function": "tanh",
2215
"three_body_sel": 48,
@@ -57,11 +50,7 @@
5750
"seed": 1
5851
},
5952
"fitting_net": {
60-
"neuron": [
61-
240,
62-
240,
63-
240
64-
],
53+
"neuron": [240, 240, 240],
6554
"resnet_dt": true,
6655
"precision": "float64",
6756
"seed": 1,
@@ -73,7 +62,7 @@
7362
"type": "exp",
7463
"decay_steps": 5000,
7564
"start_lr": 0.001,
76-
"stop_lr": 3.51e-08,
65+
"stop_lr": 3.51e-8,
7766
"_comment": "that's all"
7867
},
7968
"loss": {
@@ -89,23 +78,16 @@
8978
"training": {
9079
"stat_file": "./dpa2.hdf5",
9180
"training_data": {
92-
"systems": [
93-
"../data/data_0",
94-
"../data/data_1",
95-
"../data/data_2"
96-
],
81+
"systems": ["../data/data_0", "../data/data_1", "../data/data_2"],
9782
"batch_size": 1,
9883
"_comment": "that's all"
9984
},
10085
"validation_data": {
101-
"systems": [
102-
"../data/data_3"
103-
],
86+
"systems": ["../data/data_3"],
10487
"batch_size": 1,
10588
"_comment": "that's all"
10689
},
10790
"numb_steps": 1000000,
108-
"warmup_steps": 0,
10991
"gradient_max_norm": 5.0,
11092
"seed": 10,
11193
"disp_file": "lcurve.out",

examples/water/dpa2/input_torch_large.json

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
{
22
"_comment": "that's all",
33
"model": {
4-
"type_map": [
5-
"O",
6-
"H"
7-
],
4+
"type_map": ["O", "H"],
85
"descriptor": {
96
"type": "dpa2",
107
"repinit": {
118
"tebd_dim": 8,
129
"rcut": 6.0,
1310
"rcut_smth": 0.5,
1411
"nsel": 120,
15-
"neuron": [
16-
25,
17-
50,
18-
100
19-
],
12+
"neuron": [25, 50, 100],
2013
"axis_neuron": 12,
2114
"activation_function": "tanh",
2215
"three_body_sel": 48,
@@ -56,11 +49,7 @@
5649
"seed": 1
5750
},
5851
"fitting_net": {
59-
"neuron": [
60-
240,
61-
240,
62-
240
63-
],
52+
"neuron": [240, 240, 240],
6453
"resnet_dt": true,
6554
"precision": "float64",
6655
"seed": 1,
@@ -72,7 +61,7 @@
7261
"type": "exp",
7362
"decay_steps": 5000,
7463
"start_lr": 0.001,
75-
"stop_lr": 3.51e-08,
64+
"stop_lr": 3.51e-8,
7665
"_comment": "that's all"
7766
},
7867
"loss": {
@@ -88,23 +77,16 @@
8877
"training": {
8978
"stat_file": "./dpa2.hdf5",
9079
"training_data": {
91-
"systems": [
92-
"../data/data_0",
93-
"../data/data_1",
94-
"../data/data_2"
95-
],
80+
"systems": ["../data/data_0", "../data/data_1", "../data/data_2"],
9681
"batch_size": 1,
9782
"_comment": "that's all"
9883
},
9984
"validation_data": {
100-
"systems": [
101-
"../data/data_3"
102-
],
85+
"systems": ["../data/data_3"],
10386
"batch_size": 1,
10487
"_comment": "that's all"
10588
},
10689
"numb_steps": 1000000,
107-
"warmup_steps": 0,
10890
"gradient_max_norm": 5.0,
10991
"seed": 10,
11092
"disp_file": "lcurve.out",

0 commit comments

Comments
 (0)