Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add normalization parameters to documentation #152

Merged
merged 5 commits into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,26 @@ We store each chip as geotiff, along with their coordinate & timestamp informati

![bands](https://github.com/Clay-foundation/model/assets/23487320/85fbc8d2-28f6-4021-855b-c1eb84dd09e3)

### Normalization parameters

To normalize the data before passing it to the model, we computed the following normalization parameters from a random sample of the training data. The normalization parameters are used in the [Data Module](https://github.com/Clay-foundation/model/blob/v0.0.1/src/datamodule.py#L108), for partial
inputs it will be necessary to subset these as shown in the partial input tutorial.

| Band | Mean | Standard deviation |
|----------------|---------|--------------------|
| Sentinel-2 B02 | 1369.03 | 2026.96 |
| Sentinel-2 B03 | 1597.68 | 2011.88 |
| Sentinel-2 B04 | 1741.10 | 2146.35 |
| Sentinel-2 B05 | 2053.58 | 2138.96 |
| Sentinel-2 B06 | 2569.82 | 2003.27 |
| Sentinel-2 B07 | 2763.01 | 1962.45 |
| Sentinel-2 B08 | 2858.43 | 2016.38 |
| Sentinel-2 B8A | 2893.86 | 1917.12 |
| Sentinel-2 B11 | 2303.00 | 1679.88 |
| Sentinel-2 B12 | 1807.79 | 1568.06 |
| Sentinel-1 VV | 0.026 | 0.118 |
| Sentinel-1 VH | 0.118 | 0.873 |
| Copernicus DEM | 499.46 | 880.35 |

## Training Card

Expand Down