peal.web.config_builder

Turn a web job (uploaded ONNX + ingested two-class dataset + the mandatory form fields) into the three yaml files run_didae.py needs:

<job>/data.yaml Image2MixedDataset over <job>/dataset <job>/generator.yaml the RAE generator with the published weights <job>/config.yaml DiDAE, service mode, web feedback teacher

The templates live in configs/web_demo; only job-specific keys are filled in here so the budget can be tuned in the template.

Functions

build_job_configs

Write data.yaml, generator.yaml and config.yaml into job_dir.

resolve_normalization

fields["normalization"] is a preset name or "custom" with fields["mean"] / fields["std"] (3 floats each).