Views
No views yet
| Scenario | Description |
|---|---|
| Regional weather downscaling training | Train CorrDiff with time-aligned coarse-resolution ERA5 inputs and high-resolution CWA-WRF targets. |
| Local quick validation | Use synthetic paired data to check data loading, two-stage training, ensemble inference, and result visualization. |
| Hugging Face / OneCode execution | Download the standalone model package, install dependencies, and run the scripts directly. |
| Multi-GPU training | Launch multi-process training with torchrun after adapting the real-data pipeline for distributed training. |
1hf download OneScience-Group/CorrDiff --local-dir ./CorrDiff
2cd CorrDiff1# Please activate DTK and CONDA first
2conda create -n onescience311 python=3.11 -y
3conda activate onescience311
4# uv installation is supported
5pip install onescience[earth-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai1# Please activate CONDA first
2conda create -n onescience311 python=3.11 -y libstdcxx-ng=12 libgcc-ng=12 gcc_linux-64=12 gxx_linux-64=12
3conda activate onescience311
4# uv installation is supported
5pip install onescience[earth-gpu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.aipython scripts/fake_data.py --output data/era5_corrdiff.npzinput with shape [N, 12, 36, 36] and target with shape [N, 4, 448, 448]. It is intended for pipeline validation only and does not represent real weather predictions.hf download --repo-type dataset OneScience-Group/ERA5 --local-dir ./data/era5ngc registry resource download-version "nvidia/modulus/modulus_datasets_cwa:v1"input and target interface expected by the scripts. Verify the data path in conf/config.yaml before training.python scripts/train.pytorchrun --nproc_per_node=8 --nnodes=1 --rdzv_id=1000 --rdzv_backend=c10d --max_restarts=0 --master_addr="localhost" --master_port=29500 scripts/train.py1data/checkpoints/regression_model.pth
2data/checkpoints/diffusion_model.pth
3data/checkpoints/training_history.npztraining_history.npz stores the regression and diffusion denoising losses.regression_model.pth and diffusion_model.pth from data/era5_corrdiff.npz. Weights produced with synthetic data validate the training and inference pipeline only and do not provide real weather forecasting skill. This repository does not present them as pretrained weights reproducing the paper.python scripts/inference.pyresult/output/predictions.npzpython scripts/result.py1result/output/metrics.json
2result/output/prediction_comparison.pngmetrics.json stores MAE and CRPS for the four output variables. prediction_comparison.png compares the ensemble mean, ensemble standard deviation, and target. Metrics and figures generated from synthetic data are pipeline checks, not paper results.| Platform | OneScience Main Repository | Skills Repository |
|---|---|---|
| Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
| GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |