63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
# lightning.pytorch==2.5.5
|
|
seed_everything: 1999
|
|
trainer:
|
|
accelerator: gpu
|
|
strategy: auto
|
|
devices: 1
|
|
num_nodes: 1
|
|
precision: null
|
|
logger:
|
|
- class_path: lightning.pytorch.loggers.TensorBoardLogger
|
|
init_args:
|
|
save_dir: lightning_logs
|
|
name: "04"
|
|
version: null
|
|
callbacks:
|
|
- class_path: lightning.pytorch.callbacks.ModelCheckpoint
|
|
init_args:
|
|
monitor: val/loss
|
|
mode: min
|
|
save_top_k: 1
|
|
filename: best-checkpoint
|
|
- class_path: lightning.pytorch.callbacks.EarlyStopping
|
|
init_args:
|
|
monitor: val/loss
|
|
mode: min
|
|
patience: 10
|
|
verbose: false
|
|
max_epochs: 200
|
|
min_epochs: null
|
|
max_steps: -1
|
|
min_steps: null
|
|
overfit_batches: 0.0
|
|
log_every_n_steps: null
|
|
inference_mode: true
|
|
default_root_dir: null
|
|
accumulate_grad_batches: 6
|
|
gradient_clip_val: 1.0
|
|
model:
|
|
class_path: ThermalSolver.module.GraphSolver
|
|
init_args:
|
|
model_class_path: ThermalSolver.model.local_gno.GatingGNO
|
|
model_init_args:
|
|
x_ch_node: 1
|
|
f_ch_node: 1
|
|
hidden: 16
|
|
layers: 4
|
|
edge_ch: 3
|
|
out_ch: 1
|
|
unrolling_steps: 16
|
|
data:
|
|
class_path: ThermalSolver.data_module.GraphDataModule
|
|
init_args:
|
|
hf_repo: "SISSAmathLab/thermal-conduction"
|
|
split_name: "2000_ref_1"
|
|
batch_size: 4
|
|
train_size: 0.8
|
|
test_size: 0.1
|
|
test_size: 0.1
|
|
optimizer: null
|
|
lr_scheduler: null
|
|
# ckpt_path: lightning_logs/version_15/checkpoints/best-checkpoint.ckpt
|
|
ckpt_path: null
|