ScireX WNO · Darcy flow 2D (data-driven)
A trained WNO neural operator from the open-source scirex library (JAX/Flax) for the Darcy flow 2D (data-driven) benchmark. The weights are the last-epoch weights of the run described below and are stored as model.safetensors.
Results
| Metric | This model | Published reference |
|---|---|---|
| Test relative L2 | 2.02% | ~0.84% (Tripura and Chakraborty, 2022, Table 3; not reproducible from the paper's released code and data) |
Lower is better, except for Spearman correlations. Figures are those of the ScireX results table and benchmark pages: benchmark page and the GitHub README.
Inputs and outputs
Input: permeability field on an 85 x 85 grid (7,225 points). Output: pressure field on the same grid. 1000 training and 200 test samples. The normalisation statistics are in config.json; the weights are unusable without them.
Training data
Trained on the Darcy flow data of Li et al. (ICLR 2021), Zenodo record 12784353, licensed under CC BY 4.0.
Training
WNO, 2,829,601 parameters. AdamW, lr 1e-3 halved every 50 epochs, weight decay 1e-6, relative L2 loss, per-pixel normalisation. Batch 20, 500 epochs (25,000 steps), seed 0. Training time: ~21 min.
Full setup: doc/benchmarks/darcy/results/comparative.md.
How to use
hf download zenteiq-ai/scirex-wno-darcy --local-dir ckpt/scirex-wno-darcy
Then run the benchmark's scripts/benchmarks/darcy/infer.py from the GitHub repository. The exact command is under Reproduce below. Check your install against sample.safetensors, which holds one test input (input) and the model's expected output (expected_output). config.json holds the model settings and the normalisation statistics.
Reproduce
From a checkout of the GitHub repository at tag v1.0.0:
hf download zenteiq-ai/scirex-wno-darcy --local-dir ckpt/scirex-wno-darcy
python scripts/benchmarks/darcy/infer.py \
--checkpoint ckpt/scirex-wno-darcy \
--run wno \
--data-dir $DATA_ROOT/darcy
$DATA_ROOT is the folder that holds the benchmark datasets (see reproducibility.md).
Results table for this benchmark: comparative.md.
Limitations
Valid only within the trained input ranges of the benchmark data. Not for safety-critical design without separate validation. Bug reports: GitHub Issues.
Other ScireX checkpoints
Same benchmark, other models:
| Model | Repo |
|---|---|
| FNO | zenteiq-ai/scirex-fno-darcy |
| GINO | zenteiq-ai/scirex-gino-darcy |
| Transolver | zenteiq-ai/scirex-transolver-darcy |
Other Darcy runs of the same model:
- Darcy flow 2D (physics-only, extra-fields run): zenteiq-ai/scirex-wno-darcy-physics-extra-fields
Same model, other benchmarks:
| Benchmark | Repo |
|---|---|
| Pipe flow | zenteiq-ai/scirex-wno-pipe |
| Navier-Stokes 2D | zenteiq-ai/scirex-wno-navier-stokes |
| Chip cooling | zenteiq-ai/scirex-wno-chip-cooling |
| AirfRANS | zenteiq-ai/scirex-wno-airfrans |
Licence and citation
The weights are released under the Apache License 2.0 (see LICENSE; dataset credit in NOTICE). The code is LGPL-3.0. Cite the software through the CITATION.cff in the GitHub repository and the architecture paper:
- WNO: Tripura and Chakraborty, 2022, arXiv:2205.02191