Files
thermal-conduction-ml/experiments/config_fd.yaml
Filippo Olivo 88bc5c05e4 transfer files
2025-11-25 19:19:31 +01:00

58 lines
1.4 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: logs
name: "fd"
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: 2
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: 4
gradient_clip_val: 1.0
model:
class_path: ThermalSolver.graph_module.GraphSolver
init_args:
model_class_path: ThermalSolver.model.GraphFiniteDifference
# model_init_args:
max_iters: 10000
# unrolling_steps: 64
data:
class_path: ThermalSolver.graph_datamodule.GraphDataModule
init_args:
hf_repo: "SISSAmathLab/thermal-conduction"
split_name: "1000_1_40x30"
batch_size: 8
train_size: 0.8
test_size: 0.1
test_size: 0.1
# build_radial_graph: true
# radius: 1.5
optimizer: null
lr_scheduler: null
# ckpt_path: lightning_logs/01/version_0/checkpoints/best-checkpoint.ckpt