-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathinput.yaml
101 lines (98 loc) · 2.79 KB
/
input.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
generate_features: True
preprocess: True
train_model: True
random_seed: null
params:
species1: '/path/to/params_species1'
species2: '/path/to/params_species2'
# Inputs for generate_features
data:
type: 'symmetry_function'
struct_list: 'structure_list'
refdata_format: 'vasp-out'
compress_outcar: True
save_directory: 'data'
save_list: 'total_list'
absolute_path: True
read_force: True
read_stress: True
dx_save_sparse: True
# Inputs for preprocess
preprocessing:
# Train/validation
data_list: 'total_list'
train_list: 'train_list'
valid_list: 'valid_list'
valid_rate: 0.1
shuffle: True
# Scaling parameters
calc_scale: True
scale_type: 'minmax'
scale_width: 1.0
# PCA parameters
calc_pca: True
pca_whiten: True
min_whiten_level: 1.0e-8
# Atomic weights
calc_atomic_weights: False
# Inputs for train_model
neural_network:
# Running mode
train: True
train_list: 'train_list'
valid_list: 'valid_list'
test: False
test_list: 'test_list'
add_NNP_ref: False
ref_list: 'ref_list'
train_atomic_E: False
test_atomic_E: False
use_force: True
use_stress: True
shuffle_dataloader: True
# Network
nodes: '30-30'
acti_func: 'sigmoid'
double_precision: True
weight_initializer:
type: 'xavier normal'
dropout: 0.0
use_scale: True
use_pca: True
use_atomic_weights: False
weight_modifier:
type: null
# Optimization
optimizer:
method: 'Adam'
batch_size: 8
full_batch: False
total_epoch: 1000
learning_rate: 0.0001
decay_rate: null
l2_regularization: 1.0e-6
# Loss function
loss_scale: 1.
E_loss_type: 1
F_loss_type: 1
energy_coeff: 1.
force_coeff: 0.1
stress_coeff: 1.0e-6
# Logging & saving
show_interval: 10
save_interval: 0
energy_criteria: null
force_criteria: null
stress_criteria: null
print_structure_rmse: False
# Continue
continue: null
clear_prev_status: False
clear_prev_optimizer: False
start_epoch: 1
# Parallelism
use_gpu: True
GPU_number: null
inter_op_threads: 0
intra_op_threads: 0
subprocesses: 0