hhhhh789
commited on
Commit
·
5825ae2
1
Parent(s):
5889413
add mp20_gen ckpt
Browse files
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
mp20_csp_s10/ema_avgs=0.044-epoch=3500-step=371105.ckpt.ema_state_dict filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
mp20_csp_s10/ema_avgs=0.044-epoch=3500-step=371105.ckpt.ema_state_dict filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
mp_20_gen_s1000/ema-epoch=4920-step=521625.ckpt.ema_state_dict filter=lfs diff=lfs merge=lfs -text
|
mp_20_gen_s1000/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,318 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
data:
|
| 2 |
+
root_path: ${oc.env:PROJECT_ROOT}/data/mp_20
|
| 3 |
+
prop: formation_energy_per_atom
|
| 4 |
+
num_targets: 1
|
| 5 |
+
frac_coord_norm: 1.0
|
| 6 |
+
niggli: true
|
| 7 |
+
primitive: false
|
| 8 |
+
graph_method: crystalnn
|
| 9 |
+
lattice_scale_method: scale_length
|
| 10 |
+
preprocess_workers: 30
|
| 11 |
+
readout: mean
|
| 12 |
+
max_atoms: 20
|
| 13 |
+
otf_graph: false
|
| 14 |
+
eval_model_name: mp20
|
| 15 |
+
train_max_epochs: 5000
|
| 16 |
+
early_stopping_patience: 50000
|
| 17 |
+
teacher_forcing_max_epoch: 500
|
| 18 |
+
std: 7.0
|
| 19 |
+
datamodule:
|
| 20 |
+
_target_: crysbfn.pl_data.datamodule.CrystDataModule
|
| 21 |
+
datasets:
|
| 22 |
+
train:
|
| 23 |
+
_target_: crysbfn.pl_data.dataset.CrystDataset
|
| 24 |
+
name: Formation energy train
|
| 25 |
+
path: ${data.root_path}/train.csv
|
| 26 |
+
prop: ${data.prop}
|
| 27 |
+
niggli: ${data.niggli}
|
| 28 |
+
primitive: ${data.primitive}
|
| 29 |
+
graph_method: ${data.graph_method}
|
| 30 |
+
lattice_scale_method: ${data.lattice_scale_method}
|
| 31 |
+
preprocess_workers: ${data.preprocess_workers}
|
| 32 |
+
val:
|
| 33 |
+
- _target_: crysbfn.pl_data.dataset.CrystDataset
|
| 34 |
+
name: Formation energy val
|
| 35 |
+
path: ${data.root_path}/val.csv
|
| 36 |
+
prop: ${data.prop}
|
| 37 |
+
niggli: ${data.niggli}
|
| 38 |
+
primitive: ${data.primitive}
|
| 39 |
+
graph_method: ${data.graph_method}
|
| 40 |
+
lattice_scale_method: ${data.lattice_scale_method}
|
| 41 |
+
preprocess_workers: ${data.preprocess_workers}
|
| 42 |
+
test:
|
| 43 |
+
- _target_: crysbfn.pl_data.dataset.CrystDataset
|
| 44 |
+
name: Formation energy test
|
| 45 |
+
path: ${data.root_path}/test.csv
|
| 46 |
+
prop: ${data.prop}
|
| 47 |
+
niggli: ${data.niggli}
|
| 48 |
+
primitive: ${data.primitive}
|
| 49 |
+
graph_method: ${data.graph_method}
|
| 50 |
+
lattice_scale_method: ${data.lattice_scale_method}
|
| 51 |
+
preprocess_workers: ${data.preprocess_workers}
|
| 52 |
+
num_workers:
|
| 53 |
+
train: 0
|
| 54 |
+
val: 0
|
| 55 |
+
test: 0
|
| 56 |
+
batch_size:
|
| 57 |
+
train: 256
|
| 58 |
+
val: 256
|
| 59 |
+
test: 256
|
| 60 |
+
lattice_mean: 0.0
|
| 61 |
+
lattice_std: 3.866470446562982
|
| 62 |
+
length_normalizer: 1.0
|
| 63 |
+
num_atom_types: 89
|
| 64 |
+
atom_type_map:
|
| 65 |
+
1: 0
|
| 66 |
+
2: 1
|
| 67 |
+
3: 2
|
| 68 |
+
4: 3
|
| 69 |
+
5: 4
|
| 70 |
+
6: 5
|
| 71 |
+
7: 6
|
| 72 |
+
8: 7
|
| 73 |
+
9: 8
|
| 74 |
+
10: 9
|
| 75 |
+
11: 10
|
| 76 |
+
12: 11
|
| 77 |
+
13: 12
|
| 78 |
+
14: 13
|
| 79 |
+
15: 14
|
| 80 |
+
16: 15
|
| 81 |
+
17: 16
|
| 82 |
+
18: 17
|
| 83 |
+
19: 18
|
| 84 |
+
20: 19
|
| 85 |
+
21: 20
|
| 86 |
+
22: 21
|
| 87 |
+
23: 22
|
| 88 |
+
24: 23
|
| 89 |
+
25: 24
|
| 90 |
+
26: 25
|
| 91 |
+
27: 26
|
| 92 |
+
28: 27
|
| 93 |
+
29: 28
|
| 94 |
+
30: 29
|
| 95 |
+
31: 30
|
| 96 |
+
32: 31
|
| 97 |
+
33: 32
|
| 98 |
+
34: 33
|
| 99 |
+
35: 34
|
| 100 |
+
36: 35
|
| 101 |
+
37: 36
|
| 102 |
+
38: 37
|
| 103 |
+
39: 38
|
| 104 |
+
40: 39
|
| 105 |
+
41: 40
|
| 106 |
+
42: 41
|
| 107 |
+
43: 42
|
| 108 |
+
44: 43
|
| 109 |
+
45: 44
|
| 110 |
+
46: 45
|
| 111 |
+
47: 46
|
| 112 |
+
48: 47
|
| 113 |
+
49: 48
|
| 114 |
+
50: 49
|
| 115 |
+
51: 50
|
| 116 |
+
52: 51
|
| 117 |
+
53: 52
|
| 118 |
+
54: 53
|
| 119 |
+
55: 54
|
| 120 |
+
56: 55
|
| 121 |
+
57: 56
|
| 122 |
+
58: 57
|
| 123 |
+
59: 58
|
| 124 |
+
60: 59
|
| 125 |
+
61: 60
|
| 126 |
+
62: 61
|
| 127 |
+
63: 62
|
| 128 |
+
64: 63
|
| 129 |
+
65: 64
|
| 130 |
+
66: 65
|
| 131 |
+
67: 66
|
| 132 |
+
68: 67
|
| 133 |
+
69: 68
|
| 134 |
+
70: 69
|
| 135 |
+
71: 70
|
| 136 |
+
72: 71
|
| 137 |
+
73: 72
|
| 138 |
+
74: 73
|
| 139 |
+
75: 74
|
| 140 |
+
76: 75
|
| 141 |
+
77: 76
|
| 142 |
+
78: 77
|
| 143 |
+
79: 78
|
| 144 |
+
80: 79
|
| 145 |
+
81: 80
|
| 146 |
+
82: 81
|
| 147 |
+
83: 82
|
| 148 |
+
89: 83
|
| 149 |
+
90: 84
|
| 150 |
+
91: 85
|
| 151 |
+
92: 86
|
| 152 |
+
93: 87
|
| 153 |
+
94: 88
|
| 154 |
+
num_atoms_dist:
|
| 155 |
+
1: 110
|
| 156 |
+
2: 961
|
| 157 |
+
3: 924
|
| 158 |
+
4: 6964
|
| 159 |
+
5: 2130
|
| 160 |
+
6: 3795
|
| 161 |
+
7: 991
|
| 162 |
+
8: 3563
|
| 163 |
+
9: 1527
|
| 164 |
+
10: 4395
|
| 165 |
+
11: 590
|
| 166 |
+
12: 4396
|
| 167 |
+
13: 979
|
| 168 |
+
14: 2959
|
| 169 |
+
15: 666
|
| 170 |
+
16: 3026
|
| 171 |
+
17: 418
|
| 172 |
+
18: 2418
|
| 173 |
+
19: 468
|
| 174 |
+
20: 3949
|
| 175 |
+
norm_len: false
|
| 176 |
+
norm_len_log: false
|
| 177 |
+
norm_abc:
|
| 178 |
+
- 0.6377525345209046
|
| 179 |
+
- 0.7004837423370611
|
| 180 |
+
- 0.9260156168244864
|
| 181 |
+
logging:
|
| 182 |
+
val_check_interval: 8
|
| 183 |
+
val_check_interval_step: 5000
|
| 184 |
+
gen_check_interval: 120
|
| 185 |
+
progress_bar_refresh_rate: 2
|
| 186 |
+
run_gen: true
|
| 187 |
+
debug_mode: false
|
| 188 |
+
gen_check:
|
| 189 |
+
num_samples: 128
|
| 190 |
+
start_epoch: 800
|
| 191 |
+
run_func_timeout: 14400
|
| 192 |
+
return_traj: false
|
| 193 |
+
wandb:
|
| 194 |
+
name: ${expname}
|
| 195 |
+
project: crystalbfn
|
| 196 |
+
entity: null
|
| 197 |
+
log_model: true
|
| 198 |
+
mode: online
|
| 199 |
+
group: ${expname}
|
| 200 |
+
wandb_watch:
|
| 201 |
+
log: all
|
| 202 |
+
log_freq: 500
|
| 203 |
+
lr_monitor:
|
| 204 |
+
logging_interval: step
|
| 205 |
+
log_momentum: false
|
| 206 |
+
model:
|
| 207 |
+
decoder:
|
| 208 |
+
_target_: crysbfn.pl_modules.egnn.cspnet.CSPNet
|
| 209 |
+
hidden_dim: 512
|
| 210 |
+
time_dim: ${model.time_dim}
|
| 211 |
+
max_atoms: ${data.num_atom_types}
|
| 212 |
+
num_layers: 6
|
| 213 |
+
act_fn: silu
|
| 214 |
+
dis_emb: sin
|
| 215 |
+
num_freqs: 128
|
| 216 |
+
edge_style: fc
|
| 217 |
+
smooth: true
|
| 218 |
+
max_neighbors: ${model.max_neighbors}
|
| 219 |
+
cutoff: ${model.radius}
|
| 220 |
+
ln: true
|
| 221 |
+
ip: true
|
| 222 |
+
pred_type: true
|
| 223 |
+
period: ${model.T_max}-${model.T_min}
|
| 224 |
+
dtime_loss: ${model.BFN.dtime_loss}
|
| 225 |
+
add_n_atom_feat: false
|
| 226 |
+
cond_acc: ${model.BFN.cond_acc}
|
| 227 |
+
_target_: crysbfn.pl_modules.crysbfn_plmodel.CrysBFN_PL_Model
|
| 228 |
+
time_dim: 128
|
| 229 |
+
hidden_dim: 256
|
| 230 |
+
latent_dim: 256
|
| 231 |
+
fc_num_layers: 1
|
| 232 |
+
max_atoms: ${data.max_atoms}
|
| 233 |
+
cost_natom: 1.0
|
| 234 |
+
cost_coord: 1
|
| 235 |
+
cost_type: 1
|
| 236 |
+
cost_lattice: 1
|
| 237 |
+
cost_composition: 1.0
|
| 238 |
+
cost_edge: 10.0
|
| 239 |
+
cost_property: 1.0
|
| 240 |
+
beta: 0.01
|
| 241 |
+
teacher_forcing_lattice: true
|
| 242 |
+
teacher_forcing_max_epoch: ${data.teacher_forcing_max_epoch}
|
| 243 |
+
max_neighbors: 20
|
| 244 |
+
radius: 7.0
|
| 245 |
+
sigma_begin: 0.5
|
| 246 |
+
sigma_end: 0.005
|
| 247 |
+
type_sigma_begin: 5.0
|
| 248 |
+
type_sigma_end: 0.01
|
| 249 |
+
num_noise_level: 50
|
| 250 |
+
predict_property: true
|
| 251 |
+
T_min: -np.pi
|
| 252 |
+
T_max: np.pi
|
| 253 |
+
norm_weight: false
|
| 254 |
+
norm_beta: true
|
| 255 |
+
rej_samp: false
|
| 256 |
+
n_samples: 1
|
| 257 |
+
BFN:
|
| 258 |
+
_target_: crysbfn.pl_modules.crysbfn.CrysBFN
|
| 259 |
+
device: cuda
|
| 260 |
+
beta1_type: 0.5
|
| 261 |
+
beta1_coord: 1000.0
|
| 262 |
+
K: ${data.num_atom_types}
|
| 263 |
+
t_min: 1.0e-07
|
| 264 |
+
dtime_loss: true
|
| 265 |
+
dtime_loss_steps: 1000
|
| 266 |
+
sigma1_lattice: 0.03162277660168379
|
| 267 |
+
mult_constant: true
|
| 268 |
+
pred_mean: true
|
| 269 |
+
end_back: true
|
| 270 |
+
sim_cir_flow: true
|
| 271 |
+
cond_acc: ${model.BFN.sim_cir_flow}
|
| 272 |
+
sch_type: linear
|
| 273 |
+
disc_prob_loss: true
|
| 274 |
+
optim:
|
| 275 |
+
optimizer:
|
| 276 |
+
_target_: torch.optim.AdamW
|
| 277 |
+
lr: 0.001
|
| 278 |
+
weight_decay: 0
|
| 279 |
+
use_lr_scheduler: true
|
| 280 |
+
lr_scheduler:
|
| 281 |
+
_target_: torch.optim.lr_scheduler.ReduceLROnPlateau
|
| 282 |
+
factor: 0.6
|
| 283 |
+
patience: 50
|
| 284 |
+
min_lr: 0.0001
|
| 285 |
+
train:
|
| 286 |
+
deterministic: false
|
| 287 |
+
random_seed: 42
|
| 288 |
+
use_queue_clip: false
|
| 289 |
+
gradient_clip_val: 0
|
| 290 |
+
gradient_clip_algorithm: value
|
| 291 |
+
pl_trainer:
|
| 292 |
+
fast_dev_run: false
|
| 293 |
+
gpus:
|
| 294 |
+
- 0
|
| 295 |
+
precision: 32
|
| 296 |
+
max_steps: 2000000
|
| 297 |
+
max_epochs: ${data.train_max_epochs}
|
| 298 |
+
accumulate_grad_batches: 1
|
| 299 |
+
num_sanity_val_steps: 2
|
| 300 |
+
profiler: simple
|
| 301 |
+
monitor_metric: val_loss
|
| 302 |
+
monitor_metric_mode: min
|
| 303 |
+
early_stopping:
|
| 304 |
+
patience: ${data.early_stopping_patience}
|
| 305 |
+
verbose: false
|
| 306 |
+
resume: false
|
| 307 |
+
model_checkpoints:
|
| 308 |
+
save_top_k: 1
|
| 309 |
+
verbose: false
|
| 310 |
+
ema:
|
| 311 |
+
enable: true
|
| 312 |
+
decay: 0.995
|
| 313 |
+
device: cuda
|
| 314 |
+
expname: mp_20_1e3_0.5_s1000_sim_dtime_cate_ema0.995cs_11-07-22-28-31
|
| 315 |
+
core:
|
| 316 |
+
version: 0.0.1
|
| 317 |
+
tags:
|
| 318 |
+
- ${now:%Y-%m-%d}
|
mp_20_gen_s1000/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: ${oc.env:HYDRA_JOBS}/singlerun/${now:%Y-%m-%d}/${expname}/
|
| 4 |
+
sweep:
|
| 5 |
+
dir: ${oc.env:HYDRA_JOBS}/multirun/${now:%Y-%m-%d}/${expname}/
|
| 6 |
+
subdir: ${hydra.job.num}_${hydra.job.id}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
help:
|
| 13 |
+
app_name: ${hydra.job.name}
|
| 14 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 15 |
+
|
| 16 |
+
'
|
| 17 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 18 |
+
|
| 19 |
+
Use --hydra-help to view Hydra specific help
|
| 20 |
+
|
| 21 |
+
'
|
| 22 |
+
template: '${hydra.help.header}
|
| 23 |
+
|
| 24 |
+
== Configuration groups ==
|
| 25 |
+
|
| 26 |
+
Compose your configuration from those groups (group=option)
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
$APP_CONFIG_GROUPS
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
== Config ==
|
| 33 |
+
|
| 34 |
+
Override anything in the config (foo.bar=value)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
$CONFIG
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
${hydra.help.footer}
|
| 41 |
+
|
| 42 |
+
'
|
| 43 |
+
hydra_help:
|
| 44 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 45 |
+
|
| 46 |
+
See https://hydra.cc for more info.
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
== Flags ==
|
| 50 |
+
|
| 51 |
+
$FLAGS_HELP
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
== Configuration groups ==
|
| 55 |
+
|
| 56 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 57 |
+
to command line)
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
$HYDRA_CONFIG_GROUPS
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 64 |
+
|
| 65 |
+
'
|
| 66 |
+
hydra_help: ???
|
| 67 |
+
hydra_logging:
|
| 68 |
+
version: 1
|
| 69 |
+
formatters:
|
| 70 |
+
simple:
|
| 71 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 72 |
+
handlers:
|
| 73 |
+
console:
|
| 74 |
+
class: logging.StreamHandler
|
| 75 |
+
formatter: simple
|
| 76 |
+
stream: ext://sys.stdout
|
| 77 |
+
root:
|
| 78 |
+
level: INFO
|
| 79 |
+
handlers:
|
| 80 |
+
- console
|
| 81 |
+
loggers:
|
| 82 |
+
logging_example:
|
| 83 |
+
level: DEBUG
|
| 84 |
+
disable_existing_loggers: false
|
| 85 |
+
job_logging:
|
| 86 |
+
version: 1
|
| 87 |
+
formatters:
|
| 88 |
+
simple:
|
| 89 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 90 |
+
handlers:
|
| 91 |
+
console:
|
| 92 |
+
class: logging.StreamHandler
|
| 93 |
+
formatter: simple
|
| 94 |
+
stream: ext://sys.stdout
|
| 95 |
+
file:
|
| 96 |
+
class: logging.FileHandler
|
| 97 |
+
formatter: simple
|
| 98 |
+
filename: ${hydra.job.name}.log
|
| 99 |
+
root:
|
| 100 |
+
level: INFO
|
| 101 |
+
handlers:
|
| 102 |
+
- console
|
| 103 |
+
- file
|
| 104 |
+
disable_existing_loggers: false
|
| 105 |
+
env: {}
|
| 106 |
+
searchpath: []
|
| 107 |
+
callbacks: {}
|
| 108 |
+
output_subdir: .hydra
|
| 109 |
+
overrides:
|
| 110 |
+
hydra: []
|
| 111 |
+
task:
|
| 112 |
+
- data=mp_20
|
| 113 |
+
- expname=mp_20_1e3_0.5_s1000_sim_dtime_cate_ema0.995cs_11-07-22-28-31
|
| 114 |
+
- train.resume=false
|
| 115 |
+
- model.BFN.dtime_loss_steps=1000
|
| 116 |
+
- model.BFN.beta1_coord=1e3
|
| 117 |
+
- model.BFN.beta1_type=0.5
|
| 118 |
+
- logging.gen_check.start_epoch=800
|
| 119 |
+
- logging.gen_check_interval=120
|
| 120 |
+
- logging.gen_check.num_samples=128
|
| 121 |
+
- train.ema.enable=true
|
| 122 |
+
- train.ema.decay=0.995
|
| 123 |
+
- model.BFN.disc_prob_loss=true
|
| 124 |
+
- model.BFN.sigma1_lattice=0.03162277660168379
|
| 125 |
+
- optim.lr_scheduler.patience=50
|
| 126 |
+
job:
|
| 127 |
+
name: run
|
| 128 |
+
override_dirname: data=mp_20,expname=mp_20_1e3_0.5_s1000_sim_dtime_cate_ema0.995cs_11-07-22-28-31,logging.gen_check.num_samples=128,logging.gen_check.start_epoch=800,logging.gen_check_interval=120,model.BFN.beta1_coord=1e3,model.BFN.beta1_type=0.5,model.BFN.disc_prob_loss=true,model.BFN.dtime_loss_steps=1000,model.BFN.sigma1_lattice=0.03162277660168379,optim.lr_scheduler.patience=50,train.ema.decay=0.995,train.ema.enable=true,train.resume=false
|
| 129 |
+
id: ???
|
| 130 |
+
num: ???
|
| 131 |
+
config_name: default
|
| 132 |
+
env_set:
|
| 133 |
+
WANDB_START_METHOD: thread
|
| 134 |
+
WANDB_DIR: ${oc.env:WABDB_DIR}
|
| 135 |
+
env_copy: []
|
| 136 |
+
config:
|
| 137 |
+
override_dirname:
|
| 138 |
+
kv_sep: '='
|
| 139 |
+
item_sep: ','
|
| 140 |
+
exclude_keys: []
|
| 141 |
+
runtime:
|
| 142 |
+
version: 1.1.0
|
| 143 |
+
cwd: /sharefs/material/crysbfn
|
| 144 |
+
config_sources:
|
| 145 |
+
- path: hydra.conf
|
| 146 |
+
schema: pkg
|
| 147 |
+
provider: hydra
|
| 148 |
+
- path: /sharefs/material/crysbfn/conf
|
| 149 |
+
schema: file
|
| 150 |
+
provider: main
|
| 151 |
+
- path: ''
|
| 152 |
+
schema: structured
|
| 153 |
+
provider: schema
|
| 154 |
+
choices:
|
| 155 |
+
train: default
|
| 156 |
+
optim: default
|
| 157 |
+
model: bfn
|
| 158 |
+
model/decoder: cspnet
|
| 159 |
+
logging: default
|
| 160 |
+
data: mp_20
|
| 161 |
+
hydra/env: default
|
| 162 |
+
hydra/callbacks: null
|
| 163 |
+
hydra/job_logging: default
|
| 164 |
+
hydra/hydra_logging: default
|
| 165 |
+
hydra/hydra_help: default
|
| 166 |
+
hydra/help: default
|
| 167 |
+
hydra/sweeper: basic
|
| 168 |
+
hydra/launcher: basic
|
| 169 |
+
hydra/output: default
|
| 170 |
+
verbose: false
|
mp_20_gen_s1000/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- data=mp_20
|
| 2 |
+
- expname=mp_20_1e3_0.5_s1000_sim_dtime_cate_ema0.995cs_11-07-22-28-31
|
| 3 |
+
- train.resume=false
|
| 4 |
+
- model.BFN.dtime_loss_steps=1000
|
| 5 |
+
- model.BFN.beta1_coord=1e3
|
| 6 |
+
- model.BFN.beta1_type=0.5
|
| 7 |
+
- logging.gen_check.start_epoch=800
|
| 8 |
+
- logging.gen_check_interval=120
|
| 9 |
+
- logging.gen_check.num_samples=128
|
| 10 |
+
- train.ema.enable=true
|
| 11 |
+
- train.ema.decay=0.995
|
| 12 |
+
- model.BFN.disc_prob_loss=true
|
| 13 |
+
- model.BFN.sigma1_lattice=0.03162277660168379
|
| 14 |
+
- optim.lr_scheduler.patience=50
|
mp_20_gen_s1000/ema-epoch=4920-step=521625.ckpt.ema_state_dict
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86f766653f2e815d1723408caeb06c2e02e0c5e6a4ef115c37995a47d12697a4
|
| 3 |
+
size 49109650
|
mp_20_gen_s1000/hparams.yaml
ADDED
|
@@ -0,0 +1,318 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
data:
|
| 2 |
+
root_path: ${oc.env:PROJECT_ROOT}/data/mp_20
|
| 3 |
+
prop: formation_energy_per_atom
|
| 4 |
+
num_targets: 1
|
| 5 |
+
frac_coord_norm: 1.0
|
| 6 |
+
niggli: true
|
| 7 |
+
primitive: false
|
| 8 |
+
graph_method: crystalnn
|
| 9 |
+
lattice_scale_method: scale_length
|
| 10 |
+
preprocess_workers: 30
|
| 11 |
+
readout: mean
|
| 12 |
+
max_atoms: 20
|
| 13 |
+
otf_graph: false
|
| 14 |
+
eval_model_name: mp20
|
| 15 |
+
train_max_epochs: 5000
|
| 16 |
+
early_stopping_patience: 50000
|
| 17 |
+
teacher_forcing_max_epoch: 500
|
| 18 |
+
std: 7.0
|
| 19 |
+
datamodule:
|
| 20 |
+
_target_: crysbfn.pl_data.datamodule.CrystDataModule
|
| 21 |
+
datasets:
|
| 22 |
+
train:
|
| 23 |
+
_target_: crysbfn.pl_data.dataset.CrystDataset
|
| 24 |
+
name: Formation energy train
|
| 25 |
+
path: ${data.root_path}/train.csv
|
| 26 |
+
prop: ${data.prop}
|
| 27 |
+
niggli: ${data.niggli}
|
| 28 |
+
primitive: ${data.primitive}
|
| 29 |
+
graph_method: ${data.graph_method}
|
| 30 |
+
lattice_scale_method: ${data.lattice_scale_method}
|
| 31 |
+
preprocess_workers: ${data.preprocess_workers}
|
| 32 |
+
val:
|
| 33 |
+
- _target_: crysbfn.pl_data.dataset.CrystDataset
|
| 34 |
+
name: Formation energy val
|
| 35 |
+
path: ${data.root_path}/val.csv
|
| 36 |
+
prop: ${data.prop}
|
| 37 |
+
niggli: ${data.niggli}
|
| 38 |
+
primitive: ${data.primitive}
|
| 39 |
+
graph_method: ${data.graph_method}
|
| 40 |
+
lattice_scale_method: ${data.lattice_scale_method}
|
| 41 |
+
preprocess_workers: ${data.preprocess_workers}
|
| 42 |
+
test:
|
| 43 |
+
- _target_: crysbfn.pl_data.dataset.CrystDataset
|
| 44 |
+
name: Formation energy test
|
| 45 |
+
path: ${data.root_path}/test.csv
|
| 46 |
+
prop: ${data.prop}
|
| 47 |
+
niggli: ${data.niggli}
|
| 48 |
+
primitive: ${data.primitive}
|
| 49 |
+
graph_method: ${data.graph_method}
|
| 50 |
+
lattice_scale_method: ${data.lattice_scale_method}
|
| 51 |
+
preprocess_workers: ${data.preprocess_workers}
|
| 52 |
+
num_workers:
|
| 53 |
+
train: 0
|
| 54 |
+
val: 0
|
| 55 |
+
test: 0
|
| 56 |
+
batch_size:
|
| 57 |
+
train: 256
|
| 58 |
+
val: 256
|
| 59 |
+
test: 256
|
| 60 |
+
lattice_mean: 0.0
|
| 61 |
+
lattice_std: 3.866470446562982
|
| 62 |
+
length_normalizer: 1.0
|
| 63 |
+
num_atom_types: 89
|
| 64 |
+
atom_type_map:
|
| 65 |
+
1: 0
|
| 66 |
+
2: 1
|
| 67 |
+
3: 2
|
| 68 |
+
4: 3
|
| 69 |
+
5: 4
|
| 70 |
+
6: 5
|
| 71 |
+
7: 6
|
| 72 |
+
8: 7
|
| 73 |
+
9: 8
|
| 74 |
+
10: 9
|
| 75 |
+
11: 10
|
| 76 |
+
12: 11
|
| 77 |
+
13: 12
|
| 78 |
+
14: 13
|
| 79 |
+
15: 14
|
| 80 |
+
16: 15
|
| 81 |
+
17: 16
|
| 82 |
+
18: 17
|
| 83 |
+
19: 18
|
| 84 |
+
20: 19
|
| 85 |
+
21: 20
|
| 86 |
+
22: 21
|
| 87 |
+
23: 22
|
| 88 |
+
24: 23
|
| 89 |
+
25: 24
|
| 90 |
+
26: 25
|
| 91 |
+
27: 26
|
| 92 |
+
28: 27
|
| 93 |
+
29: 28
|
| 94 |
+
30: 29
|
| 95 |
+
31: 30
|
| 96 |
+
32: 31
|
| 97 |
+
33: 32
|
| 98 |
+
34: 33
|
| 99 |
+
35: 34
|
| 100 |
+
36: 35
|
| 101 |
+
37: 36
|
| 102 |
+
38: 37
|
| 103 |
+
39: 38
|
| 104 |
+
40: 39
|
| 105 |
+
41: 40
|
| 106 |
+
42: 41
|
| 107 |
+
43: 42
|
| 108 |
+
44: 43
|
| 109 |
+
45: 44
|
| 110 |
+
46: 45
|
| 111 |
+
47: 46
|
| 112 |
+
48: 47
|
| 113 |
+
49: 48
|
| 114 |
+
50: 49
|
| 115 |
+
51: 50
|
| 116 |
+
52: 51
|
| 117 |
+
53: 52
|
| 118 |
+
54: 53
|
| 119 |
+
55: 54
|
| 120 |
+
56: 55
|
| 121 |
+
57: 56
|
| 122 |
+
58: 57
|
| 123 |
+
59: 58
|
| 124 |
+
60: 59
|
| 125 |
+
61: 60
|
| 126 |
+
62: 61
|
| 127 |
+
63: 62
|
| 128 |
+
64: 63
|
| 129 |
+
65: 64
|
| 130 |
+
66: 65
|
| 131 |
+
67: 66
|
| 132 |
+
68: 67
|
| 133 |
+
69: 68
|
| 134 |
+
70: 69
|
| 135 |
+
71: 70
|
| 136 |
+
72: 71
|
| 137 |
+
73: 72
|
| 138 |
+
74: 73
|
| 139 |
+
75: 74
|
| 140 |
+
76: 75
|
| 141 |
+
77: 76
|
| 142 |
+
78: 77
|
| 143 |
+
79: 78
|
| 144 |
+
80: 79
|
| 145 |
+
81: 80
|
| 146 |
+
82: 81
|
| 147 |
+
83: 82
|
| 148 |
+
89: 83
|
| 149 |
+
90: 84
|
| 150 |
+
91: 85
|
| 151 |
+
92: 86
|
| 152 |
+
93: 87
|
| 153 |
+
94: 88
|
| 154 |
+
num_atoms_dist:
|
| 155 |
+
1: 110
|
| 156 |
+
2: 961
|
| 157 |
+
3: 924
|
| 158 |
+
4: 6964
|
| 159 |
+
5: 2130
|
| 160 |
+
6: 3795
|
| 161 |
+
7: 991
|
| 162 |
+
8: 3563
|
| 163 |
+
9: 1527
|
| 164 |
+
10: 4395
|
| 165 |
+
11: 590
|
| 166 |
+
12: 4396
|
| 167 |
+
13: 979
|
| 168 |
+
14: 2959
|
| 169 |
+
15: 666
|
| 170 |
+
16: 3026
|
| 171 |
+
17: 418
|
| 172 |
+
18: 2418
|
| 173 |
+
19: 468
|
| 174 |
+
20: 3949
|
| 175 |
+
norm_len: false
|
| 176 |
+
norm_len_log: false
|
| 177 |
+
norm_abc:
|
| 178 |
+
- 0.6377525345209046
|
| 179 |
+
- 0.7004837423370611
|
| 180 |
+
- 0.9260156168244864
|
| 181 |
+
logging:
|
| 182 |
+
val_check_interval: 8
|
| 183 |
+
val_check_interval_step: 5000
|
| 184 |
+
gen_check_interval: 120
|
| 185 |
+
progress_bar_refresh_rate: 2
|
| 186 |
+
run_gen: true
|
| 187 |
+
debug_mode: false
|
| 188 |
+
gen_check:
|
| 189 |
+
num_samples: 128
|
| 190 |
+
start_epoch: 800
|
| 191 |
+
run_func_timeout: 14400
|
| 192 |
+
return_traj: false
|
| 193 |
+
wandb:
|
| 194 |
+
name: ${expname}
|
| 195 |
+
project: crystalbfn
|
| 196 |
+
entity: null
|
| 197 |
+
log_model: true
|
| 198 |
+
mode: online
|
| 199 |
+
group: ${expname}
|
| 200 |
+
wandb_watch:
|
| 201 |
+
log: all
|
| 202 |
+
log_freq: 500
|
| 203 |
+
lr_monitor:
|
| 204 |
+
logging_interval: step
|
| 205 |
+
log_momentum: false
|
| 206 |
+
model:
|
| 207 |
+
decoder:
|
| 208 |
+
_target_: crysbfn.pl_modules.egnn.cspnet.CSPNet
|
| 209 |
+
hidden_dim: 512
|
| 210 |
+
time_dim: ${model.time_dim}
|
| 211 |
+
max_atoms: ${data.num_atom_types}
|
| 212 |
+
num_layers: 6
|
| 213 |
+
act_fn: silu
|
| 214 |
+
dis_emb: sin
|
| 215 |
+
num_freqs: 128
|
| 216 |
+
edge_style: fc
|
| 217 |
+
smooth: true
|
| 218 |
+
max_neighbors: ${model.max_neighbors}
|
| 219 |
+
cutoff: ${model.radius}
|
| 220 |
+
ln: true
|
| 221 |
+
ip: true
|
| 222 |
+
pred_type: true
|
| 223 |
+
period: ${model.T_max}-${model.T_min}
|
| 224 |
+
dtime_loss: ${model.BFN.dtime_loss}
|
| 225 |
+
add_n_atom_feat: false
|
| 226 |
+
cond_acc: ${model.BFN.cond_acc}
|
| 227 |
+
_target_: crysbfn.pl_modules.crysbfn_plmodel.CrysBFN_PL_Model
|
| 228 |
+
time_dim: 128
|
| 229 |
+
hidden_dim: 256
|
| 230 |
+
latent_dim: 256
|
| 231 |
+
fc_num_layers: 1
|
| 232 |
+
max_atoms: ${data.max_atoms}
|
| 233 |
+
cost_natom: 1.0
|
| 234 |
+
cost_coord: 1
|
| 235 |
+
cost_type: 1
|
| 236 |
+
cost_lattice: 1
|
| 237 |
+
cost_composition: 1.0
|
| 238 |
+
cost_edge: 10.0
|
| 239 |
+
cost_property: 1.0
|
| 240 |
+
beta: 0.01
|
| 241 |
+
teacher_forcing_lattice: true
|
| 242 |
+
teacher_forcing_max_epoch: ${data.teacher_forcing_max_epoch}
|
| 243 |
+
max_neighbors: 20
|
| 244 |
+
radius: 7.0
|
| 245 |
+
sigma_begin: 0.5
|
| 246 |
+
sigma_end: 0.005
|
| 247 |
+
type_sigma_begin: 5.0
|
| 248 |
+
type_sigma_end: 0.01
|
| 249 |
+
num_noise_level: 50
|
| 250 |
+
predict_property: true
|
| 251 |
+
T_min: -np.pi
|
| 252 |
+
T_max: np.pi
|
| 253 |
+
norm_weight: false
|
| 254 |
+
norm_beta: true
|
| 255 |
+
rej_samp: false
|
| 256 |
+
n_samples: 1
|
| 257 |
+
BFN:
|
| 258 |
+
_target_: crysbfn.pl_modules.crysbfn.CrysBFN
|
| 259 |
+
device: cuda
|
| 260 |
+
beta1_type: 0.5
|
| 261 |
+
beta1_coord: 1000.0
|
| 262 |
+
K: ${data.num_atom_types}
|
| 263 |
+
t_min: 1.0e-07
|
| 264 |
+
dtime_loss: true
|
| 265 |
+
dtime_loss_steps: 1000
|
| 266 |
+
sigma1_lattice: 0.03162277660168379
|
| 267 |
+
mult_constant: true
|
| 268 |
+
pred_mean: true
|
| 269 |
+
end_back: true
|
| 270 |
+
sim_cir_flow: true
|
| 271 |
+
cond_acc: ${model.BFN.sim_cir_flow}
|
| 272 |
+
sch_type: linear
|
| 273 |
+
disc_prob_loss: true
|
| 274 |
+
optim:
|
| 275 |
+
optimizer:
|
| 276 |
+
_target_: torch.optim.AdamW
|
| 277 |
+
lr: 0.001
|
| 278 |
+
weight_decay: 0
|
| 279 |
+
use_lr_scheduler: true
|
| 280 |
+
lr_scheduler:
|
| 281 |
+
_target_: torch.optim.lr_scheduler.ReduceLROnPlateau
|
| 282 |
+
factor: 0.6
|
| 283 |
+
patience: 50
|
| 284 |
+
min_lr: 0.0001
|
| 285 |
+
train:
|
| 286 |
+
deterministic: false
|
| 287 |
+
random_seed: 42
|
| 288 |
+
use_queue_clip: false
|
| 289 |
+
gradient_clip_val: 0
|
| 290 |
+
gradient_clip_algorithm: value
|
| 291 |
+
pl_trainer:
|
| 292 |
+
fast_dev_run: false
|
| 293 |
+
gpus:
|
| 294 |
+
- 0
|
| 295 |
+
precision: 32
|
| 296 |
+
max_steps: 2000000
|
| 297 |
+
max_epochs: ${data.train_max_epochs}
|
| 298 |
+
accumulate_grad_batches: 1
|
| 299 |
+
num_sanity_val_steps: 2
|
| 300 |
+
profiler: simple
|
| 301 |
+
monitor_metric: val_loss
|
| 302 |
+
monitor_metric_mode: min
|
| 303 |
+
early_stopping:
|
| 304 |
+
patience: ${data.early_stopping_patience}
|
| 305 |
+
verbose: false
|
| 306 |
+
resume: false
|
| 307 |
+
model_checkpoints:
|
| 308 |
+
save_top_k: 1
|
| 309 |
+
verbose: false
|
| 310 |
+
ema:
|
| 311 |
+
enable: true
|
| 312 |
+
decay: 0.995
|
| 313 |
+
device: cuda
|
| 314 |
+
expname: mp_20_1e3_0.5_s1000_sim_dtime_cate_ema0.995cs_11-07-22-28-31
|
| 315 |
+
core:
|
| 316 |
+
version: 0.0.1
|
| 317 |
+
tags:
|
| 318 |
+
- ${now:%Y-%m-%d}
|