Add files using upload-large-folder tool
Browse files- FIGURE_DATA_MANIFEST.json +0 -0
- MANIFEST.json +52 -0
- README.md +105 -0
- SHA256SUMS +6 -0
- assets.tar.gz +3 -0
- figure_data/waveflow-v1.0.0-figure-data.tar.gz +3 -0
- weights/waveflow-global-4var-ep199.pt +3 -0
- weights/waveflow-global-hs-ep99.pt +3 -0
- weights/waveflow-hk-4var-ep49.pt +3 -0
FIGURE_DATA_MANIFEST.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
MANIFEST.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0.0",
|
| 3 |
+
"exported_utc": "2026-11-10T03:12:01Z",
|
| 4 |
+
"git_head": "b51784654d20623c193f98b75b9e7c21ad74cdb0",
|
| 5 |
+
"weights": [
|
| 6 |
+
{
|
| 7 |
+
"name": "waveflow-hk-4var-ep49.pt",
|
| 8 |
+
"kind": "hk_4var",
|
| 9 |
+
"path": "release/artifacts/models/weights/waveflow-hk-4var-ep49.pt",
|
| 10 |
+
"size_bytes": 183111435,
|
| 11 |
+
"sha256": "63bd1a4041b777016c9878bf51e2e4fa8c7ba553fa6adeb8375e12077d393239",
|
| 12 |
+
"params": 45694928,
|
| 13 |
+
"buffers": 7,
|
| 14 |
+
"epoch": 49,
|
| 15 |
+
"source": "output/results/hk_cleaned/all_var/f8_blr5e-5_amp_stable_tod/size_sweep/base_v1_20260821_025917/checkpoints/checkpoint_epoch_49.pt",
|
| 16 |
+
"source_checkpoint": "checkpoint_epoch_49.pt",
|
| 17 |
+
"buffer_source": null
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"name": "waveflow-global-hs-ep99.pt",
|
| 21 |
+
"kind": "global_hs",
|
| 22 |
+
"path": "release/artifacts/models/weights/waveflow-global-hs-ep99.pt",
|
| 23 |
+
"size_bytes": 1880960615,
|
| 24 |
+
"sha256": "fa60f851caf19fa6304cb4ee3fe52dbfa0f944c7dc1008beac9aaf78bfd55959",
|
| 25 |
+
"params": 465461567,
|
| 26 |
+
"buffers": 6,
|
| 27 |
+
"epoch": 99,
|
| 28 |
+
"source": "output/results/global/new_data_hs/patch2048_4frames_concat_wucos_ema999gc_xpred_huge/train_20260724_124120/checkpoints/checkpoint_epoch_99.pt",
|
| 29 |
+
"source_checkpoint": "checkpoint_epoch_99.pt",
|
| 30 |
+
"buffer_source": null
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "waveflow-global-4var-ep199.pt",
|
| 34 |
+
"kind": "global_4var",
|
| 35 |
+
"path": "release/artifacts/models/weights/waveflow-global-4var-ep199.pt",
|
| 36 |
+
"size_bytes": 3883321617,
|
| 37 |
+
"sha256": "cbcf0858743b5774102711f505dc4bd6e5a879fc3e098ec8247dc0bb23234b5a",
|
| 38 |
+
"params": 966043707,
|
| 39 |
+
"buffers": 6,
|
| 40 |
+
"epoch": 199,
|
| 41 |
+
"source": "output/results/global/new_data_allvar/patch2048_4frames_concat_xpred_giant_tod_ext/train_npy_bs24_pf2_asym0_20260922_142002/checkpoints/checkpoint_epoch_199_ema.pt",
|
| 42 |
+
"source_checkpoint": "checkpoint_epoch_199_ema.pt",
|
| 43 |
+
"buffer_source": "output/results/global/new_data_allvar/patch2048_4frames_concat_xpred_giant_tod_ext/train_npy_bs24_pf2_asym0_20260922_142002/checkpoints/checkpoint_epoch_199.pt"
|
| 44 |
+
}
|
| 45 |
+
],
|
| 46 |
+
"assets": {
|
| 47 |
+
"path": "release/artifacts/models/assets.tar.gz",
|
| 48 |
+
"size_bytes": 22070652,
|
| 49 |
+
"sha256": "4e82d28eb77415f951aeeb7a47f10e35f3d929eea47cd7a65fc551dad6d34b16",
|
| 50 |
+
"files": 10
|
| 51 |
+
}
|
| 52 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: pytorch
|
| 6 |
+
tags:
|
| 7 |
+
- ocean-waves
|
| 8 |
+
- wave-forecasting
|
| 9 |
+
- flow-matching
|
| 10 |
+
- unstructured-mesh
|
| 11 |
+
- coastal-hazard
|
| 12 |
+
- hong-kong
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# WaveFlow v1.0.0 — trained weights and figure source data
|
| 16 |
+
|
| 17 |
+
Weights for the three WaveFlow models released with the manuscript
|
| 18 |
+
**“WaveFlow enables high-resolution prediction of ocean waves and water levels
|
| 19 |
+
for coastal hazard warning”**, plus the figure source data needed to re-render
|
| 20 |
+
the released panels.
|
| 21 |
+
|
| 22 |
+
Code and reproduction instructions:
|
| 23 |
+
<https://github.com/Leroy-Xiong/WaveFlow>
|
| 24 |
+
|
| 25 |
+
## Models
|
| 26 |
+
|
| 27 |
+
| File | Model | Params | Epoch |
|
| 28 |
+
|---|---|---|---|
|
| 29 |
+
| `weights/waveflow-hk-4var-ep49.pt` | Hong Kong, four variables (hs, tp, dm, elev) | 45.69 M | 49 |
|
| 30 |
+
| `weights/waveflow-global-hs-ep99.pt` | global mesh, Hs only | 465.46 M | 99 |
|
| 31 |
+
| `weights/waveflow-global-4var-ep199.pt` | global mesh, four variables | 966.04 M | 199 |
|
| 32 |
+
|
| 33 |
+
All checkpoints store the **EMA weights baked into `model_state_dict`**, with
|
| 34 |
+
the non-EMA buffers preserved from the source run. Load them with:
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
-o training.use_ema=false -o sampling.use_ema_for_sampling=false
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
`assets.tar.gz` extracts at the repository root and restores the mesh
|
| 41 |
+
coordinates, patch clusters, normalization statistics and the ocean boundary
|
| 42 |
+
under `data/`. `MANIFEST.json` records the parameter counts, source run names
|
| 43 |
+
and buffer checksums.
|
| 44 |
+
|
| 45 |
+
## Figure source data
|
| 46 |
+
|
| 47 |
+
`figure_data/waveflow-v1.0.0-figure-data.tar.gz` contains the exact model
|
| 48 |
+
samples, derived histograms and per-node error statistics, the Ragasa 2025
|
| 49 |
+
coastal/overtopping assets and small open ERA5 slices behind the released
|
| 50 |
+
panels. It extracts at the repository root. No hindcast reference fields are
|
| 51 |
+
included; `FIGURE_DATA_MANIFEST.json` lists the SHA256, source and licence of
|
| 52 |
+
every member. Third-party terms are in `THIRD_PARTY.md` inside the archive.
|
| 53 |
+
|
| 54 |
+
## Usage
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
git clone https://github.com/Leroy-Xiong/WaveFlow.git
|
| 58 |
+
cd WaveFlow
|
| 59 |
+
conda env create -f environment.yml
|
| 60 |
+
conda activate waveflow
|
| 61 |
+
|
| 62 |
+
# downloads from this repository, verifies SHA256
|
| 63 |
+
python reproduce/reproduce.py setup --download
|
| 64 |
+
python reproduce/reproduce.py fig2a
|
| 65 |
+
python reproduce/reproduce.py all
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
The hindcast reference fields needed by Fig. 5g–i, ED Fig. 5 and ED Fig. 6
|
| 69 |
+
are a third-party product and are **not** redistributed; see the repository's
|
| 70 |
+
`DATA.md` for how to supply them.
|
| 71 |
+
|
| 72 |
+
## Files and checksums
|
| 73 |
+
|
| 74 |
+
```
|
| 75 |
+
weights/waveflow-hk-4var-ep49.pt 183.1 MB
|
| 76 |
+
weights/waveflow-global-hs-ep99.pt 1,881.0 MB
|
| 77 |
+
weights/waveflow-global-4var-ep199.pt 3,883.3 MB
|
| 78 |
+
assets.tar.gz 22.1 MB
|
| 79 |
+
figure_data/waveflow-v1.0.0-figure-data.tar.gz 870 MB
|
| 80 |
+
MANIFEST.json / FIGURE_DATA_MANIFEST.json / SHA256SUMS
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
Verify with `sha256sum -c SHA256SUMS`.
|
| 84 |
+
|
| 85 |
+
## Licence
|
| 86 |
+
|
| 87 |
+
Weights and figure source data: **CC BY 4.0**.
|
| 88 |
+
Code: **MIT**. Third-party assets in the figure archive retain their own
|
| 89 |
+
licences (see `THIRD_PARTY.md`).
|
| 90 |
+
|
| 91 |
+
## Citation
|
| 92 |
+
|
| 93 |
+
If you use these weights, please cite the manuscript and this record:
|
| 94 |
+
|
| 95 |
+
```bibtex
|
| 96 |
+
@misc{waveflow2026weights,
|
| 97 |
+
title = {WaveFlow v1.0.0 trained weights and figure source data},
|
| 98 |
+
year = {2026},
|
| 99 |
+
doi = {10.5281/zenodo.24106733},
|
| 100 |
+
url = {https://github.com/Leroy-Xiong/WaveFlow}
|
| 101 |
+
}
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
The Zenodo record is the metadata/DOI record; the large files are mirrored
|
| 105 |
+
here on Hugging Face.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cbcf0858743b5774102711f505dc4bd6e5a879fc3e098ec8247dc0bb23234b5a weights/waveflow-global-4var-ep199.pt
|
| 2 |
+
fa60f851caf19fa6304cb4ee3fe52dbfa0f944c7dc1008beac9aaf78bfd55959 weights/waveflow-global-hs-ep99.pt
|
| 3 |
+
63bd1a4041b777016c9878bf51e2e4fa8c7ba553fa6adeb8375e12077d393239 weights/waveflow-hk-4var-ep49.pt
|
| 4 |
+
4e82d28eb77415f951aeeb7a47f10e35f3d929eea47cd7a65fc551dad6d34b16 assets.tar.gz
|
| 5 |
+
cb4e6e07aba49b48844bdeb4ac765de4bc6f07f85a4de71e9af8b49190f266b8 MANIFEST.json
|
| 6 |
+
ad18db825d88496a6598ec61ad5283627c79739c53251885d72aa1f47e030b1f figure_data/waveflow-v1.0.0-figure-data.tar.gz
|
assets.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e82d28eb77415f951aeeb7a47f10e35f3d929eea47cd7a65fc551dad6d34b16
|
| 3 |
+
size 22070652
|
figure_data/waveflow-v1.0.0-figure-data.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad18db825d88496a6598ec61ad5283627c79739c53251885d72aa1f47e030b1f
|
| 3 |
+
size 911532784
|
weights/waveflow-global-4var-ep199.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbcf0858743b5774102711f505dc4bd6e5a879fc3e098ec8247dc0bb23234b5a
|
| 3 |
+
size 3883321617
|
weights/waveflow-global-hs-ep99.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa60f851caf19fa6304cb4ee3fe52dbfa0f944c7dc1008beac9aaf78bfd55959
|
| 3 |
+
size 1880960615
|
weights/waveflow-hk-4var-ep49.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63bd1a4041b777016c9878bf51e2e4fa8c7ba553fa6adeb8375e12077d393239
|
| 3 |
+
size 183111435
|