-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new loader and small minor bugs in hyperparameter. Added traini…
…ng results.
- Loading branch information
Showing
10 changed files
with
398 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from ._make import make_model, model_default | ||
# from ._make import make_crystal_model, model_crystal_default | ||
from ._make import make_crystal_model, model_crystal_default | ||
|
||
|
||
__all__ = [ | ||
"make_model", | ||
"model_default", | ||
# "make_crystal_model", | ||
# "model_crystal_default" | ||
"make_crystal_model", | ||
"model_crystal_default" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
156 changes: 156 additions & 0 deletions
156
...MatProjectJdft2dDataset/CGCNN_make_crystal_model/CGCNN_MatProjectJdft2dDataset_score.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
OS: posix_linux | ||
backend: tensorflow | ||
cuda_available: 'True' | ||
data_unit: meV/atom | ||
date_time: '2023-12-15 14:11:18' | ||
device_id: '[LogicalDevice(name=''/device:CPU:0'', device_type=''CPU''), LogicalDevice(name=''/device:GPU:0'', | ||
device_type=''GPU'')]' | ||
device_memory: '[]' | ||
device_name: '[{}, {''compute_capability'': (8, 0), ''device_name'': ''NVIDIA A100 | ||
80GB PCIe''}]' | ||
epochs: | ||
- 1000 | ||
- 1000 | ||
- 1000 | ||
- 1000 | ||
- 1000 | ||
execute_folds: null | ||
kgcnn_version: 4.0.0 | ||
learning_rate: | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
loss: | ||
- 0.0164102204144001 | ||
- 0.049058035016059875 | ||
- 0.019465263932943344 | ||
- 0.04565507546067238 | ||
- 0.018842527642846107 | ||
max_learning_rate: | ||
- 0.0010000000474974513 | ||
- 0.0010000000474974513 | ||
- 0.0010000000474974513 | ||
- 0.0010000000474974513 | ||
- 0.0010000000474974513 | ||
max_loss: | ||
- 0.4873706102371216 | ||
- 0.4823596477508545 | ||
- 0.4699196219444275 | ||
- 0.44965362548828125 | ||
- 0.46280232071876526 | ||
max_scaled_mean_absolute_error: | ||
- 70.67137908935547 | ||
- 67.2155532836914 | ||
- 64.04151916503906 | ||
- 57.88063049316406 | ||
- 55.339359283447266 | ||
max_scaled_root_mean_squared_error: | ||
- 152.97747802734375 | ||
- 145.45938110351562 | ||
- 142.39430236816406 | ||
- 133.3281707763672 | ||
- 124.1724624633789 | ||
max_val_loss: | ||
- 0.26619401574134827 | ||
- 0.3685653507709503 | ||
- 0.40042510628700256 | ||
- 0.6030166745185852 | ||
- 0.6730947494506836 | ||
max_val_scaled_mean_absolute_error: | ||
- 38.59397888183594 | ||
- 51.37816619873047 | ||
- 54.60137939453125 | ||
- 77.64346313476562 | ||
- 80.49958038330078 | ||
max_val_scaled_root_mean_squared_error: | ||
- 83.75748443603516 | ||
- 116.78331756591797 | ||
- 139.4757537841797 | ||
- 208.695556640625 | ||
- 203.95716857910156 | ||
min_learning_rate: | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
- 1.1979999726463575e-05 | ||
min_loss: | ||
- 0.0164102204144001 | ||
- 0.049058035016059875 | ||
- 0.019465263932943344 | ||
- 0.04565083235502243 | ||
- 0.018809372559189796 | ||
min_scaled_mean_absolute_error: | ||
- 2.3664445877075195 | ||
- 6.843836784362793 | ||
- 2.6597533226013184 | ||
- 5.826504707336426 | ||
- 2.251401424407959 | ||
min_scaled_root_mean_squared_error: | ||
- 12.384324073791504 | ||
- 72.17166900634766 | ||
- 12.613103866577148 | ||
- 70.442138671875 | ||
- 11.607565879821777 | ||
min_val_loss: | ||
- 0.1912095546722412 | ||
- 0.27041757106781006 | ||
- 0.34239882230758667 | ||
- 0.4209592342376709 | ||
- 0.5613946318626404 | ||
min_val_scaled_mean_absolute_error: | ||
- 27.72239875793457 | ||
- 37.69633102416992 | ||
- 46.68900680541992 | ||
- 54.20203399658203 | ||
- 67.14065551757812 | ||
min_val_scaled_root_mean_squared_error: | ||
- 50.73049545288086 | ||
- 101.22430419921875 | ||
- 123.49358367919922 | ||
- 149.4101104736328 | ||
- 180.5041961669922 | ||
model_class: make_crystal_model | ||
model_name: CGCNN | ||
model_version: '2023-11-28' | ||
multi_target_indices: null | ||
number_histories: 5 | ||
scaled_mean_absolute_error: | ||
- 2.3664445877075195 | ||
- 6.843836784362793 | ||
- 2.6597533226013184 | ||
- 5.827065944671631 | ||
- 2.255373477935791 | ||
scaled_root_mean_squared_error: | ||
- 12.439318656921387 | ||
- 72.18438720703125 | ||
- 12.624910354614258 | ||
- 70.45165252685547 | ||
- 11.619587898254395 | ||
seed: 42 | ||
time_list: | ||
- '0:01:59.293506' | ||
- '0:01:55.045981' | ||
- '0:01:54.909115' | ||
- '0:01:54.808906' | ||
- '0:01:57.223260' | ||
val_loss: | ||
- 0.25275886058807373 | ||
- 0.29345396161079407 | ||
- 0.3919019401073456 | ||
- 0.5991652011871338 | ||
- 0.6718166470527649 | ||
val_scaled_mean_absolute_error: | ||
- 36.646087646484375 | ||
- 40.90761184692383 | ||
- 53.439170837402344 | ||
- 77.14754486083984 | ||
- 80.34671783447266 | ||
val_scaled_root_mean_squared_error: | ||
- 79.33216857910156 | ||
- 105.15802001953125 | ||
- 138.79078674316406 | ||
- 180.42710876464844 | ||
- 199.3755645751953 |
1 change: 1 addition & 0 deletions
1
training/results/MatProjectJdft2dDataset/CGCNN_make_crystal_model/CGCNN_hyper.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"model": {"class_name": "make_crystal_model", "module_name": "kgcnn.literature.CGCNN", "config": {"name": "CGCNN", "inputs": [{"shape": [null], "name": "node_number", "dtype": "int64", "ragged": true}, {"shape": [null, 3], "name": "node_frac_coordinates", "dtype": "float64", "ragged": true}, {"shape": [null, 2], "name": "range_indices", "dtype": "int64", "ragged": true}, {"shape": [null, 3], "name": "range_image", "dtype": "float32", "ragged": true}, {"shape": [3, 3], "name": "graph_lattice", "dtype": "float64", "ragged": false}], "input_tensor_type": "ragged", "input_node_embedding": {"input_dim": 95, "output_dim": 64}, "representation": "unit", "expand_distance": true, "make_distances": true, "gauss_args": {"bins": 60, "distance": 6, "offset": 0.0, "sigma": 0.4}, "conv_layer_args": {"units": 128, "activation_s": "kgcnn>shifted_softplus", "activation_out": "kgcnn>shifted_softplus", "batch_normalization": true}, "node_pooling_args": {"pooling_method": "scatter_mean"}, "depth": 4, "output_mlp": {"use_bias": [true, true, false], "units": [128, 64, 1], "activation": ["kgcnn>shifted_softplus", "kgcnn>shifted_softplus", "linear"]}}}, "training": {"cross_validation": {"class_name": "KFold", "config": {"n_splits": 5, "random_state": 42, "shuffle": true}}, "fit": {"batch_size": 128, "epochs": 1000, "validation_freq": 10, "verbose": 2, "callbacks": [{"class_name": "kgcnn>LinearLearningRateScheduler", "config": {"learning_rate_start": 0.001, "learning_rate_stop": 1e-05, "epo_min": 500, "epo": 1000, "verbose": 0}}]}, "compile": {"optimizer": {"class_name": "Adam", "config": {"learning_rate": 0.001}}, "loss": "mean_absolute_error"}, "scaler": {"class_name": "StandardLabelScaler", "module_name": "kgcnn.data.transform.scaler.standard", "config": {"with_std": true, "with_mean": true, "copy": true}}}, "data": {"data_unit": "meV/atom"}, "info": {"postfix": "", "postfix_file": "", "kgcnn_version": "4.0.0"}, "dataset": {"class_name": "MatProjectJdft2dDataset", "module_name": "kgcnn.data.datasets.MatProjectJdft2dDataset", "config": {}, "methods": [{"map_list": {"method": "set_range_periodic", "max_distance": 6.0}}]}} |
Oops, something went wrong.