D-SENO: Pipe-G flow

This package reproduces the Pipe-G experiment from Efficient Dilated Squeeze and Excitation Neural Operator for Differential Equations. A seven-block, width-96 D-SENO maps curved-pipe X/Y coordinates to horizontal velocity on a 129x129 grid. Three seeds each completed 500 epochs with 1,000 training and 200 test cases.

Results

The supplied seed-11 checkpoint gives test relative L2 0.00292652 after reload. The best-checkpoint three-seed mean is 0.00289914, and the final-epoch three-seed mean is 0.00307909. The paper reports 0.0030. Best checkpoints were selected using the same test set, so those best scores are not independent final-test results; see results/three_seed_summary.json for the complete record.

Download

hf download OneScience-Group/D-SENO --local-dir ./D-SENO
cd D-SENO

The original Geo-FNO Pipe arrays are available from the OneScience/HO-FNO-Pipe ModelScope dataset. This Hugging Face repository contains no raw dataset.

modelscope download --dataset OneScience/HO-FNO-Pipe --local_dir ./data

Pipe_X.npy and Pipe_Y.npy are coordinate arrays, while Pipe_Q.npy contains flow fields. Each has 2,310 cases on a 129x129 grid; the model uses Q channel 0. Run all commands from the model directory; the published config reads data/ and writes to results/.

Environment and usage

Use Python 3.10 and PyTorch on an allocated GPU/DCU, plus onescience[cfd-gpu] or onescience[cfd-dcu] and requirements.txt. On an HPC system, use a compute-node allocation.

python scripts/inference.py
python scripts/result.py

To retrain, move the included weight/ and results/ outside the package and run python scripts/train.py --seed 11. Other seeds need distinct --output-root directories. Published inference accepts a relocated data directory while still checking model and preprocessing settings.

Checkpoint: weight/best_model.pth (SHA256 f6464c8bd42694228df105abd651dfbe075fb92ba1464ad4835cc889c35bad95). Source data: Geo-FNO. Check original data terms before redistribution.


中文说明

D-SENO:Pipe-G 流动

本模型包复现了用于微分方程的高效空洞压缩与激励神经算子(neural operator)中的 Pipe-G 实验。D-SENO 使用七个块、宽度为 96,在 129x129 网格上将弯管的 X/Y 坐标映射为水平速度。三个种子均完成了 500 轮训练,使用 1,000 个训练样本和 200 个测试样本。

结果

随附的种子 11 模型权重(检查点)(checkpoint)重新加载后,测试相对 L2 为 0.00292652。最佳模型权重(检查点)的三个种子平均值为 0.00289914,最后一轮的三个种子平均值为 0.00307909。论文报告值为 0.0030。最佳模型权重(检查点)使用同一测试集选出,因此这些最佳分数并非独立最终测试结果。完整记录见 results/three_seed_summary.json。

下载

hf download OneScience-Group/D-SENO --local-dir ./D-SENO
cd D-SENO

原始 Geo-FNO Pipe 数组可从 OneScience/HO-FNO-Pipe 的 ModelScope 数据集获取。此 Hugging Face 仓库不包含原始数据集。

modelscope download --dataset OneScience/HO-FNO-Pipe --local_dir ./data

Pipe_X.npy 和 Pipe_Y.npy 是坐标数组,Pipe_Q.npy 包含流场。每个数组均含 2,310 个 129x129 网格样本,模型使用 Q 的通道 0。从模型目录运行所有命令。发布配置从 data/ 读取并写入 results/。

环境与使用方法

在已分配的 GPU/DCU 上使用 Python 3.10、PyTorch、onescience[cfd-gpu] 或 onescience[cfd-dcu] 以及 requirements.txt。在 HPC 系统中,请使用已分配的计算节点。

python scripts/inference.py
python scripts/result.py

如需重新训练,将随附的 weight/ 和 results/ 移至模型包外,再运行 python scripts/train.py --seed 11。其他种子需要各自的 --output-root 目录。已发布的推理(inference)流程支持移动后的数据目录,并继续检查模型和预处理设置。

模型权重(检查点)为 weight/best_model.pth(SHA256 f6464c8bd42694228df105abd651dfbe075fb92ba1464ad4835cc889c35bad95)。数据来源为 Geo-FNO。再分发前请核对原始数据条款。

Downloads last month
106
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for OneScience-Group/D-SENO