add experiments

This commit is contained in:
FilippoOlivo
2025-10-14 10:02:57 +02:00
parent 720931b831
commit 65d141d4b3
8 changed files with 449 additions and 7 deletions

View File

@@ -0,0 +1,63 @@
# 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: "64"
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: 15
verbose: false
max_epochs: 1000
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: 64
edge_ch: 3
out_ch: 1
unrolling_steps: 1
data:
class_path: ThermalSolver.data_module.GraphDataModule
init_args:
hf_repo: "SISSAmathLab/thermal-conduction"
split_name: "2000"
batch_size: 4
train_size: 0.8
test_size: 0.1
test_size: 0.1
optimizer: null
lr_scheduler: null
# ckpt_path: lightning_logs/64/version_0/checkpoints/best-checkpoint.ckpt
ckpt_path: null