Skip to content

Commit d652c1b

Browse files
committed
provide pretrained checkpoints
1 parent 99d0b4d commit d652c1b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/usage.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ python src/climax/pretrain/train.py --config configs/pretrain_climax.yaml \
2424
!!! tip
2525
Make sure to update the paths of the data directories in the config files (or override them via the CLI).
2626

27+
### Pretrained checkpoints
28+
We provide two pretrained checkpoints, one was pretrained on [5.625deg](https://climaxrelease.blob.core.windows.net/checkpoints/ClimaX-5.625deg.ckpt) data, and the other was pretrained on [1.40625deg](https://climaxrelease.blob.core.windows.net/checkpoints/ClimaX-1.40625deg.ckpt) data. Both checkpoints were pretrained using all 5 CMIP6 datasets.
29+
```Usage:``` We can load the checkpoint by passing the checkpoint url to the training script. See below.
30+
2731
## Global Forecasting
2832

2933
### Data Preparation
@@ -80,7 +84,7 @@ python src/climax/global_forecast/train.py --config configs/global_forecast_clim
8084
--data.root_dir=/mnt/data/5.625deg_npz \
8185
--data.predict_range=72 --data.out_variables=['z_500','t_850','t2m'] \
8286
--data.batch_size=16 \
83-
--model.pretrained_path=/mnt/checkpoints/climax_5.625deg.ckpt \
87+
--model.pretrained_path='https://climaxrelease.blob.core.windows.net/checkpoints/ClimaX-5.625deg.ckpt' \
8488
--model.lr=5e-7 --model.beta_1="0.9" --model.beta_2="0.99" \
8589
--model.weight_decay=1e-5
8690
```
@@ -107,7 +111,7 @@ python src/climax/regional_forecast/train.py --config configs/regional_forecast_
107111
--data.region="NorthAmerica"
108112
--data.predict_range=72 --data.out_variables=['z_500','t_850','t2m'] \
109113
--data.batch_size=16 \
110-
--model.pretrained_path=/mnt/checkpoints/climax_5.625deg.ckpt \
114+
--model.pretrained_path='https://climaxrelease.blob.core.windows.net/checkpoints/ClimaX-5.625deg.ckpt' \
111115
--model.lr=5e-7 --model.beta_1="0.9" --model.beta_2="0.99" \
112116
--model.weight_decay=1e-5
113117
```

0 commit comments

Comments
 (0)