VINO-DarcyFlow
This package reproduces the 64 x 64 Darcy-flow experiment from Variational Physics-informed Neural Operator. It predicts pressure from permeability using a variational energy objective; training labels are not used to update the model.
Download
hf download OneScience-Group/VINO-DarcyFlow --local-dir ./VINO-DarcyFlow
cd VINO-DarcyFlow
pip install -r requirements.txt
The original darcy2d_s64.pt comes from the authors' data directory. A provenance-preserving copy is available on ModelScope. Place that file at data/darcy2d_s64.pt; this Hugging Face repository contains the model only. Only load PyTorch-serialized data from a trusted source.
Run
python scripts/inference.py
python scripts/result.py
# To repeat the full 500-epoch run on a GPU/DCU:
python scripts/train.py
The included weight/best_model.pt is from epoch 435 and has SHA256 e9b47a201bc03cc9362b4803706b6529426b8fc889ce9f185b8fec52cf9c51f8. Its mean test relative L2 was 1.109766%, versus 0.93% in the paper. The best epoch was selected using the same test set, so that result is not an independent test estimate.
See config/config.yaml for the 1000/100 split and results/ for the recorded run. Data licensing is separate from this model package; consult the original source.
中文说明
VINO-DarcyFlow
本软件包复现了变分物理信息神经算子(Variational Physics-informed Neural Operator)中的 64 x 64 达西流(Darcy-flow)实验。该实验使用变分能量目标根据渗透率预测压力,模型更新时不使用训练标签。
下载
hf download OneScience-Group/VINO-DarcyFlow --local-dir ./VINO-DarcyFlow
cd VINO-DarcyFlow
pip install -r requirements.txt
原始 darcy2d_s64.pt 来自作者的数据目录。ModelScope 提供保留来源信息的副本。请将该文件放在 data/darcy2d_s64.pt,本 Hugging Face 仓库仅包含模型。仅加载来自可信来源的 PyTorch 序列化数据。
运行
python scripts/inference.py
python scripts/result.py
# To repeat the full 500-epoch run on a GPU/DCU:
python scripts/train.py
随附的 weight/best_model.pt 来自第 435 个训练轮次,SHA256 为 e9b47a201bc03cc9362b4803706b6529426b8fc889ce9f185b8fec52cf9c51f8。其测试集平均相对 L2 为 1.109766%,论文中为 0.93%。最佳训练轮次是使用同一个测试集选出的,因此该结果并非独立的测试估计。
1000/100 的划分见 config/config.yaml,运行记录见 results/。数据与本模型包分别授权,请查阅原始来源。
- Downloads last month
- 30