Viharikvs commited on
Commit
9d376ee
·
verified ·
1 Parent(s): 4e880a9

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +60 -3
README.md CHANGED
@@ -1,3 +1,60 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Spatial - Sat2Map Model
2
+
3
+ Satellite-to-map prediction model trained on OlmoEarth data using the PlanB/nanochat framework.
4
+
5
+ ## WandB Run
6
+
7
+ [Training Run](https://wandb.ai/viharikvs-urbankisaan/nanochat-sat2map/runs/z9aeknl6?nw=nwuserviharikvs)
8
+
9
+ ## Training Progress
10
+
11
+ | Step | Val Loss |
12
+ |------|----------|
13
+ | 1000 | 0.3207 |
14
+ | 1500 | 0.4950 |
15
+ | 2000 | 1.0681 |
16
+
17
+ ## 8-GPU Evaluation Results (DDP Aggregated)
18
+
19
+ Evaluation using all 8 GPUs with `--eval-batches 200` and `--batch-size 2` (400 examples per split), aggregating totals across ranks.
20
+
21
+ ### Step 1000 (Recommended)
22
+
23
+ | Metric | Value |
24
+ |--------|-------|
25
+ | Val Loss | 0.3668 |
26
+ | Val Accuracy | 0.8813 |
27
+ | WorldCover Accuracy | 0.8892 |
28
+ | CDL Accuracy | 0.8483 |
29
+
30
+ ### Step 1500
31
+
32
+ | Metric | Value |
33
+ |--------|-------|
34
+ | Val Loss | 0.5635 |
35
+ | Val Accuracy | 0.8680 |
36
+ | WorldCover Accuracy | 0.8755 |
37
+ | CDL Accuracy | 0.8364 |
38
+
39
+ **Conclusion:** Use step 1000 checkpoint (better val loss + accuracy). Step 1500 is fitting train harder but generalizing worse.
40
+
41
+ ## Repository Contents
42
+
43
+ - `sat2map_checkpoints/d20_sat2map/` - Model checkpoints (steps 500, 1000, 1500, 2000)
44
+ - `sat2map_dataset/sat2map_g16_t12_target64_k1024/` - Training and test dataset
45
+
46
+ ## Usage
47
+
48
+ ```python
49
+ from huggingface_hub import hf_hub_download
50
+
51
+ # Download best checkpoint (step 1000)
52
+ model_path = hf_hub_download(
53
+ repo_id="Viharikvs/spatial",
54
+ filename="sat2map_checkpoints/d20_sat2map/model_001000.pt"
55
+ )
56
+ meta_path = hf_hub_download(
57
+ repo_id="Viharikvs/spatial",
58
+ filename="sat2map_checkpoints/d20_sat2map/meta_001000.json"
59
+ )
60
+ ```