Skip to content

Commit 62dae8b

Browse files
committed
update results of training. Fix hyper settings.
1 parent 2cc6fdb commit 62dae8b

File tree

8 files changed

+440
-2
lines changed

8 files changed

+440
-2
lines changed

training/hyper/hyper_mp_perovskites.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@
299299
{'shape': (None,), 'name': 'node_number', 'dtype': 'int64', 'ragged': True},
300300
{'shape': (None, 3), 'name': 'node_frac_coordinates', 'dtype': 'float64', 'ragged': True},
301301
{'shape': (None, 2), 'name': 'range_indices', 'dtype': 'int64', 'ragged': True},
302-
{'shape': (3, 3), 'name': 'graph_lattice', 'dtype': 'float64', 'ragged': False},
303302
{'shape': (None, 3), 'name': 'range_image', 'dtype': 'float32', 'ragged': True},
303+
{'shape': (3, 3), 'name': 'graph_lattice', 'dtype': 'float64', 'ragged': False},
304304
# For `representation="asu"`:
305305
# {'shape': (None, 1), 'name': 'multiplicities', 'dtype': 'float32', 'ragged': True},
306306
# {'shape': (None, 4, 4), 'name': 'symmops', 'dtype': 'float64', 'ragged': True},

training/hyper/hyper_qm9_energies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@
419419
]
420420
},
421421
# "multi_target_indices": [11] # 10, 11, 12, 13 = 'U0', 'U', 'H', 'G' or combination
422-
"multi_target_indices": target_index
422+
# "multi_target_indices": [18] # 15, 16, 17, 18 = 'U0_atom', 'U_atom', 'H_atom', 'G_atom' or combination
423+
"multi_target_indices": [i+5 for i in target_index]
423424
},
424425
"data": {
425426
"dataset": {
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
OS: posix_linux
2+
backend: tensorflow
3+
cuda_available: 'True'
4+
data_unit: eV/unit_cell
5+
date_time: '2023-12-29 08:11:00'
6+
device_id: '[LogicalDevice(name=''/device:CPU:0'', device_type=''CPU''), LogicalDevice(name=''/device:GPU:0'',
7+
device_type=''GPU'')]'
8+
device_memory: '[]'
9+
device_name: '[{}, {''compute_capability'': (8, 0), ''device_name'': ''NVIDIA A100
10+
80GB PCIe''}]'
11+
epochs:
12+
- 1000
13+
- 1000
14+
- 1000
15+
- 1000
16+
- 1000
17+
execute_folds: null
18+
kgcnn_version: 4.0.0
19+
learning_rate:
20+
- 5.549999968934571e-06
21+
- 5.549999968934571e-06
22+
- 5.549999968934571e-06
23+
- 5.549999968934571e-06
24+
- 5.549999968934571e-06
25+
loss:
26+
- 0.004397830925881863
27+
- 0.005278823431581259
28+
- 0.004376160446554422
29+
- 0.004232063423842192
30+
- 0.004540016874670982
31+
max_learning_rate:
32+
- 0.0005000000237487257
33+
- 0.0005000000237487257
34+
- 0.0005000000237487257
35+
- 0.0005000000237487257
36+
- 0.0005000000237487257
37+
max_loss:
38+
- 0.5813741683959961
39+
- 0.58009934425354
40+
- 0.5822065472602844
41+
- 0.5880441665649414
42+
- 0.5886858105659485
43+
max_scaled_mean_absolute_error:
44+
- 0.4308184087276459
45+
- 0.4286150634288788
46+
- 0.43322789669036865
47+
- 0.43700793385505676
48+
- 0.4390462338924408
49+
max_scaled_root_mean_squared_error:
50+
- 0.5738153457641602
51+
- 0.5650684833526611
52+
- 0.5685641765594482
53+
- 0.5760461688041687
54+
- 0.5783081650733948
55+
max_val_loss:
56+
- 0.19459137320518494
57+
- 0.19005027413368225
58+
- 0.18510140478610992
59+
- 0.1782563030719757
60+
- 0.1876201629638672
61+
max_val_scaled_mean_absolute_error:
62+
- 0.14388683438301086
63+
- 0.14014573395252228
64+
- 0.13756336271762848
65+
- 0.1328963190317154
66+
- 0.14029498398303986
67+
max_val_scaled_root_mean_squared_error:
68+
- 0.1895633488893509
69+
- 0.1875140517950058
70+
- 0.18289659917354584
71+
- 0.1750008761882782
72+
- 0.18676140904426575
73+
min_learning_rate:
74+
- 5.549999968934571e-06
75+
- 5.549999968934571e-06
76+
- 5.549999968934571e-06
77+
- 5.549999968934571e-06
78+
- 5.549999968934571e-06
79+
min_loss:
80+
- 0.003926873207092285
81+
- 0.005278823431581259
82+
- 0.004338774364441633
83+
- 0.004204403143376112
84+
- 0.0040434664115309715
85+
min_scaled_mean_absolute_error:
86+
- 0.0029129795730113983
87+
- 0.0039055212400853634
88+
- 0.0032300197053700686
89+
- 0.0031279728282243013
90+
- 0.0030192884150892496
91+
min_scaled_root_mean_squared_error:
92+
- 0.004599509760737419
93+
- 0.006465458776801825
94+
- 0.005390344187617302
95+
- 0.004726039711385965
96+
- 0.00514197675511241
97+
min_val_loss:
98+
- 0.052529748529195786
99+
- 0.052865125238895416
100+
- 0.05213373154401779
101+
- 0.04843062162399292
102+
- 0.055133167654275894
103+
min_val_scaled_mean_absolute_error:
104+
- 0.0389869250357151
105+
- 0.039114244282245636
106+
- 0.03883713483810425
107+
- 0.03578684851527214
108+
- 0.041139476001262665
109+
min_val_scaled_root_mean_squared_error:
110+
- 0.06799951940774918
111+
- 0.06926962733268738
112+
- 0.06995909661054611
113+
- 0.05940646305680275
114+
- 0.07061677426099777
115+
model_class: make_crystal_model
116+
model_name: Megnet
117+
model_version: '2023-12-05'
118+
multi_target_indices: null
119+
number_histories: 5
120+
scaled_mean_absolute_error:
121+
- 0.0032622646540403366
122+
- 0.0039055212400853634
123+
- 0.0032568767201155424
124+
- 0.003150396980345249
125+
- 0.0033899417612701654
126+
scaled_root_mean_squared_error:
127+
- 0.005011662840843201
128+
- 0.006465458776801825
129+
- 0.005390344187617302
130+
- 0.004726039711385965
131+
- 0.005509058944880962
132+
seed: 42
133+
time_list:
134+
- '4:43:57.583793'
135+
- '4:44:30.393619'
136+
- '4:50:27.145769'
137+
- '4:52:04.434260'
138+
- '4:49:23.093080'
139+
val_loss:
140+
- 0.052533868700265884
141+
- 0.052865125238895416
142+
- 0.05213373154401779
143+
- 0.04843062162399292
144+
- 0.055133167654275894
145+
val_scaled_mean_absolute_error:
146+
- 0.0389869250357151
147+
- 0.039114244282245636
148+
- 0.03883713483810425
149+
- 0.03578684851527214
150+
- 0.041139476001262665
151+
val_scaled_root_mean_squared_error:
152+
- 0.06799951940774918
153+
- 0.06926962733268738
154+
- 0.06995909661054611
155+
- 0.05940646305680275
156+
- 0.07066994905471802
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"model": {"module_name": "kgcnn.literature.Megnet", "class_name": "make_crystal_model", "config": {"name": "Megnet", "inputs": [{"shape": [null], "name": "node_number", "dtype": "int64", "ragged": true}, {"shape": [null, 3], "name": "node_coordinates", "dtype": "float32", "ragged": true}, {"shape": [null, 2], "name": "range_indices", "dtype": "int64", "ragged": true}, {"shape": [1], "name": "charge", "dtype": "float32", "ragged": false}, {"shape": [null, 3], "name": "range_image", "dtype": "int64", "ragged": true}, {"shape": [3, 3], "name": "graph_lattice", "dtype": "float32", "ragged": false}], "input_tensor_type": "ragged", "input_embedding": null, "input_node_embedding": {"input_dim": 95, "output_dim": 64}, "make_distance": true, "expand_distance": true, "gauss_args": {"bins": 25, "distance": 5, "offset": 0.0, "sigma": 0.4}, "meg_block_args": {"node_embed": [64, 32, 32], "edge_embed": [64, 32, 32], "env_embed": [64, 32, 32], "activation": "kgcnn>softplus2"}, "set2set_args": {"channels": 16, "T": 3, "pooling_method": "sum", "init_qstar": "0"}, "node_ff_args": {"units": [64, 32], "activation": "kgcnn>softplus2"}, "edge_ff_args": {"units": [64, 32], "activation": "kgcnn>softplus2"}, "state_ff_args": {"units": [64, 32], "activation": "kgcnn>softplus2"}, "nblocks": 3, "has_ff": true, "dropout": null, "use_set2set": true, "verbose": 10, "output_embedding": "graph", "output_mlp": {"use_bias": [true, true, true], "units": [32, 16, 1], "activation": ["kgcnn>softplus2", "kgcnn>softplus2", "linear"]}}}, "training": {"cross_validation": {"class_name": "KFold", "config": {"n_splits": 5, "random_state": 42, "shuffle": true}}, "fit": {"batch_size": 32, "epochs": 1000, "validation_freq": 10, "verbose": 2, "callbacks": [{"class_name": "kgcnn>LinearLearningRateScheduler", "config": {"learning_rate_start": 0.0005, "learning_rate_stop": 5e-06, "epo_min": 100, "epo": 1000, "verbose": 0}}]}, "compile": {"optimizer": {"class_name": "Adam", "config": {"learning_rate": 0.0005}}, "loss": "mean_absolute_error"}, "scaler": {"class_name": "StandardLabelScaler", "module_name": "kgcnn.data.transform.scaler.standard", "config": {"with_std": true, "with_mean": true, "copy": true}}, "multi_target_indices": null}, "data": {"data_unit": "eV/unit_cell"}, "info": {"postfix": "", "postfix_file": "", "kgcnn_version": "4.0.0"}, "dataset": {"class_name": "MatProjectPerovskitesDataset", "module_name": "kgcnn.data.datasets.MatProjectPerovskitesDataset", "config": {}, "methods": [{"map_list": {"method": "set_range_periodic", "max_distance": 5.0}}]}}
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
OS: posix_linux
2+
backend: tensorflow
3+
cuda_available: 'True'
4+
data_unit: '[''eV'']'
5+
date_time: '2023-12-29 08:35:00'
6+
device_id: '[LogicalDevice(name=''/device:CPU:0'', device_type=''CPU''), LogicalDevice(name=''/device:GPU:0'',
7+
device_type=''GPU'')]'
8+
device_memory: '[]'
9+
device_name: '[{}, {''compute_capability'': (7, 0), ''device_name'': ''Tesla V100-SXM2-32GB''}]'
10+
epochs:
11+
- 872
12+
- 872
13+
- 872
14+
- 872
15+
- 872
16+
execute_folds:
17+
- 4
18+
kgcnn_version: 4.0.0
19+
loss:
20+
- 0.003294642549008131
21+
- 0.0029402414802461863
22+
- 0.003289161715656519
23+
- 0.12238723784685135
24+
- 0.015073779039084911
25+
max_loss:
26+
- 0.32262271642684937
27+
- 0.3293594419956207
28+
- 0.3262612521648407
29+
- 50.7930908203125
30+
- 1.280696988105774
31+
max_scaled_mean_absolute_error:
32+
- 0.19472411274909973
33+
- 0.19837705790996552
34+
- 0.19602012634277344
35+
- 30.607391357421875
36+
- 0.7709271311759949
37+
max_scaled_root_mean_squared_error:
38+
- 0.28028348088264465
39+
- 0.7278462052345276
40+
- 0.2805926203727722
41+
- 2517.04052734375
42+
- 176.50790405273438
43+
max_val_loss:
44+
- 0.11736048012971878
45+
- 0.09089796245098114
46+
- 0.10240307450294495
47+
- 0.7400363087654114
48+
- 0.18249693512916565
49+
max_val_scaled_mean_absolute_error:
50+
- 0.07069920748472214
51+
- 0.054672058671712875
52+
- 0.061389487236738205
53+
- 0.44578346610069275
54+
- 0.10976182669401169
55+
max_val_scaled_root_mean_squared_error:
56+
- 0.1011790931224823
57+
- 0.08075223118066788
58+
- 0.11302179843187332
59+
- 0.7455280423164368
60+
- 0.15606093406677246
61+
min_loss:
62+
- 0.0032844471279531717
63+
- 0.0029378768522292376
64+
- 0.0032739758025854826
65+
- 0.10466354340314865
66+
- 0.015073779039084911
67+
min_scaled_mean_absolute_error:
68+
- 0.0019823696929961443
69+
- 0.001769466558471322
70+
- 0.0019669937901198864
71+
- 0.06306608766317368
72+
- 0.009073719382286072
73+
min_scaled_root_mean_squared_error:
74+
- 0.0027461934369057417
75+
- 0.002509073819965124
76+
- 0.0026796318124979734
77+
- 0.09012750536203384
78+
- 0.022356567904353142
79+
min_val_loss:
80+
- 0.048008427023887634
81+
- 0.05104929953813553
82+
- 0.049259137362241745
83+
- 0.16724078357219696
84+
- 0.0853082463145256
85+
min_val_scaled_mean_absolute_error:
86+
- 0.02887205220758915
87+
- 0.030691467225551605
88+
- 0.02949574589729309
89+
- 0.10066147893667221
90+
- 0.05130166932940483
91+
min_val_scaled_root_mean_squared_error:
92+
- 0.054600466042757034
93+
- 0.05213473364710808
94+
- 0.05488944053649902
95+
- 0.19786351919174194
96+
- 0.083727166056633
97+
model_class: make_model
98+
model_name: PAiNN
99+
model_version: '2023-10-04'
100+
multi_target_indices:
101+
- 5
102+
number_histories: 5
103+
scaled_mean_absolute_error:
104+
- 0.0019884807989001274
105+
- 0.0017709225649014115
106+
- 0.0019761030562222004
107+
- 0.07374542206525803
108+
- 0.009073719382286072
109+
scaled_root_mean_squared_error:
110+
- 0.0027565183117985725
111+
- 0.002510419115424156
112+
- 0.00269254669547081
113+
- 0.11067453771829605
114+
- 0.022356567904353142
115+
seed: 42
116+
time_list:
117+
- '15:01:50.663829'
118+
- '14:46:45.465706'
119+
- '15:13:09.007504'
120+
- '14:47:55.737834'
121+
- '14:50:00.202334'
122+
val_loss:
123+
- 0.048047974705696106
124+
- 0.051146626472473145
125+
- 0.049259137362241745
126+
- 0.16724078357219696
127+
- 0.08569817245006561
128+
val_scaled_mean_absolute_error:
129+
- 0.028896499425172806
130+
- 0.030748846009373665
131+
- 0.02949574589729309
132+
- 0.10066147893667221
133+
- 0.05154484882950783
134+
val_scaled_root_mean_squared_error:
135+
- 0.054600466042757034
136+
- 0.05233440175652504
137+
- 0.05574607104063034
138+
- 0.3130711317062378
139+
- 0.08536478877067566

0 commit comments

Comments
 (0)