Expand description
TOML configuration file loading and validation.
Loads the oxigaf.toml project configuration and converts it to the
internal TrainingConfig and RasterConfig types used by the trainer
and rasterizer subsystems.
Structs§
- Density
Control Section [training.density_control]— adaptive density control parameters.- Device
Section [device]section — GPU backend configuration.- Init
Section [training.init]— Gaussian initialisation parameters.- Loss
Section [training.loss]— loss function weights.- Model
Section [model]section — paths to pretrained model files.- Optimizer
Section [training.optimizer]— per-parameter-group learning rates.- Output
Section [output]section — checkpoint, logging, and export settings.- Project
Config - Top-level project configuration loaded from
oxigaf.toml. - Training
Section [training]section — training hyper-parameters with sub-sections.
Functions§
- expand_
tilde - Expand a leading
~in a path to the user’s home directory. - generate_
default_ config - Generate a default TOML configuration string that can be written to a file.
- load_
config - Load and validate a
ProjectConfigfrom a TOML file. - load_
hierarchical_ config - Load config with hierarchical priority: