TechieMoon commited on
Commit
b4ffddb
·
verified ·
1 Parent(s): e7c0e39

Upload RainMap Nowcasting demo model

Browse files
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pipeline_tag: image-to-image
4
+ tags:
5
+ - precipitation-nowcasting
6
+ - rainmap
7
+ - pytorch
8
+ - demo
9
+ ---
10
+
11
+ # RainMap Nowcasting
12
+
13
+ This repository hosts the demo weights for
14
+ [`TechieMoon/rainmap-nowcasting`](https://github.com/TechieMoon/rainmap-nowcasting).
15
+
16
+ ## Intended use
17
+
18
+ The model accepts 6 grayscale rain map frames and predicts the next 6 grayscale
19
+ frames. Pixel intensity is interpreted as `0..255 -> 0..1` rain intensity.
20
+
21
+ ## Important warning
22
+
23
+ These first weights are trained on synthetic moving rain blobs only. They are
24
+ for validating installation, model download, inference, and the local client.
25
+ They are not suitable for operational weather forecasting.
26
+
27
+ ## Files
28
+
29
+ - `rainmap-nowcasting-demo.safetensors`: PyTorch state dict.
30
+ - `model_config.json`: architecture, frame count, image size, and encoding.
31
+ - `training_metrics.json`: synthetic-demo training metrics.
32
+
33
+ ## Example
34
+
35
+ ```bash
36
+ python -m rainmap_nowcasting.predict --input-dir samples/input --output-dir outputs
37
+ ```
model_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "RainMapUNet",
3
+ "input_frames": 6,
4
+ "target_frames": 6,
5
+ "image_size": [
6
+ 64,
7
+ 64
8
+ ],
9
+ "base_channels": 8,
10
+ "pixel_encoding": "grayscale_0_255_to_0_1",
11
+ "rain_scale": {
12
+ "min_mm_per_hour": 0.0,
13
+ "max_mm_per_hour": 50.0,
14
+ "description": "Linear placeholder scale for MVP demos; calibrate with real data before use."
15
+ },
16
+ "weights": "rainmap-nowcasting-demo.safetensors",
17
+ "created_at": "2026-05-06T14:03:12.088504+00:00",
18
+ "warning": "Demo model only. Not for operational weather forecasting."
19
+ }
rainmap-nowcasting-demo.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:193379c044d398a5e84de265d263d20ffd466e8d5ba087948273aa690e1dd89f
3
+ size 492304
training_metrics.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "train_dir": "data\\demo\\train",
4
+ "val_dir": "data\\demo\\val",
5
+ "output_dir": "runs\\demo",
6
+ "input_frames": 6,
7
+ "target_frames": 6,
8
+ "image_size": [
9
+ 64,
10
+ 64
11
+ ],
12
+ "batch_size": 4,
13
+ "epochs": 1,
14
+ "learning_rate": 0.001,
15
+ "base_channels": 8,
16
+ "num_workers": 0,
17
+ "seed": 42,
18
+ "device": "auto",
19
+ "amp": true,
20
+ "checkpoint_name": "rainmap-nowcasting-demo.safetensors"
21
+ },
22
+ "device": "cpu",
23
+ "train_samples": 84,
24
+ "val_samples": 28,
25
+ "history": [
26
+ {
27
+ "epoch": 1,
28
+ "train_mse": 0.09050992024796349,
29
+ "val_mse": 0.08037208499653,
30
+ "val_mae": 0.2364002104316439
31
+ }
32
+ ],
33
+ "best_val_mse": 0.08037208499653,
34
+ "warning": "Synthetic demo data only."
35
+ }