PyTorch
geomorphology
fluvial-terraces
dem
segmentation
PerfectWin commited on
Commit
569027c
·
verified ·
1 Parent(s): 787a911

v0.2 : modèle E (synthétique puis formes, 512)

Browse files
Files changed (3) hide show
  1. README.md +17 -14
  2. metrics.json +23 -28
  3. model.pt +2 -2
README.md CHANGED
@@ -8,26 +8,29 @@ tags:
8
  - pytorch
9
  datasets:
10
  - PerfectWin/paleoterrace-france
 
11
  ---
12
 
13
- # paleoterrace U-Net (v0.2, model A: 12 channels)
14
 
15
- Maps fluvial terrace levels from a 30 m DEM: non-alluvial, active floodplain (T0), terraces T1, T2, T3, T4+.
16
- U-Net, ResNet-34 encoder, trained on weak BRGM labels of the Garonne and Allier valleys (France), tested on the Moselle
17
- valley (never seen). Code: https://github.com/Arkheox/paleoterrace — service: https://huggingface.co/spaces/PerfectWin/paleoterrace
18
 
19
- `model.pt` holds the weights, the input channels and their normalization (`channels`, `stats`); inputs are computed by
20
- `paleoterrace.features.stack.featureStack` from Copernicus GLO-30 or any DEM resampled to 30 m.
 
21
 
22
- ## Results (test: Moselle, 7.65 M labelled cells)
23
 
24
- | Method | IoU alluvial | mIoU (6 classes) | IoU T0 | Level accuracy | ECE |
25
  |---|---|---|---|---|---|
26
- | Thresholds (TerEx-like, tuned on Garonne + Allier, HAND) | 0.248 | 0.203 | 0.393 | 0.704 | — |
27
- | Previous model v0.1 (8 channels, no relative heights) | 0.507 | 0.266 | 0.504 | 0.686 | 0.047 |
28
- | **This model (v0.2)** | **0.500** | **0.273** | **0.522** | 0.677 | 0.040 |
 
29
 
30
- Validation (8 km held-out blocks): Garonne mIoU 0.70, level accuracy 0.90; Allier mIoU 0.54, level accuracy 0.83.
31
 
32
- Limits: terrace numbering is valley-specific (high levels transfer poorly: IoU T1–T4+ < 0.1 on the Moselle);
33
- Copernicus is a surface model (forests and buildings); paleosurfaces are not mapped yet.
 
8
  - pytorch
9
  datasets:
10
  - PerfectWin/paleoterrace-france
11
+ - PerfectWin/paleoterrace-synthetic-v0.2
12
  ---
13
 
14
+ # paleoterrace U-Net (v0.2, model E)
15
 
16
+ Maps the landforms of river valleys from a 30 m DEM: non-alluvial, active floodplain (T0) and terrace treads. Terrace
17
+ levels (T1 = lowest, T2, …) are then numbered **within each valley** from tread heights above the river, tracked along
18
+ the long profile (`paleoterrace.service.pipeline.formsToLevels`), not copied from a geological map.
19
 
20
+ U-Net (ResNet-34 encoder, 12 DEM-derived channels, 512 × 512 windows), pre-trained on 1,200 simulated landscapes with
21
+ exactly known terraces (`PerfectWin/paleoterrace-synthetic-v0.2`), fine-tuned on weak BRGM labels of the Garonne and
22
+ Allier valleys, tested on the Moselle valley (never seen). Code: https://github.com/Arkheox/paleoterrace
23
 
24
+ ## Results (test: whole Moselle region, 7.65 M labelled cells; 3 classes)
25
 
26
+ | Method | IoU T0 | IoU terrace tread | mIoU | IoU alluvial | ECE |
27
  |---|---|---|---|---|---|
28
+ | Thresholds (TerEx-like, tuned on Garonne + Allier) | 0.393 | 0.05 | — | 0.248 | — |
29
+ | v0.1 (8 channels, BRGM level numbers) | 0.504 | 0.170 | 0.537 | 0.507 | 0.047 |
30
+ | v0.2-A (12 channels, BRGM level numbers) | 0.522 | **0.214** | 0.555 | 0.500 | 0.040 |
31
+ | **v0.2-E (this model: synthetic pre-training, landform target, 512)** | **0.547** | 0.206 | **0.563** | **0.536** | **0.036** |
32
 
33
+ Validation (8 km held-out blocks, 3 classes): Garonne mIoU 0.89, Allier 0.71.
34
 
35
+ Limits: high, dissected terraces of an unseen valley are still mostly missed (tread IoU ~0.2); Copernicus GLO-30 is a
36
+ surface model (forests, buildings); paleosurfaces are not mapped yet.
metrics.json CHANGED
@@ -1,42 +1,37 @@
1
  {
2
- "val_miou_6_best": 0.5979952351986664,
 
3
  "test": {
4
  "moselle": {
5
- "iou_T0": 0.5218615859372749,
6
- "iou_T1": 0.10378013408777519,
7
- "iou_T2": 0.02487724659147899,
8
- "iou_T3": 0.0075550057435716175,
9
- "iou_T4": 0.04790442202064315,
10
- "level_accuracy": 0.676720007808936,
11
- "iou_alluvial": 0.49993875118140507,
12
- "miou_6": 0.2726262707489407,
13
- "ece": 0.039538208580586265,
14
  "cells": 7652466
15
  }
16
  },
17
  "validation": {
18
  "garonne": {
19
- "iou_T0": 0.8425464536860243,
20
- "iou_T1": 0.7249035868843008,
21
- "iou_T2": 0.4827033139481215,
22
- "iou_T3": 0.5557545756529668,
23
- "iou_T4": 0.6435718201754386,
24
- "level_accuracy": 0.8953282585982644,
25
- "iou_alluvial": 0.9036509938594294,
26
- "miou_6": 0.6993457928109613,
27
- "ece": 0.021442514531963365,
28
  "cells": 1826914
29
  },
30
  "allier": {
31
- "iou_T0": 0.6141564207650273,
32
- "iou_T1": 0.500655737704918,
33
- "iou_T2": 0.5846626448055072,
34
- "iou_T3": 0.37231395611852525,
35
- "iou_T4": 0.21943074003795066,
36
- "level_accuracy": 0.8268283093053735,
37
- "iou_alluvial": 0.7036019254532376,
38
- "miou_6": 0.5435647233899731,
39
- "ece": 0.013620826793685856,
40
  "cells": 1153764
41
  }
42
  }
 
1
  {
2
+ "target": "forms",
3
+ "val_miou_best": 0.783093928080705,
4
  "test": {
5
  "moselle": {
6
+ "iou_T0": 0.5471159554119122,
7
+ "iou_T1": 0.20597617632458254,
8
+ "level_accuracy": 0.8213994653327732,
9
+ "iou_alluvial": 0.5362110037938748,
10
+ "miou_3": 0.5634924386275304,
11
+ "miou": 0.5634924386275304,
12
+ "ece": 0.03603902743777333,
 
 
13
  "cells": 7652466
14
  }
15
  },
16
  "validation": {
17
  "garonne": {
18
+ "iou_T0": 0.87943600002573,
19
+ "iou_T1": 0.844756128047577,
20
+ "level_accuracy": 0.9709002356791824,
21
+ "iou_alluvial": 0.9096045281673402,
22
+ "miou_3": 0.8913658303523674,
23
+ "miou": 0.8913658303523674,
24
+ "ece": 0.011243224799826985,
 
 
25
  "cells": 1826914
26
  },
27
  "allier": {
28
+ "iou_T0": 0.5498633292647286,
29
+ "iou_T1": 0.6203438395415473,
30
+ "level_accuracy": 0.9253169219071155,
31
+ "iou_alluvial": 0.6686925503094437,
32
+ "miou_3": 0.7104061932224655,
33
+ "miou": 0.7104061932224655,
34
+ "ece": 0.014421980855297958,
 
 
35
  "cells": 1153764
36
  }
37
  }
model.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82acfec5faffe9feeb356ba270accedcef0ea39f71e28a5275f317234debf88e
3
- size 98008283
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa1898ee11f082d417cbbad6ab87418e67278a6b71e5b449a02847028b543b1c
3
+ size 98006619