Datasets:

License:
zylipku commited on
Commit
ce28d02
·
verified ·
1 Parent(s): 7c60efc

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. logs/official/runs/ac/ac/.hydra/config.yaml +136 -0
  2. logs/official/runs/ac/ac/.hydra/hydra.yaml +180 -0
  3. logs/official/runs/ac/ac/.hydra/overrides.yaml +1 -0
  4. logs/official/runs/ac/ac/checkpoints/best_final_loss.ckpt +3 -0
  5. logs/official/runs/ac/ac/checkpoints/epoch_epoch=099.ckpt +3 -0
  6. logs/official/runs/ac/ac/checkpoints/last.ckpt +3 -0
  7. logs/official/runs/ac/ac/csv/version_0/hparams.yaml +108 -0
  8. logs/official/runs/ac/ac/csv/version_0/metrics.csv +0 -0
  9. logs/official/runs/ac/ac_realV/.hydra/config.yaml +138 -0
  10. logs/official/runs/ac/ac_realV/.hydra/hydra.yaml +180 -0
  11. logs/official/runs/ac/ac_realV/.hydra/overrides.yaml +1 -0
  12. logs/official/runs/ac/ac_realV/checkpoints/best_final_loss.ckpt +3 -0
  13. logs/official/runs/ac/ac_realV/checkpoints/epoch_epoch=2099.ckpt +3 -0
  14. logs/official/runs/ac/ac_realV/checkpoints/last.ckpt +3 -0
  15. logs/official/runs/ac/ac_realV/csv/version_0/hparams.yaml +110 -0
  16. logs/official/runs/ac/ac_realV/csv/version_0/metrics.csv +0 -0
  17. logs/official/runs/ac/fno/.hydra/config.yaml +136 -0
  18. logs/official/runs/ac/fno/.hydra/hydra.yaml +180 -0
  19. logs/official/runs/ac/fno/.hydra/overrides.yaml +1 -0
  20. logs/official/runs/ac/fno/checkpoints/best_final_loss.ckpt +3 -0
  21. logs/official/runs/ac/fno/checkpoints/epoch_epoch=8599.ckpt +3 -0
  22. logs/official/runs/ac/fno/checkpoints/last.ckpt +3 -0
  23. logs/official/runs/ac/fno/csv/version_0/hparams.yaml +108 -0
  24. logs/official/runs/ac/fno/csv/version_0/metrics.csv +0 -0
  25. logs/official/runs/ac/onsagernet1d_lowrank/.hydra/config.yaml +160 -0
  26. logs/official/runs/ac/onsagernet1d_lowrank/.hydra/hydra.yaml +180 -0
  27. logs/official/runs/ac/onsagernet1d_lowrank/.hydra/overrides.yaml +1 -0
  28. logs/official/runs/ac/onsagernet1d_lowrank/checkpoints/best_final_loss.ckpt +3 -0
  29. logs/official/runs/ac/onsagernet1d_lowrank/checkpoints/epoch_epoch=099.ckpt +3 -0
  30. logs/official/runs/ac/onsagernet1d_lowrank/checkpoints/last.ckpt +3 -0
  31. logs/official/runs/ac/onsagernet1d_lowrank/csv/version_0/hparams.yaml +132 -0
  32. logs/official/runs/ac/onsagernet1d_lowrank/csv/version_0/metrics.csv +0 -0
  33. logs/official/runs/ac/res_onsagernet/.hydra/config.yaml +152 -0
  34. logs/official/runs/ac/res_onsagernet/.hydra/hydra.yaml +180 -0
  35. logs/official/runs/ac/res_onsagernet/.hydra/overrides.yaml +1 -0
  36. logs/official/runs/ac/res_onsagernet/checkpoints/best_final_loss.ckpt +3 -0
  37. logs/official/runs/ac/res_onsagernet/checkpoints/epoch_epoch=199.ckpt +3 -0
  38. logs/official/runs/ac/res_onsagernet/checkpoints/last.ckpt +3 -0
  39. logs/official/runs/ac/res_onsagernet/csv/version_0/hparams.yaml +124 -0
  40. logs/official/runs/ac/res_onsagernet/csv/version_0/metrics.csv +0 -0
  41. logs/official/runs/ac/s_onsagernet/.hydra/config.yaml +162 -0
  42. logs/official/runs/ac/s_onsagernet/.hydra/hydra.yaml +180 -0
  43. logs/official/runs/ac/s_onsagernet/.hydra/overrides.yaml +1 -0
  44. logs/official/runs/ac/s_onsagernet/checkpoints/best_final_loss.ckpt +3 -0
  45. logs/official/runs/ac/s_onsagernet/checkpoints/epoch_epoch=1699.ckpt +3 -0
  46. logs/official/runs/ac/s_onsagernet/checkpoints/last.ckpt +3 -0
  47. logs/official/runs/ac/s_onsagernet/csv/version_0/hparams.yaml +134 -0
  48. logs/official/runs/ac/s_onsagernet/csv/version_0/metrics.csv +0 -0
  49. logs/official/runs/ac_2d/ac_2d/.hydra/config.yaml +138 -0
  50. logs/official/runs/ac_2d/ac_2d/.hydra/hydra.yaml +180 -0
logs/official/runs/ac/ac/.hydra/config.yaml ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task_name: official
2
+ tags:
3
+ - allen_cahn
4
+ train: true
5
+ test: true
6
+ ckpt_path: null
7
+ seed: 42
8
+ print_configs_only: false
9
+ print_model_summary_only: false
10
+ data:
11
+ _target_: src.data.DedalusDynamicsDataModule
12
+ dyn_type: allen_cahn
13
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
14
+ split_ratio:
15
+ - 0.7
16
+ - 0.2
17
+ - 0.1
18
+ batch_size: 32
19
+ chunk_length: 11
20
+ num_workers: 4
21
+ pin_memory: true
22
+ model:
23
+ dynamics:
24
+ potential:
25
+ _target_: src.models.components.spectral_onsagernet.potential.allen_cahn.AllenCahnPotential
26
+ Lx: 6.283185307179586
27
+ Nx: 256
28
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNetAllenCahn
29
+ method: sbdf1
30
+ optimizer:
31
+ _target_: torch.optim.Adam
32
+ _partial_: true
33
+ lr: 0.001
34
+ weight_decay: 0.0
35
+ scheduler:
36
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
37
+ _partial_: true
38
+ mode: min
39
+ factor: 0.5
40
+ patience: 300
41
+ _target_: src.models.meso_module.MesoLitModule
42
+ dt: 0.001
43
+ accumulated_nsteps: 3
44
+ loss_fn: mse
45
+ compile: true
46
+ reg_weight: null
47
+ callbacks:
48
+ model_summary:
49
+ _target_: lightning.pytorch.callbacks.RichModelSummary
50
+ max_depth: -1
51
+ rich_progress_bar:
52
+ _target_: lightning.pytorch.callbacks.RichProgressBar
53
+ lr_monitor:
54
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
55
+ logging_interval: epoch
56
+ model_checkpoint:
57
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
58
+ dirpath: ${paths.output_dir}/checkpoints
59
+ filename: epoch_{epoch:03d}
60
+ monitor: valid/loss
61
+ verbose: false
62
+ save_last: true
63
+ save_top_k: 1
64
+ mode: min
65
+ auto_insert_metric_name: true
66
+ save_weights_only: false
67
+ every_n_train_steps: null
68
+ train_time_interval: null
69
+ every_n_epochs: null
70
+ save_on_train_epoch_end: null
71
+ early_stopping:
72
+ _target_: lightning.pytorch.callbacks.EarlyStopping
73
+ monitor: valid/loss
74
+ min_delta: 0.0
75
+ patience: 5
76
+ verbose: false
77
+ mode: min
78
+ strict: true
79
+ check_finite: true
80
+ stopping_threshold: null
81
+ divergence_threshold: null
82
+ check_on_train_epoch_end: null
83
+ pred:
84
+ _target_: src.callbacks.viz.pred.PredViz
85
+ every_n_validation: 5
86
+ model_checkpoint_final_loss:
87
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
88
+ monitor: valid/final_loss
89
+ dirpath: ${paths.output_dir}/checkpoints
90
+ filename: best_final_loss
91
+ mode: min
92
+ logger:
93
+ csv:
94
+ _target_: lightning.pytorch.loggers.csv_logs.CSVLogger
95
+ save_dir: ${paths.output_dir}
96
+ name: csv/
97
+ prefix: ''
98
+ wandb:
99
+ _target_: lightning.pytorch.loggers.wandb.WandbLogger
100
+ save_dir: ${paths.output_dir}
101
+ offline: false
102
+ id: null
103
+ anonymous: null
104
+ project: meso-SIR
105
+ log_model: false
106
+ prefix: ''
107
+ entity: zy-li-nus-national-university-of-singapore
108
+ group: ''
109
+ tags: ${tags}
110
+ job_type: ''
111
+ notes: ac
112
+ trainer:
113
+ _target_: lightning.pytorch.trainer.Trainer
114
+ default_root_dir: ${paths.output_dir}
115
+ min_epochs: 1
116
+ max_epochs: 10000
117
+ accelerator: gpu
118
+ devices: auto
119
+ deterministic: false
120
+ profiler: simple
121
+ strategy: ddp
122
+ num_nodes: 1
123
+ sync_batchnorm: true
124
+ check_val_every_n_epoch: 100
125
+ log_every_n_steps: 1000
126
+ paths:
127
+ root_dir: ${oc.env:PROJECT_ROOT}
128
+ data_dir: ${paths.root_dir}/data/
129
+ log_dir: ${paths.root_dir}/logs/
130
+ output_dir: ${hydra:runtime.output_dir}
131
+ work_dir: ${hydra:runtime.cwd}
132
+ the_well_base_dir: ${paths.root_dir}/data/the_well/datasets/
133
+ extras:
134
+ ignore_warnings: false
135
+ enforce_tags: true
136
+ print_config: true
logs/official/runs/ac/ac/.hydra/hydra.yaml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${paths.log_dir}/${task_name}/runs/ac/ac
4
+ sweep:
5
+ dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
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
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.runtime.output_dir}/${task_name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - experiment=ac/ac
124
+ job:
125
+ name: train
126
+ chdir: null
127
+ override_dirname: experiment=ac/ac
128
+ id: ???
129
+ num: ???
130
+ config_name: train.yaml
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /home/user/Projects/meso-SIR
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/user/Projects/meso-SIR/configs
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/user/Projects/meso-SIR/logs/official/runs/ac/ac
156
+ choices:
157
+ debug: null
158
+ local: default
159
+ hparams_search: null
160
+ experiment: ac/ac
161
+ hydra: default
162
+ extras: default
163
+ paths: default
164
+ trainer: ddp
165
+ callbacks: default
166
+ model: ac
167
+ model/scheduler: reduce_lr_on_plateau
168
+ model/optimizer: adam
169
+ model/dynamics: ac
170
+ data: allen_cahn
171
+ hydra/env: default
172
+ hydra/callbacks: null
173
+ hydra/job_logging: colorlog
174
+ hydra/hydra_logging: colorlog
175
+ hydra/hydra_help: default
176
+ hydra/help: default
177
+ hydra/sweeper: basic
178
+ hydra/launcher: basic
179
+ hydra/output: default
180
+ verbose: false
logs/official/runs/ac/ac/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - experiment=ac/ac
logs/official/runs/ac/ac/checkpoints/best_final_loss.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f592c42a056577b8301337035545bb404ad923363d1a2dc7b1cda50c30850ba2
3
+ size 11193
logs/official/runs/ac/ac/checkpoints/epoch_epoch=099.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd98a95f97cbcf28617a6d074b71a9aa5a4f8047d47c82b8c770f0730f718271
3
+ size 11321
logs/official/runs/ac/ac/checkpoints/last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e112568b5f5fd821fd8175f3855ecb2f4d783c8d66a1fc8b2ddd6f7343ce60f5
3
+ size 11449
logs/official/runs/ac/ac/csv/version_0/hparams.yaml ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ dynamics:
3
+ potential:
4
+ _target_: src.models.components.spectral_onsagernet.potential.allen_cahn.AllenCahnPotential
5
+ Lx: 6.283185307179586
6
+ Nx: 256
7
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNetAllenCahn
8
+ method: sbdf1
9
+ optimizer:
10
+ _target_: torch.optim.Adam
11
+ _partial_: true
12
+ lr: 0.001
13
+ weight_decay: 0.0
14
+ scheduler:
15
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
16
+ _partial_: true
17
+ mode: min
18
+ factor: 0.5
19
+ patience: 300
20
+ _target_: src.models.meso_module.MesoLitModule
21
+ dt: 0.001
22
+ accumulated_nsteps: 3
23
+ loss_fn: mse
24
+ compile: true
25
+ reg_weight: null
26
+ model/params/total: 2
27
+ model/params/trainable: 2
28
+ model/params/non_trainable: 0
29
+ data:
30
+ _target_: src.data.DedalusDynamicsDataModule
31
+ dyn_type: allen_cahn
32
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
33
+ split_ratio:
34
+ - 0.7
35
+ - 0.2
36
+ - 0.1
37
+ batch_size: 32
38
+ chunk_length: 11
39
+ num_workers: 4
40
+ pin_memory: true
41
+ trainer:
42
+ _target_: lightning.pytorch.trainer.Trainer
43
+ default_root_dir: ${paths.output_dir}
44
+ min_epochs: 1
45
+ max_epochs: 10000
46
+ accelerator: gpu
47
+ devices: auto
48
+ deterministic: false
49
+ profiler: simple
50
+ strategy: ddp
51
+ num_nodes: 1
52
+ sync_batchnorm: true
53
+ check_val_every_n_epoch: 100
54
+ log_every_n_steps: 1000
55
+ callbacks:
56
+ model_summary:
57
+ _target_: lightning.pytorch.callbacks.RichModelSummary
58
+ max_depth: -1
59
+ rich_progress_bar:
60
+ _target_: lightning.pytorch.callbacks.RichProgressBar
61
+ lr_monitor:
62
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
63
+ logging_interval: epoch
64
+ model_checkpoint:
65
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
66
+ dirpath: ${paths.output_dir}/checkpoints
67
+ filename: epoch_{epoch:03d}
68
+ monitor: valid/loss
69
+ verbose: false
70
+ save_last: true
71
+ save_top_k: 1
72
+ mode: min
73
+ auto_insert_metric_name: true
74
+ save_weights_only: false
75
+ every_n_train_steps: null
76
+ train_time_interval: null
77
+ every_n_epochs: null
78
+ save_on_train_epoch_end: null
79
+ early_stopping:
80
+ _target_: lightning.pytorch.callbacks.EarlyStopping
81
+ monitor: valid/loss
82
+ min_delta: 0.0
83
+ patience: 5
84
+ verbose: false
85
+ mode: min
86
+ strict: true
87
+ check_finite: true
88
+ stopping_threshold: null
89
+ divergence_threshold: null
90
+ check_on_train_epoch_end: null
91
+ pred:
92
+ _target_: src.callbacks.viz.pred.PredViz
93
+ every_n_validation: 5
94
+ model_checkpoint_final_loss:
95
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
96
+ monitor: valid/final_loss
97
+ dirpath: ${paths.output_dir}/checkpoints
98
+ filename: best_final_loss
99
+ mode: min
100
+ extras:
101
+ ignore_warnings: false
102
+ enforce_tags: true
103
+ print_config: true
104
+ task_name: official
105
+ tags:
106
+ - allen_cahn
107
+ ckpt_path: null
108
+ seed: 42
logs/official/runs/ac/ac/csv/version_0/metrics.csv ADDED
The diff for this file is too large to render. See raw diff
 
logs/official/runs/ac/ac_realV/.hydra/config.yaml ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task_name: official
2
+ tags:
3
+ - allen_cahn
4
+ train: true
5
+ test: true
6
+ ckpt_path: null
7
+ seed: 42
8
+ print_configs_only: false
9
+ print_model_summary_only: false
10
+ data:
11
+ _target_: src.data.DedalusDynamicsDataModule
12
+ dyn_type: allen_cahn
13
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
14
+ split_ratio:
15
+ - 0.7
16
+ - 0.2
17
+ - 0.1
18
+ batch_size: 32
19
+ chunk_length: 11
20
+ num_workers: 4
21
+ pin_memory: true
22
+ model:
23
+ dynamics:
24
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNet1d
25
+ learn_M: true
26
+ learn_W: true
27
+ potential:
28
+ _target_: src.models.components.spectral_onsagernet.potential.allen_cahn.AllenCahnPotential
29
+ Lx: 6.283185307179586
30
+ Nx: 256
31
+ method: euler
32
+ optimizer:
33
+ _target_: torch.optim.Adam
34
+ _partial_: true
35
+ lr: 0.001
36
+ weight_decay: 0.0
37
+ scheduler:
38
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
39
+ _partial_: true
40
+ mode: min
41
+ factor: 0.5
42
+ patience: 300
43
+ _target_: src.models.meso_module.MesoLitModule
44
+ dt: 0.001
45
+ accumulated_nsteps: 3
46
+ loss_fn: mse
47
+ compile: true
48
+ reg_weight: null
49
+ callbacks:
50
+ model_summary:
51
+ _target_: lightning.pytorch.callbacks.RichModelSummary
52
+ max_depth: -1
53
+ rich_progress_bar:
54
+ _target_: lightning.pytorch.callbacks.RichProgressBar
55
+ lr_monitor:
56
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
57
+ logging_interval: epoch
58
+ model_checkpoint:
59
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
60
+ dirpath: ${paths.output_dir}/checkpoints
61
+ filename: epoch_{epoch:03d}
62
+ monitor: valid/loss
63
+ verbose: false
64
+ save_last: true
65
+ save_top_k: 1
66
+ mode: min
67
+ auto_insert_metric_name: true
68
+ save_weights_only: false
69
+ every_n_train_steps: null
70
+ train_time_interval: null
71
+ every_n_epochs: null
72
+ save_on_train_epoch_end: null
73
+ early_stopping:
74
+ _target_: lightning.pytorch.callbacks.EarlyStopping
75
+ monitor: valid/loss
76
+ min_delta: 0.0
77
+ patience: 5
78
+ verbose: false
79
+ mode: min
80
+ strict: true
81
+ check_finite: true
82
+ stopping_threshold: null
83
+ divergence_threshold: null
84
+ check_on_train_epoch_end: null
85
+ pred:
86
+ _target_: src.callbacks.viz.pred.PredViz
87
+ every_n_validation: 5
88
+ model_checkpoint_final_loss:
89
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
90
+ monitor: valid/final_loss
91
+ dirpath: ${paths.output_dir}/checkpoints
92
+ filename: best_final_loss
93
+ mode: min
94
+ logger:
95
+ csv:
96
+ _target_: lightning.pytorch.loggers.csv_logs.CSVLogger
97
+ save_dir: ${paths.output_dir}
98
+ name: csv/
99
+ prefix: ''
100
+ wandb:
101
+ _target_: lightning.pytorch.loggers.wandb.WandbLogger
102
+ save_dir: ${paths.output_dir}
103
+ offline: false
104
+ id: null
105
+ anonymous: null
106
+ project: meso-SIR
107
+ log_model: false
108
+ prefix: ''
109
+ entity: zy-li-nus-national-university-of-singapore
110
+ group: ''
111
+ tags: ${tags}
112
+ job_type: ''
113
+ notes: ac_realV
114
+ trainer:
115
+ _target_: lightning.pytorch.trainer.Trainer
116
+ default_root_dir: ${paths.output_dir}
117
+ min_epochs: 1
118
+ max_epochs: 10000
119
+ accelerator: gpu
120
+ devices: auto
121
+ deterministic: false
122
+ profiler: simple
123
+ strategy: ddp
124
+ num_nodes: 1
125
+ sync_batchnorm: true
126
+ check_val_every_n_epoch: 100
127
+ log_every_n_steps: 1000
128
+ paths:
129
+ root_dir: ${oc.env:PROJECT_ROOT}
130
+ data_dir: ${paths.root_dir}/data/
131
+ log_dir: ${paths.root_dir}/logs/
132
+ output_dir: ${hydra:runtime.output_dir}
133
+ work_dir: ${hydra:runtime.cwd}
134
+ the_well_base_dir: ${paths.root_dir}/data/the_well/datasets/
135
+ extras:
136
+ ignore_warnings: false
137
+ enforce_tags: true
138
+ print_config: true
logs/official/runs/ac/ac_realV/.hydra/hydra.yaml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${paths.log_dir}/${task_name}/runs/ac/ac_realV
4
+ sweep:
5
+ dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
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
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.runtime.output_dir}/${task_name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - experiment=ac/ac_realV
124
+ job:
125
+ name: train
126
+ chdir: null
127
+ override_dirname: experiment=ac/ac_realV
128
+ id: ???
129
+ num: ???
130
+ config_name: train.yaml
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /home/user/Projects/meso-SIR
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/user/Projects/meso-SIR/configs
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/user/Projects/meso-SIR/logs/official/runs/ac/ac_realV
156
+ choices:
157
+ debug: null
158
+ local: default
159
+ hparams_search: null
160
+ experiment: ac/ac_realV
161
+ hydra: default
162
+ extras: default
163
+ paths: default
164
+ trainer: ddp
165
+ callbacks: default
166
+ model: ac_realV
167
+ model/scheduler: reduce_lr_on_plateau
168
+ model/optimizer: adam
169
+ model/dynamics: ac_realV
170
+ data: allen_cahn
171
+ hydra/env: default
172
+ hydra/callbacks: null
173
+ hydra/job_logging: colorlog
174
+ hydra/hydra_logging: colorlog
175
+ hydra/hydra_help: default
176
+ hydra/help: default
177
+ hydra/sweeper: basic
178
+ hydra/launcher: basic
179
+ hydra/output: default
180
+ verbose: false
logs/official/runs/ac/ac_realV/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - experiment=ac/ac_realV
logs/official/runs/ac/ac_realV/checkpoints/best_final_loss.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:681eb671704dc29cc75b0d5200a7f74b9de6c03536ca3dc1584bb16f60be1ab0
3
+ size 14003
logs/official/runs/ac/ac_realV/checkpoints/epoch_epoch=2099.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cba44962f57d5670c0acfacd9842d0c673385dc0565c915ad8a33e7b33595782
3
+ size 14003
logs/official/runs/ac/ac_realV/checkpoints/last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:252d33dbccb5c98c6c5b0b25015ec90183e7e81024e086a08787ed4962ddcedc
3
+ size 14003
logs/official/runs/ac/ac_realV/csv/version_0/hparams.yaml ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ dynamics:
3
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNet1d
4
+ learn_M: true
5
+ learn_W: true
6
+ potential:
7
+ _target_: src.models.components.spectral_onsagernet.potential.allen_cahn.AllenCahnPotential
8
+ Lx: 6.283185307179586
9
+ Nx: 256
10
+ method: euler
11
+ optimizer:
12
+ _target_: torch.optim.Adam
13
+ _partial_: true
14
+ lr: 0.001
15
+ weight_decay: 0.0
16
+ scheduler:
17
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
18
+ _partial_: true
19
+ mode: min
20
+ factor: 0.5
21
+ patience: 300
22
+ _target_: src.models.meso_module.MesoLitModule
23
+ dt: 0.001
24
+ accumulated_nsteps: 3
25
+ loss_fn: mse
26
+ compile: true
27
+ reg_weight: null
28
+ model/params/total: 259
29
+ model/params/trainable: 259
30
+ model/params/non_trainable: 0
31
+ data:
32
+ _target_: src.data.DedalusDynamicsDataModule
33
+ dyn_type: allen_cahn
34
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
35
+ split_ratio:
36
+ - 0.7
37
+ - 0.2
38
+ - 0.1
39
+ batch_size: 32
40
+ chunk_length: 11
41
+ num_workers: 4
42
+ pin_memory: true
43
+ trainer:
44
+ _target_: lightning.pytorch.trainer.Trainer
45
+ default_root_dir: ${paths.output_dir}
46
+ min_epochs: 1
47
+ max_epochs: 10000
48
+ accelerator: gpu
49
+ devices: auto
50
+ deterministic: false
51
+ profiler: simple
52
+ strategy: ddp
53
+ num_nodes: 1
54
+ sync_batchnorm: true
55
+ check_val_every_n_epoch: 100
56
+ log_every_n_steps: 1000
57
+ callbacks:
58
+ model_summary:
59
+ _target_: lightning.pytorch.callbacks.RichModelSummary
60
+ max_depth: -1
61
+ rich_progress_bar:
62
+ _target_: lightning.pytorch.callbacks.RichProgressBar
63
+ lr_monitor:
64
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
65
+ logging_interval: epoch
66
+ model_checkpoint:
67
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
68
+ dirpath: ${paths.output_dir}/checkpoints
69
+ filename: epoch_{epoch:03d}
70
+ monitor: valid/loss
71
+ verbose: false
72
+ save_last: true
73
+ save_top_k: 1
74
+ mode: min
75
+ auto_insert_metric_name: true
76
+ save_weights_only: false
77
+ every_n_train_steps: null
78
+ train_time_interval: null
79
+ every_n_epochs: null
80
+ save_on_train_epoch_end: null
81
+ early_stopping:
82
+ _target_: lightning.pytorch.callbacks.EarlyStopping
83
+ monitor: valid/loss
84
+ min_delta: 0.0
85
+ patience: 5
86
+ verbose: false
87
+ mode: min
88
+ strict: true
89
+ check_finite: true
90
+ stopping_threshold: null
91
+ divergence_threshold: null
92
+ check_on_train_epoch_end: null
93
+ pred:
94
+ _target_: src.callbacks.viz.pred.PredViz
95
+ every_n_validation: 5
96
+ model_checkpoint_final_loss:
97
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
98
+ monitor: valid/final_loss
99
+ dirpath: ${paths.output_dir}/checkpoints
100
+ filename: best_final_loss
101
+ mode: min
102
+ extras:
103
+ ignore_warnings: false
104
+ enforce_tags: true
105
+ print_config: true
106
+ task_name: official
107
+ tags:
108
+ - allen_cahn
109
+ ckpt_path: null
110
+ seed: 42
logs/official/runs/ac/ac_realV/csv/version_0/metrics.csv ADDED
The diff for this file is too large to render. See raw diff
 
logs/official/runs/ac/fno/.hydra/config.yaml ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task_name: official
2
+ tags:
3
+ - allen_cahn
4
+ train: true
5
+ test: true
6
+ ckpt_path: null
7
+ seed: 42
8
+ print_configs_only: false
9
+ print_model_summary_only: false
10
+ data:
11
+ _target_: src.data.DedalusDynamicsDataModule
12
+ dyn_type: allen_cahn
13
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
14
+ split_ratio:
15
+ - 0.7
16
+ - 0.2
17
+ - 0.1
18
+ batch_size: 8
19
+ chunk_length: 11
20
+ num_workers: 4
21
+ pin_memory: true
22
+ model:
23
+ dynamics:
24
+ _target_: src.models.components.FNO1dBaseline
25
+ n_modes: 24
26
+ in_channels: 1
27
+ out_channels: 1
28
+ hidden_channels: 32
29
+ step_method: euler
30
+ optimizer:
31
+ _target_: torch.optim.Adam
32
+ _partial_: true
33
+ lr: 0.001
34
+ weight_decay: 0.0
35
+ scheduler:
36
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
37
+ _partial_: true
38
+ mode: min
39
+ factor: 0.5
40
+ patience: 300
41
+ _target_: src.models.meso_module.MesoLitModule
42
+ dt: 0.001
43
+ accumulated_nsteps: 3
44
+ loss_fn: mse
45
+ compile: true
46
+ reg_weight: null
47
+ callbacks:
48
+ model_summary:
49
+ _target_: lightning.pytorch.callbacks.RichModelSummary
50
+ max_depth: -1
51
+ rich_progress_bar:
52
+ _target_: lightning.pytorch.callbacks.RichProgressBar
53
+ lr_monitor:
54
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
55
+ logging_interval: epoch
56
+ model_checkpoint:
57
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
58
+ dirpath: ${paths.output_dir}/checkpoints
59
+ filename: epoch_{epoch:03d}
60
+ monitor: valid/loss
61
+ verbose: false
62
+ save_last: true
63
+ save_top_k: 1
64
+ mode: min
65
+ auto_insert_metric_name: true
66
+ save_weights_only: false
67
+ every_n_train_steps: null
68
+ train_time_interval: null
69
+ every_n_epochs: null
70
+ save_on_train_epoch_end: null
71
+ early_stopping:
72
+ _target_: lightning.pytorch.callbacks.EarlyStopping
73
+ monitor: valid/loss
74
+ min_delta: 0.0
75
+ patience: 5
76
+ verbose: false
77
+ mode: min
78
+ strict: true
79
+ check_finite: true
80
+ stopping_threshold: null
81
+ divergence_threshold: null
82
+ check_on_train_epoch_end: null
83
+ pred:
84
+ _target_: src.callbacks.viz.pred.PredViz
85
+ every_n_validation: 5
86
+ model_checkpoint_final_loss:
87
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
88
+ monitor: valid/final_loss
89
+ dirpath: ${paths.output_dir}/checkpoints
90
+ filename: best_final_loss
91
+ mode: min
92
+ logger:
93
+ csv:
94
+ _target_: lightning.pytorch.loggers.csv_logs.CSVLogger
95
+ save_dir: ${paths.output_dir}
96
+ name: csv/
97
+ prefix: ''
98
+ wandb:
99
+ _target_: lightning.pytorch.loggers.wandb.WandbLogger
100
+ save_dir: ${paths.output_dir}
101
+ offline: false
102
+ id: null
103
+ anonymous: null
104
+ project: meso-SIR
105
+ log_model: false
106
+ prefix: ''
107
+ entity: zy-li-nus-national-university-of-singapore
108
+ group: ''
109
+ tags: ${tags}
110
+ job_type: ''
111
+ notes: fno
112
+ trainer:
113
+ _target_: lightning.pytorch.trainer.Trainer
114
+ default_root_dir: ${paths.output_dir}
115
+ min_epochs: 1
116
+ max_epochs: 10000
117
+ accelerator: gpu
118
+ devices: auto
119
+ deterministic: false
120
+ profiler: simple
121
+ strategy: ddp
122
+ num_nodes: 1
123
+ sync_batchnorm: true
124
+ check_val_every_n_epoch: 100
125
+ log_every_n_steps: 1000
126
+ paths:
127
+ root_dir: ${oc.env:PROJECT_ROOT}
128
+ data_dir: ${paths.root_dir}/data/
129
+ log_dir: ${paths.root_dir}/logs/
130
+ output_dir: ${hydra:runtime.output_dir}
131
+ work_dir: ${hydra:runtime.cwd}
132
+ the_well_base_dir: ${paths.root_dir}/data/the_well/datasets/
133
+ extras:
134
+ ignore_warnings: false
135
+ enforce_tags: true
136
+ print_config: true
logs/official/runs/ac/fno/.hydra/hydra.yaml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${paths.log_dir}/${task_name}/runs/ac/fno
4
+ sweep:
5
+ dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
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
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.runtime.output_dir}/${task_name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - experiment=ac_2d/fno
124
+ job:
125
+ name: train
126
+ chdir: null
127
+ override_dirname: experiment=ac_2d/fno
128
+ id: ???
129
+ num: ???
130
+ config_name: train.yaml
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /home/user/Projects/meso-SIR
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/user/Projects/meso-SIR/configs
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/user/Projects/meso-SIR/logs/official/runs/ac/fno
156
+ choices:
157
+ debug: null
158
+ local: default
159
+ hparams_search: null
160
+ experiment: ac_2d/fno
161
+ hydra: default
162
+ extras: default
163
+ paths: default
164
+ trainer: ddp
165
+ callbacks: default
166
+ model: fno2d
167
+ model/scheduler: reduce_lr_on_plateau
168
+ model/optimizer: adam
169
+ model/dynamics: fno2d/large
170
+ data: allen_cahn_2d
171
+ hydra/env: default
172
+ hydra/callbacks: null
173
+ hydra/job_logging: colorlog
174
+ hydra/hydra_logging: colorlog
175
+ hydra/hydra_help: default
176
+ hydra/help: default
177
+ hydra/sweeper: basic
178
+ hydra/launcher: basic
179
+ hydra/output: default
180
+ verbose: false
logs/official/runs/ac/fno/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - experiment=ac_2d/fno
logs/official/runs/ac/fno/checkpoints/best_final_loss.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7598961e049d3c2de75238754d2452a92a99d1d1a1f47aa4db44de149aad9112
3
+ size 1492731
logs/official/runs/ac/fno/checkpoints/epoch_epoch=8599.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f70b086a1c55c4010462bd52e8bd799735fd1dfe52c8353fcf7b387eb68ae2aa
3
+ size 1492731
logs/official/runs/ac/fno/checkpoints/last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e8c88721d68e4810691341c9132eebc70ca792f20cf7730106d0fdb6d4d7cab
3
+ size 1492731
logs/official/runs/ac/fno/csv/version_0/hparams.yaml ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ dynamics:
3
+ _target_: src.models.components.FNO1dBaseline
4
+ n_modes: 24
5
+ in_channels: 1
6
+ out_channels: 1
7
+ hidden_channels: 32
8
+ step_method: euler
9
+ optimizer:
10
+ _target_: torch.optim.Adam
11
+ _partial_: true
12
+ lr: 0.001
13
+ weight_decay: 0.0
14
+ scheduler:
15
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
16
+ _partial_: true
17
+ mode: min
18
+ factor: 0.5
19
+ patience: 300
20
+ _target_: src.models.meso_module.MesoLitModule
21
+ dt: 0.001
22
+ accumulated_nsteps: 3
23
+ loss_fn: mse
24
+ compile: true
25
+ reg_weight: null
26
+ model/params/total: 66337
27
+ model/params/trainable: 66337
28
+ model/params/non_trainable: 0
29
+ data:
30
+ _target_: src.data.DedalusDynamicsDataModule
31
+ dyn_type: allen_cahn
32
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
33
+ split_ratio:
34
+ - 0.7
35
+ - 0.2
36
+ - 0.1
37
+ batch_size: 32
38
+ chunk_length: 11
39
+ num_workers: 4
40
+ pin_memory: true
41
+ trainer:
42
+ _target_: lightning.pytorch.trainer.Trainer
43
+ default_root_dir: ${paths.output_dir}
44
+ min_epochs: 1
45
+ max_epochs: 10000
46
+ accelerator: gpu
47
+ devices: auto
48
+ deterministic: false
49
+ profiler: simple
50
+ strategy: ddp
51
+ num_nodes: 1
52
+ sync_batchnorm: true
53
+ check_val_every_n_epoch: 100
54
+ log_every_n_steps: 1000
55
+ callbacks:
56
+ model_summary:
57
+ _target_: lightning.pytorch.callbacks.RichModelSummary
58
+ max_depth: -1
59
+ rich_progress_bar:
60
+ _target_: lightning.pytorch.callbacks.RichProgressBar
61
+ lr_monitor:
62
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
63
+ logging_interval: epoch
64
+ model_checkpoint:
65
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
66
+ dirpath: ${paths.output_dir}/checkpoints
67
+ filename: epoch_{epoch:03d}
68
+ monitor: valid/loss
69
+ verbose: false
70
+ save_last: true
71
+ save_top_k: 1
72
+ mode: min
73
+ auto_insert_metric_name: true
74
+ save_weights_only: false
75
+ every_n_train_steps: null
76
+ train_time_interval: null
77
+ every_n_epochs: null
78
+ save_on_train_epoch_end: null
79
+ early_stopping:
80
+ _target_: lightning.pytorch.callbacks.EarlyStopping
81
+ monitor: valid/loss
82
+ min_delta: 0.0
83
+ patience: 5
84
+ verbose: false
85
+ mode: min
86
+ strict: true
87
+ check_finite: true
88
+ stopping_threshold: null
89
+ divergence_threshold: null
90
+ check_on_train_epoch_end: null
91
+ pred:
92
+ _target_: src.callbacks.viz.pred.PredViz
93
+ every_n_validation: 5
94
+ model_checkpoint_final_loss:
95
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
96
+ monitor: valid/final_loss
97
+ dirpath: ${paths.output_dir}/checkpoints
98
+ filename: best_final_loss
99
+ mode: min
100
+ extras:
101
+ ignore_warnings: false
102
+ enforce_tags: true
103
+ print_config: true
104
+ task_name: official
105
+ tags:
106
+ - allen_cahn
107
+ ckpt_path: null
108
+ seed: 42
logs/official/runs/ac/fno/csv/version_0/metrics.csv ADDED
The diff for this file is too large to render. See raw diff
 
logs/official/runs/ac/onsagernet1d_lowrank/.hydra/config.yaml ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task_name: official
2
+ tags:
3
+ - allen_cahn
4
+ train: true
5
+ test: true
6
+ ckpt_path: null
7
+ seed: 42
8
+ print_configs_only: false
9
+ print_model_summary_only: false
10
+ data:
11
+ _target_: src.data.DedalusDynamicsDataModule
12
+ dyn_type: allen_cahn
13
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
14
+ split_ratio:
15
+ - 0.7
16
+ - 0.2
17
+ - 0.1
18
+ batch_size: 32
19
+ chunk_length: 11
20
+ num_workers: 4
21
+ pin_memory: true
22
+ model:
23
+ dynamics:
24
+ _target_: src.models.components.dynamics.onsagernet.OnsagerNet1d
25
+ Nx: 256
26
+ n_channels: 1
27
+ step_method: euler
28
+ potential:
29
+ _target_: src.models.components.dynamics.onsagernet.CoercivePotential
30
+ in_dim: 256
31
+ hidden_dims:
32
+ - 256
33
+ - 256
34
+ - 256
35
+ alpha_init: 0.01
36
+ act_name: tanh
37
+ dissipation:
38
+ _target_: src.models.components.dynamics.onsagernet.LowRankDissipation
39
+ in_dim: 256
40
+ rank: 8
41
+ hidden_dims:
42
+ - 256
43
+ - 256
44
+ beta: 0.001
45
+ act_name: tanh
46
+ conservation:
47
+ _target_: src.models.components.dynamics.onsagernet.LowRankConservation
48
+ in_dim: 256
49
+ rank: 4
50
+ hidden_dims:
51
+ - 256
52
+ - 256
53
+ act_name: tanh
54
+ optimizer:
55
+ _target_: torch.optim.Adam
56
+ _partial_: true
57
+ lr: 0.001
58
+ weight_decay: 0.0
59
+ scheduler:
60
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
61
+ _partial_: true
62
+ mode: min
63
+ factor: 0.5
64
+ patience: 300
65
+ _target_: src.models.meso_module.MesoLitModule
66
+ dt: 0.001
67
+ accumulated_nsteps: 3
68
+ loss_fn: mse
69
+ compile: true
70
+ reg_weight: null
71
+ callbacks:
72
+ model_summary:
73
+ _target_: lightning.pytorch.callbacks.RichModelSummary
74
+ max_depth: -1
75
+ rich_progress_bar:
76
+ _target_: lightning.pytorch.callbacks.RichProgressBar
77
+ lr_monitor:
78
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
79
+ logging_interval: epoch
80
+ model_checkpoint:
81
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
82
+ dirpath: ${paths.output_dir}/checkpoints
83
+ filename: epoch_{epoch:03d}
84
+ monitor: valid/loss
85
+ verbose: false
86
+ save_last: true
87
+ save_top_k: 1
88
+ mode: min
89
+ auto_insert_metric_name: true
90
+ save_weights_only: false
91
+ every_n_train_steps: null
92
+ train_time_interval: null
93
+ every_n_epochs: null
94
+ save_on_train_epoch_end: null
95
+ early_stopping:
96
+ _target_: lightning.pytorch.callbacks.EarlyStopping
97
+ monitor: valid/loss
98
+ min_delta: 0.0
99
+ patience: 5
100
+ verbose: false
101
+ mode: min
102
+ strict: true
103
+ check_finite: true
104
+ stopping_threshold: null
105
+ divergence_threshold: null
106
+ check_on_train_epoch_end: null
107
+ pred:
108
+ _target_: src.callbacks.viz.pred.PredViz
109
+ every_n_validation: 5
110
+ model_checkpoint_final_loss:
111
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
112
+ monitor: valid/final_loss
113
+ dirpath: ${paths.output_dir}/checkpoints
114
+ filename: best_final_loss
115
+ mode: min
116
+ logger:
117
+ csv:
118
+ _target_: lightning.pytorch.loggers.csv_logs.CSVLogger
119
+ save_dir: ${paths.output_dir}
120
+ name: csv/
121
+ prefix: ''
122
+ wandb:
123
+ _target_: lightning.pytorch.loggers.wandb.WandbLogger
124
+ save_dir: ${paths.output_dir}
125
+ offline: false
126
+ id: null
127
+ anonymous: null
128
+ project: meso-SIR
129
+ log_model: false
130
+ prefix: ''
131
+ entity: zy-li-nus-national-university-of-singapore
132
+ group: ''
133
+ tags: ${tags}
134
+ job_type: ''
135
+ notes: onsagernet1d_lowrank
136
+ trainer:
137
+ _target_: lightning.pytorch.trainer.Trainer
138
+ default_root_dir: ${paths.output_dir}
139
+ min_epochs: 1
140
+ max_epochs: 10000
141
+ accelerator: gpu
142
+ devices: auto
143
+ deterministic: false
144
+ profiler: simple
145
+ strategy: ddp
146
+ num_nodes: 1
147
+ sync_batchnorm: true
148
+ check_val_every_n_epoch: 100
149
+ log_every_n_steps: 1000
150
+ paths:
151
+ root_dir: ${oc.env:PROJECT_ROOT}
152
+ data_dir: ${paths.root_dir}/data/
153
+ log_dir: ${paths.root_dir}/logs/
154
+ output_dir: ${hydra:runtime.output_dir}
155
+ work_dir: ${hydra:runtime.cwd}
156
+ the_well_base_dir: ${paths.root_dir}/data/the_well/datasets/
157
+ extras:
158
+ ignore_warnings: false
159
+ enforce_tags: true
160
+ print_config: true
logs/official/runs/ac/onsagernet1d_lowrank/.hydra/hydra.yaml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${paths.log_dir}/${task_name}/runs/ac/onsagernet1d_lowrank
4
+ sweep:
5
+ dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
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
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.runtime.output_dir}/${task_name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - experiment=ac/onsagernet1d_lowrank
124
+ job:
125
+ name: train
126
+ chdir: null
127
+ override_dirname: experiment=ac/onsagernet1d_lowrank
128
+ id: ???
129
+ num: ???
130
+ config_name: train.yaml
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /home/user/Projects/meso-SIR
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/user/Projects/meso-SIR/configs
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/user/Projects/meso-SIR/logs/official/runs/ac/onsagernet1d_lowrank
156
+ choices:
157
+ debug: null
158
+ local: default
159
+ hparams_search: null
160
+ experiment: ac/onsagernet1d_lowrank
161
+ hydra: default
162
+ extras: default
163
+ paths: default
164
+ trainer: ddp
165
+ callbacks: default
166
+ model: onsagernet1d_lowrank
167
+ model/scheduler: reduce_lr_on_plateau
168
+ model/optimizer: adam
169
+ model/dynamics: onsagernet/low_rank
170
+ data: allen_cahn
171
+ hydra/env: default
172
+ hydra/callbacks: null
173
+ hydra/job_logging: colorlog
174
+ hydra/hydra_logging: colorlog
175
+ hydra/hydra_help: default
176
+ hydra/help: default
177
+ hydra/sweeper: basic
178
+ hydra/launcher: basic
179
+ hydra/output: default
180
+ verbose: false
logs/official/runs/ac/onsagernet1d_lowrank/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - experiment=ac/onsagernet1d_lowrank
logs/official/runs/ac/onsagernet1d_lowrank/checkpoints/best_final_loss.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66e9572195b6eb60798c39017aabe6099952fd5cd216ac70463b5c757e61d679
3
+ size 15048097
logs/official/runs/ac/onsagernet1d_lowrank/checkpoints/epoch_epoch=099.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:915c0253e5d2c4bc02ce4122d616ed08bf1a17e24b2df04c6b6caacd3871a471
3
+ size 15047969
logs/official/runs/ac/onsagernet1d_lowrank/checkpoints/last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d3716180b6e59c28d7e29b5131a98e2f108f125ed29a7b62a7f185cf0271502
3
+ size 15048097
logs/official/runs/ac/onsagernet1d_lowrank/csv/version_0/hparams.yaml ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ dynamics:
3
+ _target_: src.models.components.dynamics.onsagernet.OnsagerNet1d
4
+ Nx: 256
5
+ n_channels: 1
6
+ step_method: euler
7
+ potential:
8
+ _target_: src.models.components.dynamics.onsagernet.CoercivePotential
9
+ in_dim: 256
10
+ hidden_dims:
11
+ - 256
12
+ - 256
13
+ - 256
14
+ alpha_init: 0.01
15
+ act_name: tanh
16
+ dissipation:
17
+ _target_: src.models.components.dynamics.onsagernet.LowRankDissipation
18
+ in_dim: 256
19
+ rank: 8
20
+ hidden_dims:
21
+ - 256
22
+ - 256
23
+ beta: 0.001
24
+ act_name: tanh
25
+ conservation:
26
+ _target_: src.models.components.dynamics.onsagernet.LowRankConservation
27
+ in_dim: 256
28
+ rank: 4
29
+ hidden_dims:
30
+ - 256
31
+ - 256
32
+ act_name: tanh
33
+ optimizer:
34
+ _target_: torch.optim.Adam
35
+ _partial_: true
36
+ lr: 0.001
37
+ weight_decay: 0.0
38
+ scheduler:
39
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
40
+ _partial_: true
41
+ mode: min
42
+ factor: 0.5
43
+ patience: 300
44
+ _target_: src.models.meso_module.MesoLitModule
45
+ dt: 0.001
46
+ accumulated_nsteps: 3
47
+ loss_fn: mse
48
+ compile: true
49
+ reg_weight: null
50
+ model/params/total: 1251329
51
+ model/params/trainable: 1251329
52
+ model/params/non_trainable: 0
53
+ data:
54
+ _target_: src.data.DedalusDynamicsDataModule
55
+ dyn_type: allen_cahn
56
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
57
+ split_ratio:
58
+ - 0.7
59
+ - 0.2
60
+ - 0.1
61
+ batch_size: 32
62
+ chunk_length: 11
63
+ num_workers: 4
64
+ pin_memory: true
65
+ trainer:
66
+ _target_: lightning.pytorch.trainer.Trainer
67
+ default_root_dir: ${paths.output_dir}
68
+ min_epochs: 1
69
+ max_epochs: 10000
70
+ accelerator: gpu
71
+ devices: auto
72
+ deterministic: false
73
+ profiler: simple
74
+ strategy: ddp
75
+ num_nodes: 1
76
+ sync_batchnorm: true
77
+ check_val_every_n_epoch: 100
78
+ log_every_n_steps: 1000
79
+ callbacks:
80
+ model_summary:
81
+ _target_: lightning.pytorch.callbacks.RichModelSummary
82
+ max_depth: -1
83
+ rich_progress_bar:
84
+ _target_: lightning.pytorch.callbacks.RichProgressBar
85
+ lr_monitor:
86
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
87
+ logging_interval: epoch
88
+ model_checkpoint:
89
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
90
+ dirpath: ${paths.output_dir}/checkpoints
91
+ filename: epoch_{epoch:03d}
92
+ monitor: valid/loss
93
+ verbose: false
94
+ save_last: true
95
+ save_top_k: 1
96
+ mode: min
97
+ auto_insert_metric_name: true
98
+ save_weights_only: false
99
+ every_n_train_steps: null
100
+ train_time_interval: null
101
+ every_n_epochs: null
102
+ save_on_train_epoch_end: null
103
+ early_stopping:
104
+ _target_: lightning.pytorch.callbacks.EarlyStopping
105
+ monitor: valid/loss
106
+ min_delta: 0.0
107
+ patience: 5
108
+ verbose: false
109
+ mode: min
110
+ strict: true
111
+ check_finite: true
112
+ stopping_threshold: null
113
+ divergence_threshold: null
114
+ check_on_train_epoch_end: null
115
+ pred:
116
+ _target_: src.callbacks.viz.pred.PredViz
117
+ every_n_validation: 5
118
+ model_checkpoint_final_loss:
119
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
120
+ monitor: valid/final_loss
121
+ dirpath: ${paths.output_dir}/checkpoints
122
+ filename: best_final_loss
123
+ mode: min
124
+ extras:
125
+ ignore_warnings: false
126
+ enforce_tags: true
127
+ print_config: true
128
+ task_name: official
129
+ tags:
130
+ - allen_cahn
131
+ ckpt_path: null
132
+ seed: 42
logs/official/runs/ac/onsagernet1d_lowrank/csv/version_0/metrics.csv ADDED
The diff for this file is too large to render. See raw diff
 
logs/official/runs/ac/res_onsagernet/.hydra/config.yaml ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task_name: official
2
+ tags:
3
+ - allen_cahn
4
+ train: true
5
+ test: true
6
+ ckpt_path: null
7
+ seed: 42
8
+ print_configs_only: false
9
+ print_model_summary_only: false
10
+ data:
11
+ _target_: src.data.DedalusDynamicsDataModule
12
+ dyn_type: allen_cahn
13
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
14
+ split_ratio:
15
+ - 0.7
16
+ - 0.2
17
+ - 0.1
18
+ batch_size: 32
19
+ chunk_length: 11
20
+ num_workers: 4
21
+ pin_memory: true
22
+ model:
23
+ dynamics:
24
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNet1d
25
+ learn_M: true
26
+ learn_W: true
27
+ potential:
28
+ _target_: src.models.components.spectral_onsagernet.potential.coercive_autograd_v4.CoerciveAutogradPotentialV4
29
+ Lx: 6.283185307179586
30
+ Nx: 256
31
+ dvdf_h_module:
32
+ _target_: src.models.components.utils.mlp_skip.MlpSkip
33
+ in_dim: 258
34
+ hidden_dims:
35
+ - 512
36
+ - 512
37
+ - 512
38
+ out_dim: 258
39
+ act_name: relu
40
+ final_sine: true
41
+ final_bias: false
42
+ final_zero: false
43
+ positive_a: true
44
+ positive_b: true
45
+ method: euler
46
+ optimizer:
47
+ _target_: torch.optim.Adam
48
+ _partial_: true
49
+ lr: 0.001
50
+ weight_decay: 0.0
51
+ scheduler:
52
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
53
+ _partial_: true
54
+ mode: min
55
+ factor: 0.5
56
+ patience: 300
57
+ _target_: src.models.meso_module.MesoLitModule
58
+ dt: 0.001
59
+ accumulated_nsteps: 3
60
+ loss_fn: mse
61
+ compile: true
62
+ reg_weight: null
63
+ callbacks:
64
+ model_summary:
65
+ _target_: lightning.pytorch.callbacks.RichModelSummary
66
+ max_depth: -1
67
+ rich_progress_bar:
68
+ _target_: lightning.pytorch.callbacks.RichProgressBar
69
+ lr_monitor:
70
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
71
+ logging_interval: epoch
72
+ model_checkpoint:
73
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
74
+ dirpath: ${paths.output_dir}/checkpoints
75
+ filename: epoch_{epoch:03d}
76
+ monitor: valid/loss
77
+ verbose: false
78
+ save_last: true
79
+ save_top_k: 1
80
+ mode: min
81
+ auto_insert_metric_name: true
82
+ save_weights_only: false
83
+ every_n_train_steps: null
84
+ train_time_interval: null
85
+ every_n_epochs: null
86
+ save_on_train_epoch_end: null
87
+ early_stopping:
88
+ _target_: lightning.pytorch.callbacks.EarlyStopping
89
+ monitor: valid/loss
90
+ min_delta: 0.0
91
+ patience: 5
92
+ verbose: false
93
+ mode: min
94
+ strict: true
95
+ check_finite: true
96
+ stopping_threshold: null
97
+ divergence_threshold: null
98
+ check_on_train_epoch_end: null
99
+ pred:
100
+ _target_: src.callbacks.viz.pred.PredViz
101
+ every_n_validation: 5
102
+ model_checkpoint_final_loss:
103
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
104
+ monitor: valid/final_loss
105
+ dirpath: ${paths.output_dir}/checkpoints
106
+ filename: best_final_loss
107
+ mode: min
108
+ logger:
109
+ csv:
110
+ _target_: lightning.pytorch.loggers.csv_logs.CSVLogger
111
+ save_dir: ${paths.output_dir}
112
+ name: csv/
113
+ prefix: ''
114
+ wandb:
115
+ _target_: lightning.pytorch.loggers.wandb.WandbLogger
116
+ save_dir: ${paths.output_dir}
117
+ offline: false
118
+ id: null
119
+ anonymous: null
120
+ project: meso-SIR
121
+ log_model: false
122
+ prefix: ''
123
+ entity: zy-li-nus-national-university-of-singapore
124
+ group: ''
125
+ tags: ${tags}
126
+ job_type: ''
127
+ notes: res_onsagernet
128
+ trainer:
129
+ _target_: lightning.pytorch.trainer.Trainer
130
+ default_root_dir: ${paths.output_dir}
131
+ min_epochs: 1
132
+ max_epochs: 10000
133
+ accelerator: gpu
134
+ devices: auto
135
+ deterministic: false
136
+ profiler: simple
137
+ strategy: ddp
138
+ num_nodes: 1
139
+ sync_batchnorm: true
140
+ check_val_every_n_epoch: 100
141
+ log_every_n_steps: 1000
142
+ paths:
143
+ root_dir: ${oc.env:PROJECT_ROOT}
144
+ data_dir: ${paths.root_dir}/data/
145
+ log_dir: ${paths.root_dir}/logs/
146
+ output_dir: ${hydra:runtime.output_dir}
147
+ work_dir: ${hydra:runtime.cwd}
148
+ the_well_base_dir: ${paths.root_dir}/data/the_well/datasets/
149
+ extras:
150
+ ignore_warnings: false
151
+ enforce_tags: true
152
+ print_config: true
logs/official/runs/ac/res_onsagernet/.hydra/hydra.yaml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${paths.log_dir}/${task_name}/runs/ac/res_onsagernet
4
+ sweep:
5
+ dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
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
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.runtime.output_dir}/${task_name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - experiment=ac/res_onsagernet
124
+ job:
125
+ name: train
126
+ chdir: null
127
+ override_dirname: experiment=ac/res_onsagernet
128
+ id: ???
129
+ num: ???
130
+ config_name: train.yaml
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /home/user/Projects/meso-SIR
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/user/Projects/meso-SIR/configs
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/user/Projects/meso-SIR/logs/official/runs/ac/res_onsagernet
156
+ choices:
157
+ debug: null
158
+ local: default
159
+ hparams_search: null
160
+ experiment: ac/res_onsagernet
161
+ hydra: default
162
+ extras: default
163
+ paths: default
164
+ trainer: ddp
165
+ callbacks: default
166
+ model: res_onsagernet
167
+ model/scheduler: reduce_lr_on_plateau
168
+ model/optimizer: adam
169
+ model/dynamics: res_onsagernet
170
+ data: allen_cahn
171
+ hydra/env: default
172
+ hydra/callbacks: null
173
+ hydra/job_logging: colorlog
174
+ hydra/hydra_logging: colorlog
175
+ hydra/hydra_help: default
176
+ hydra/help: default
177
+ hydra/sweeper: basic
178
+ hydra/launcher: basic
179
+ hydra/output: default
180
+ verbose: false
logs/official/runs/ac/res_onsagernet/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - experiment=ac/res_onsagernet
logs/official/runs/ac/res_onsagernet/checkpoints/best_final_loss.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:228642a20eacf951aa2dd509a98f11eb3a655d06fd799e6a7f8e0ab010911f4f
3
+ size 9504083
logs/official/runs/ac/res_onsagernet/checkpoints/epoch_epoch=199.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e8c8735a6b01322602e60b68b73149269a8a1eb6384c974dff443b5cd704c4f
3
+ size 9504339
logs/official/runs/ac/res_onsagernet/checkpoints/last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb94047acd3719512a5e6bed89f6bea768085f5fb9644bfe738c3a1477abe520
3
+ size 9504403
logs/official/runs/ac/res_onsagernet/csv/version_0/hparams.yaml ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ dynamics:
3
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNet1d
4
+ learn_M: true
5
+ learn_W: true
6
+ potential:
7
+ _target_: src.models.components.spectral_onsagernet.potential.coercive_autograd_v4.CoerciveAutogradPotentialV4
8
+ Lx: 6.283185307179586
9
+ Nx: 256
10
+ dvdf_h_module:
11
+ _target_: src.models.components.utils.mlp_skip.MlpSkip
12
+ in_dim: 258
13
+ hidden_dims:
14
+ - 512
15
+ - 512
16
+ - 512
17
+ out_dim: 258
18
+ act_name: relu
19
+ final_sine: true
20
+ final_bias: false
21
+ final_zero: false
22
+ positive_a: true
23
+ positive_b: true
24
+ method: euler
25
+ optimizer:
26
+ _target_: torch.optim.Adam
27
+ _partial_: true
28
+ lr: 0.001
29
+ weight_decay: 0.0
30
+ scheduler:
31
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
32
+ _partial_: true
33
+ mode: min
34
+ factor: 0.5
35
+ patience: 300
36
+ _target_: src.models.meso_module.MesoLitModule
37
+ dt: 0.001
38
+ accumulated_nsteps: 3
39
+ loss_fn: mse
40
+ compile: true
41
+ reg_weight: null
42
+ model/params/total: 790276
43
+ model/params/trainable: 790276
44
+ model/params/non_trainable: 0
45
+ data:
46
+ _target_: src.data.DedalusDynamicsDataModule
47
+ dyn_type: allen_cahn
48
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
49
+ split_ratio:
50
+ - 0.7
51
+ - 0.2
52
+ - 0.1
53
+ batch_size: 32
54
+ chunk_length: 11
55
+ num_workers: 4
56
+ pin_memory: true
57
+ trainer:
58
+ _target_: lightning.pytorch.trainer.Trainer
59
+ default_root_dir: ${paths.output_dir}
60
+ min_epochs: 1
61
+ max_epochs: 10000
62
+ accelerator: gpu
63
+ devices: auto
64
+ deterministic: false
65
+ profiler: simple
66
+ strategy: ddp
67
+ num_nodes: 1
68
+ sync_batchnorm: true
69
+ check_val_every_n_epoch: 100
70
+ log_every_n_steps: 1000
71
+ callbacks:
72
+ model_summary:
73
+ _target_: lightning.pytorch.callbacks.RichModelSummary
74
+ max_depth: -1
75
+ rich_progress_bar:
76
+ _target_: lightning.pytorch.callbacks.RichProgressBar
77
+ lr_monitor:
78
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
79
+ logging_interval: epoch
80
+ model_checkpoint:
81
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
82
+ dirpath: ${paths.output_dir}/checkpoints
83
+ filename: epoch_{epoch:03d}
84
+ monitor: valid/loss
85
+ verbose: false
86
+ save_last: true
87
+ save_top_k: 1
88
+ mode: min
89
+ auto_insert_metric_name: true
90
+ save_weights_only: false
91
+ every_n_train_steps: null
92
+ train_time_interval: null
93
+ every_n_epochs: null
94
+ save_on_train_epoch_end: null
95
+ early_stopping:
96
+ _target_: lightning.pytorch.callbacks.EarlyStopping
97
+ monitor: valid/loss
98
+ min_delta: 0.0
99
+ patience: 5
100
+ verbose: false
101
+ mode: min
102
+ strict: true
103
+ check_finite: true
104
+ stopping_threshold: null
105
+ divergence_threshold: null
106
+ check_on_train_epoch_end: null
107
+ pred:
108
+ _target_: src.callbacks.viz.pred.PredViz
109
+ every_n_validation: 5
110
+ model_checkpoint_final_loss:
111
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
112
+ monitor: valid/final_loss
113
+ dirpath: ${paths.output_dir}/checkpoints
114
+ filename: best_final_loss
115
+ mode: min
116
+ extras:
117
+ ignore_warnings: false
118
+ enforce_tags: true
119
+ print_config: true
120
+ task_name: official
121
+ tags:
122
+ - allen_cahn
123
+ ckpt_path: null
124
+ seed: 42
logs/official/runs/ac/res_onsagernet/csv/version_0/metrics.csv ADDED
The diff for this file is too large to render. See raw diff
 
logs/official/runs/ac/s_onsagernet/.hydra/config.yaml ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task_name: official
2
+ tags:
3
+ - allen_cahn
4
+ train: true
5
+ test: true
6
+ ckpt_path: null
7
+ seed: 42
8
+ print_configs_only: false
9
+ print_model_summary_only: false
10
+ data:
11
+ _target_: src.data.DedalusDynamicsDataModule
12
+ dyn_type: allen_cahn
13
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
14
+ split_ratio:
15
+ - 0.7
16
+ - 0.2
17
+ - 0.1
18
+ batch_size: 32
19
+ chunk_length: 11
20
+ num_workers: 4
21
+ pin_memory: true
22
+ model:
23
+ dynamics:
24
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNet1d
25
+ learn_M: true
26
+ learn_W: true
27
+ potential:
28
+ _target_: src.models.components.spectral_onsagernet.potential.coercive_autograd_v6.CoerciveAutogradPotentialV6
29
+ Lx: 6.283185307179586
30
+ Nx: 256
31
+ F_module:
32
+ _target_: src.models.components.utils.mlp.Mlp
33
+ in_dim: 1
34
+ hidden_dims:
35
+ - 64
36
+ - 64
37
+ - 64
38
+ out_dim: 1
39
+ act_name: silu
40
+ final_act_name: sine
41
+ final_bias: false
42
+ v_module:
43
+ _target_: src.models.components.utils.mlp.Mlp
44
+ in_dim: 16
45
+ hidden_dims:
46
+ - 64
47
+ - 64
48
+ - 64
49
+ out_dim: 1
50
+ act_name: silu
51
+ final_act_name: sine
52
+ final_bias: false
53
+ complex: true
54
+ v_truncate: 16
55
+ method: euler
56
+ optimizer:
57
+ _target_: torch.optim.Adam
58
+ _partial_: true
59
+ lr: 0.001
60
+ weight_decay: 0.0
61
+ scheduler:
62
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
63
+ _partial_: true
64
+ mode: min
65
+ factor: 0.5
66
+ patience: 300
67
+ _target_: src.models.meso_module.MesoLitModule
68
+ dt: 0.001
69
+ accumulated_nsteps: 3
70
+ loss_fn: mse
71
+ compile: true
72
+ reg_weight: null
73
+ callbacks:
74
+ model_summary:
75
+ _target_: lightning.pytorch.callbacks.RichModelSummary
76
+ max_depth: -1
77
+ rich_progress_bar:
78
+ _target_: lightning.pytorch.callbacks.RichProgressBar
79
+ lr_monitor:
80
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
81
+ logging_interval: epoch
82
+ model_checkpoint:
83
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
84
+ dirpath: ${paths.output_dir}/checkpoints
85
+ filename: epoch_{epoch:03d}
86
+ monitor: valid/loss
87
+ verbose: false
88
+ save_last: true
89
+ save_top_k: 1
90
+ mode: min
91
+ auto_insert_metric_name: true
92
+ save_weights_only: false
93
+ every_n_train_steps: null
94
+ train_time_interval: null
95
+ every_n_epochs: null
96
+ save_on_train_epoch_end: null
97
+ early_stopping:
98
+ _target_: lightning.pytorch.callbacks.EarlyStopping
99
+ monitor: valid/loss
100
+ min_delta: 0.0
101
+ patience: 5
102
+ verbose: false
103
+ mode: min
104
+ strict: true
105
+ check_finite: true
106
+ stopping_threshold: null
107
+ divergence_threshold: null
108
+ check_on_train_epoch_end: null
109
+ pred:
110
+ _target_: src.callbacks.viz.pred.PredViz
111
+ every_n_validation: 5
112
+ model_checkpoint_final_loss:
113
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
114
+ monitor: valid/final_loss
115
+ dirpath: ${paths.output_dir}/checkpoints
116
+ filename: best_final_loss
117
+ mode: min
118
+ logger:
119
+ csv:
120
+ _target_: lightning.pytorch.loggers.csv_logs.CSVLogger
121
+ save_dir: ${paths.output_dir}
122
+ name: csv/
123
+ prefix: ''
124
+ wandb:
125
+ _target_: lightning.pytorch.loggers.wandb.WandbLogger
126
+ save_dir: ${paths.output_dir}
127
+ offline: false
128
+ id: null
129
+ anonymous: null
130
+ project: meso-SIR
131
+ log_model: false
132
+ prefix: ''
133
+ entity: zy-li-nus-national-university-of-singapore
134
+ group: ''
135
+ tags: ${tags}
136
+ job_type: ''
137
+ notes: s_onsagernet
138
+ trainer:
139
+ _target_: lightning.pytorch.trainer.Trainer
140
+ default_root_dir: ${paths.output_dir}
141
+ min_epochs: 1
142
+ max_epochs: 10000
143
+ accelerator: gpu
144
+ devices: auto
145
+ deterministic: false
146
+ profiler: simple
147
+ strategy: ddp
148
+ num_nodes: 1
149
+ sync_batchnorm: true
150
+ check_val_every_n_epoch: 100
151
+ log_every_n_steps: 1000
152
+ paths:
153
+ root_dir: ${oc.env:PROJECT_ROOT}
154
+ data_dir: ${paths.root_dir}/data/
155
+ log_dir: ${paths.root_dir}/logs/
156
+ output_dir: ${hydra:runtime.output_dir}
157
+ work_dir: ${hydra:runtime.cwd}
158
+ the_well_base_dir: ${paths.root_dir}/data/the_well/datasets/
159
+ extras:
160
+ ignore_warnings: false
161
+ enforce_tags: true
162
+ print_config: true
logs/official/runs/ac/s_onsagernet/.hydra/hydra.yaml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${paths.log_dir}/${task_name}/runs/ac/s_onsagernet
4
+ sweep:
5
+ dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
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
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.runtime.output_dir}/${task_name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - experiment=ac/s_onsagernet
124
+ job:
125
+ name: train
126
+ chdir: null
127
+ override_dirname: experiment=ac/s_onsagernet
128
+ id: ???
129
+ num: ???
130
+ config_name: train.yaml
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /home/user/Projects/meso-SIR
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/user/Projects/meso-SIR/configs
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/user/Projects/meso-SIR/logs/official/runs/ac/s_onsagernet
156
+ choices:
157
+ debug: null
158
+ local: default
159
+ hparams_search: null
160
+ experiment: ac/s_onsagernet
161
+ hydra: default
162
+ extras: default
163
+ paths: default
164
+ trainer: ddp
165
+ callbacks: default
166
+ model: s_onsagernet
167
+ model/scheduler: reduce_lr_on_plateau
168
+ model/optimizer: adam
169
+ model/dynamics: s_onsagernet
170
+ data: allen_cahn
171
+ hydra/env: default
172
+ hydra/callbacks: null
173
+ hydra/job_logging: colorlog
174
+ hydra/hydra_logging: colorlog
175
+ hydra/hydra_help: default
176
+ hydra/help: default
177
+ hydra/sweeper: basic
178
+ hydra/launcher: basic
179
+ hydra/output: default
180
+ verbose: false
logs/official/runs/ac/s_onsagernet/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - experiment=ac/s_onsagernet
logs/official/runs/ac/s_onsagernet/checkpoints/best_final_loss.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26c0c8c59f81359b87069bc33d1534b1e3821ba6b984c744d96218457e7e48ad
3
+ size 361794
logs/official/runs/ac/s_onsagernet/checkpoints/epoch_epoch=1699.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e67d6553f823b701286720ed871ac5a15575fb6e1c7dd5ee6dc93f4b082f7b85
3
+ size 361794
logs/official/runs/ac/s_onsagernet/checkpoints/last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ca36c6812e5452dfb937abeeed6843af05352a9fe46bbb7efb888a8b07091ea
3
+ size 361794
logs/official/runs/ac/s_onsagernet/csv/version_0/hparams.yaml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ dynamics:
3
+ _target_: src.models.components.spectral_onsagernet.SpectralOnsagerNet1d
4
+ learn_M: true
5
+ learn_W: true
6
+ potential:
7
+ _target_: src.models.components.spectral_onsagernet.potential.coercive_autograd_v6.CoerciveAutogradPotentialV6
8
+ Lx: 6.283185307179586
9
+ Nx: 256
10
+ F_module:
11
+ _target_: src.models.components.utils.mlp.Mlp
12
+ in_dim: 1
13
+ hidden_dims:
14
+ - 64
15
+ - 64
16
+ - 64
17
+ out_dim: 1
18
+ act_name: silu
19
+ final_act_name: sine
20
+ final_bias: false
21
+ v_module:
22
+ _target_: src.models.components.utils.mlp.Mlp
23
+ in_dim: 16
24
+ hidden_dims:
25
+ - 64
26
+ - 64
27
+ - 64
28
+ out_dim: 1
29
+ act_name: silu
30
+ final_act_name: sine
31
+ final_bias: false
32
+ complex: true
33
+ v_truncate: 16
34
+ method: euler
35
+ optimizer:
36
+ _target_: torch.optim.Adam
37
+ _partial_: true
38
+ lr: 0.001
39
+ weight_decay: 0.0
40
+ scheduler:
41
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
42
+ _partial_: true
43
+ mode: min
44
+ factor: 0.5
45
+ patience: 300
46
+ _target_: src.models.meso_module.MesoLitModule
47
+ dt: 0.001
48
+ accumulated_nsteps: 3
49
+ loss_fn: mse
50
+ compile: true
51
+ reg_weight: null
52
+ model/params/total: 18244
53
+ model/params/trainable: 18244
54
+ model/params/non_trainable: 0
55
+ data:
56
+ _target_: src.data.DedalusDynamicsDataModule
57
+ dyn_type: allen_cahn
58
+ data_files: ${paths.data_dir}/allen_cahn/*.hdf5
59
+ split_ratio:
60
+ - 0.7
61
+ - 0.2
62
+ - 0.1
63
+ batch_size: 32
64
+ chunk_length: 11
65
+ num_workers: 4
66
+ pin_memory: true
67
+ trainer:
68
+ _target_: lightning.pytorch.trainer.Trainer
69
+ default_root_dir: ${paths.output_dir}
70
+ min_epochs: 1
71
+ max_epochs: 10000
72
+ accelerator: gpu
73
+ devices: auto
74
+ deterministic: false
75
+ profiler: simple
76
+ strategy: ddp
77
+ num_nodes: 1
78
+ sync_batchnorm: true
79
+ check_val_every_n_epoch: 100
80
+ log_every_n_steps: 1000
81
+ callbacks:
82
+ model_summary:
83
+ _target_: lightning.pytorch.callbacks.RichModelSummary
84
+ max_depth: -1
85
+ rich_progress_bar:
86
+ _target_: lightning.pytorch.callbacks.RichProgressBar
87
+ lr_monitor:
88
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
89
+ logging_interval: epoch
90
+ model_checkpoint:
91
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
92
+ dirpath: ${paths.output_dir}/checkpoints
93
+ filename: epoch_{epoch:03d}
94
+ monitor: valid/loss
95
+ verbose: false
96
+ save_last: true
97
+ save_top_k: 1
98
+ mode: min
99
+ auto_insert_metric_name: true
100
+ save_weights_only: false
101
+ every_n_train_steps: null
102
+ train_time_interval: null
103
+ every_n_epochs: null
104
+ save_on_train_epoch_end: null
105
+ early_stopping:
106
+ _target_: lightning.pytorch.callbacks.EarlyStopping
107
+ monitor: valid/loss
108
+ min_delta: 0.0
109
+ patience: 5
110
+ verbose: false
111
+ mode: min
112
+ strict: true
113
+ check_finite: true
114
+ stopping_threshold: null
115
+ divergence_threshold: null
116
+ check_on_train_epoch_end: null
117
+ pred:
118
+ _target_: src.callbacks.viz.pred.PredViz
119
+ every_n_validation: 5
120
+ model_checkpoint_final_loss:
121
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
122
+ monitor: valid/final_loss
123
+ dirpath: ${paths.output_dir}/checkpoints
124
+ filename: best_final_loss
125
+ mode: min
126
+ extras:
127
+ ignore_warnings: false
128
+ enforce_tags: true
129
+ print_config: true
130
+ task_name: official
131
+ tags:
132
+ - allen_cahn
133
+ ckpt_path: null
134
+ seed: 42
logs/official/runs/ac/s_onsagernet/csv/version_0/metrics.csv ADDED
The diff for this file is too large to render. See raw diff
 
logs/official/runs/ac_2d/ac_2d/.hydra/config.yaml ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task_name: official
2
+ tags:
3
+ - allen_cahn_2d
4
+ train: true
5
+ test: true
6
+ ckpt_path: null
7
+ seed: 42
8
+ print_configs_only: false
9
+ print_model_summary_only: false
10
+ data:
11
+ _target_: src.data.DedalusDynamicsDataModule
12
+ dyn_type: allen_cahn_2d
13
+ data_files: ${paths.data_dir}/allen_cahn_2d/*1000_seed0.hdf5
14
+ split_ratio:
15
+ - 0.7
16
+ - 0.2
17
+ - 0.1
18
+ batch_size: 8
19
+ chunk_length: 11
20
+ num_workers: 4
21
+ pin_memory: true
22
+ model:
23
+ dynamics:
24
+ potential:
25
+ _target_: src.models.components.spectral_onsagernet_2d.potential.allen_cahn.AllenCahnPotential
26
+ Lx: 6.283185307179586
27
+ Ly: 6.283185307179586
28
+ Nx: 128
29
+ Ny: 128
30
+ _target_: src.models.components.spectral_onsagernet_2d.SpectralOnsagerNetAllenCahn2d
31
+ method: sbdf1
32
+ optimizer:
33
+ _target_: torch.optim.Adam
34
+ _partial_: true
35
+ lr: 0.001
36
+ weight_decay: 0.0
37
+ scheduler:
38
+ _target_: torch.optim.lr_scheduler.ReduceLROnPlateau
39
+ _partial_: true
40
+ mode: min
41
+ factor: 0.5
42
+ patience: 300
43
+ _target_: src.models.meso_module.MesoLitModule
44
+ dt: 0.001
45
+ accumulated_nsteps: 3
46
+ loss_fn: mse
47
+ compile: true
48
+ reg_weight: null
49
+ callbacks:
50
+ model_summary:
51
+ _target_: lightning.pytorch.callbacks.RichModelSummary
52
+ max_depth: -1
53
+ rich_progress_bar:
54
+ _target_: lightning.pytorch.callbacks.RichProgressBar
55
+ lr_monitor:
56
+ _target_: lightning.pytorch.callbacks.LearningRateMonitor
57
+ logging_interval: epoch
58
+ model_checkpoint:
59
+ _target_: lightning.pytorch.callbacks.ModelCheckpoint
60
+ dirpath: ${paths.output_dir}/checkpoints
61
+ filename: epoch_{epoch:03d}
62
+ monitor: valid/loss
63
+ verbose: false
64
+ save_last: true
65
+ save_top_k: 1
66
+ mode: min
67
+ auto_insert_metric_name: true
68
+ save_weights_only: false
69
+ every_n_train_steps: null
70
+ train_time_interval: null
71
+ every_n_epochs: null
72
+ save_on_train_epoch_end: null
73
+ early_stopping:
74
+ _target_: lightning.pytorch.callbacks.EarlyStopping
75
+ monitor: valid/loss
76
+ min_delta: 0.0
77
+ patience: 5
78
+ verbose: false
79
+ mode: min
80
+ strict: true
81
+ check_finite: true
82
+ stopping_threshold: null
83
+ divergence_threshold: null
84
+ check_on_train_epoch_end: null
85
+ pred:
86
+ _target_: src.callbacks.viz.pred.PredViz
87
+ every_n_validation: 5
88
+ model_checkpoint_final_loss:
89
+ _target_: src.callbacks.best_finite_checkpoint.BestFiniteCheckpoint
90
+ monitor: valid/final_loss
91
+ dirpath: ${paths.output_dir}/checkpoints
92
+ filename: best_final_loss
93
+ mode: min
94
+ logger:
95
+ csv:
96
+ _target_: lightning.pytorch.loggers.csv_logs.CSVLogger
97
+ save_dir: ${paths.output_dir}
98
+ name: csv/
99
+ prefix: ''
100
+ wandb:
101
+ _target_: lightning.pytorch.loggers.wandb.WandbLogger
102
+ save_dir: ${paths.output_dir}
103
+ offline: false
104
+ id: null
105
+ anonymous: null
106
+ project: meso-SIR
107
+ log_model: false
108
+ prefix: ''
109
+ entity: zy-li-nus-national-university-of-singapore
110
+ group: ''
111
+ tags: ${tags}
112
+ job_type: ''
113
+ notes: ac_2d
114
+ trainer:
115
+ _target_: lightning.pytorch.trainer.Trainer
116
+ default_root_dir: ${paths.output_dir}
117
+ min_epochs: 1
118
+ max_epochs: 10000
119
+ accelerator: gpu
120
+ devices: auto
121
+ deterministic: false
122
+ profiler: simple
123
+ strategy: ddp
124
+ num_nodes: 1
125
+ sync_batchnorm: true
126
+ check_val_every_n_epoch: 100
127
+ log_every_n_steps: 1000
128
+ paths:
129
+ root_dir: ${oc.env:PROJECT_ROOT}
130
+ data_dir: ${paths.root_dir}/data/
131
+ log_dir: ${paths.root_dir}/logs/
132
+ output_dir: ${hydra:runtime.output_dir}
133
+ work_dir: ${hydra:runtime.cwd}
134
+ the_well_base_dir: ${paths.root_dir}/data/the_well/datasets/
135
+ extras:
136
+ ignore_warnings: false
137
+ enforce_tags: true
138
+ print_config: true
logs/official/runs/ac_2d/ac_2d/.hydra/hydra.yaml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${paths.log_dir}/${task_name}/runs/ac_2d/ac_2d
4
+ sweep:
5
+ dir: ${paths.log_dir}/${task_name}/multiruns/${now:%Y-%m-%d}_${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
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
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.runtime.output_dir}/${task_name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - experiment=ac_2d/ac_2d
124
+ job:
125
+ name: train
126
+ chdir: null
127
+ override_dirname: experiment=ac_2d/ac_2d
128
+ id: ???
129
+ num: ???
130
+ config_name: train.yaml
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /home/user/Projects/meso-SIR
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/user/Projects/meso-SIR/configs
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/user/Projects/meso-SIR/logs/official/runs/ac_2d/ac_2d
156
+ choices:
157
+ debug: null
158
+ local: default
159
+ hparams_search: null
160
+ experiment: ac_2d/ac_2d
161
+ hydra: default
162
+ extras: default
163
+ paths: default
164
+ trainer: ddp
165
+ callbacks: default
166
+ model: ac_2d
167
+ model/scheduler: reduce_lr_on_plateau
168
+ model/optimizer: adam
169
+ model/dynamics: ac_2d
170
+ data: allen_cahn_2d
171
+ hydra/env: default
172
+ hydra/callbacks: null
173
+ hydra/job_logging: colorlog
174
+ hydra/hydra_logging: colorlog
175
+ hydra/hydra_help: default
176
+ hydra/help: default
177
+ hydra/sweeper: basic
178
+ hydra/launcher: basic
179
+ hydra/output: default
180
+ verbose: false