Loading…
Loading…
A trained FNO 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.
| Metric | This model | Published reference |
|---|---|---|
| Test relative L2 | 1.109% | 1.08% (Li et al., ICLR 2021, Table 4) |
Lower is better, except for Spearman correlations. Figures are those of the ScireX results table and benchmark pages: benchmark page and the GitHub README.
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.
Trained on the Darcy flow data of Li et al. (ICLR 2021), Zenodo record 12784353, licensed under CC BY 4.0.
FNO, 2,836,281 real parameters (complex weights counted as two). Complex-aware AdamW, lr 1e-3 halved every 100 epochs, weight decay 0, relative L2 loss, per-pixel normalisation. Batch 20, 500 epochs (25,000 steps), seed 0. Training time: ~4.6 min.
Full setup: doc/benchmarks/darcy/results/comparative.md.
hf download zenteiq-ai/scirex-fno-darcy --local-dir ckpt/scirex-fno-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.
From a checkout of the GitHub repository at tag v1.0.0:
hf download zenteiq-ai/scirex-fno-darcy --local-dir ckpt/scirex-fno-darcy
python scripts/benchmarks/darcy/infer.py \
--checkpoint ckpt/scirex-fno-darcy \
--run fno \
--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.
Valid only within the trained input ranges of the benchmark data. Not for safety-critical design without separate validation. Bug reports: GitHub Issues.
Same benchmark, other models:
| Model | Repo |
|---|---|
| GINO | zenteiq-ai/scirex-gino-darcy |
| Transolver | zenteiq-ai/scirex-transolver-darcy |
| WNO | zenteiq-ai/scirex-wno-darcy |
Other Darcy runs of the same model:
Same model, other benchmarks:
| Benchmark | Repo |
|---|---|
| Pipe flow | zenteiq-ai/scirex-fno-pipe |
| Navier-Stokes 2D | zenteiq-ai/scirex-fno-navier-stokes |
| Chip cooling | zenteiq-ai/scirex-fno-chip-cooling |
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: