Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +0 -0
- Sen1Floods11/Sen1Floods11/.DS_Store +0 -0
- Sen1Floods11/Sen1Floods11/README.md +72 -0
- Sen1Floods11/Sen1Floods11/Sen1Floods11_Metadata.geojson +18 -0
- Sen1Floods11/Sen1Floods11/Train.ipynb +836 -0
- Sen1Floods11/Sen1Floods11/docs/README.md +46 -0
- Sen1Floods11/Sen1Floods11/docs/img/Spain_7370579_Label.png +3 -0
- Sen1Floods11/Sen1Floods11/docs/img/Spain_7370579_S1.png +3 -0
- Sen1Floods11/Sen1Floods11/docs/img/Spain_7370579_S2.png +3 -0
- Sen1Floods11/Sen1Floods11/old_training/Main_Training_Stuff.ipynb +2001 -0
- Sen1Floods11/Sen1Floods11/old_training/Test_Models.ipynb +0 -0
- Sen1Floods11/Sen1Floods11/sample/Labels/Spain_7370579_LabelHand.tif +0 -0
- Sen1Floods11/Sen1Floods11/sample/S1/Spain_7370579_S1Hand.tif +3 -0
- Sen1Floods11/Sen1Floods11/sample/S2/Spain_7370579_S2Hand.tif +3 -0
- Sen1Floods11/gsutil.log +7 -0
- Sen1Floods11/v1.1/Sen1Floods11_Metadata.geojson +18 -0
- Sen1Floods11/v1.1/catalog.zip +3 -0
- Sen1Floods11/v1.1/catalog/catalog.json +37 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_103757_label/Bolivia_103757_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_129334_label/Bolivia_129334_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_195474_label/Bolivia_195474_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_23014_label/Bolivia_23014_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_233925_label/Bolivia_233925_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_242570_label/Bolivia_242570_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_290290_label/Bolivia_290290_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_294583_label/Bolivia_294583_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_312675_label/Bolivia_312675_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_314919_label/Bolivia_314919_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_360519_label/Bolivia_360519_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_379434_label/Bolivia_379434_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_432776_label/Bolivia_432776_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_60373_label/Bolivia_60373_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_76104_label/Bolivia_76104_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_103272_label/Ghana_103272_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_1033830_label/Ghana_1033830_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_1078550_label/Ghana_1078550_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_1089161_label/Ghana_1089161_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_11745_label/Ghana_11745_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_124834_label/Ghana_124834_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_128663_label/Ghana_128663_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_132163_label/Ghana_132163_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_134751_label/Ghana_134751_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_135389_label/Ghana_135389_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_141271_label/Ghana_141271_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_141910_label/Ghana_141910_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_142312_label/Ghana_142312_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_144050_label/Ghana_144050_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_146222_label/Ghana_146222_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_147015_label/Ghana_147015_label.json +93 -0
- Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_154838_label/Ghana_154838_label.json +93 -0
.gitattributes
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Sen1Floods11/Sen1Floods11/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
Sen1Floods11/Sen1Floods11/README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Sen1Floods11
|
| 2 |
+
|
| 3 |
+
**NOTE: As of v1.1 of Sen1Floods11 the data has been moved to the `sen1floods11` bucket on GCS. The original v1.0 data is still hosted for now on the original `cnn_chips` bucket. v1.1 involved major restructing of the bucket and more understandable file naming as well as updates to the dataset and data format to comply with COG spec.**
|
| 4 |
+
|
| 5 |
+
Sen1Floods11: a georeferenced dataset to train and test deep learning flood algorithms for Sentinel-1 (Example). This data was generated by Cloud to Street, a Public Benefit Corporation: https://www.cloudtostreet.info/. For questions about this dataset or code please email support@cloudtostreet.info. Please cite this data as:
|
| 6 |
+
|
| 7 |
+
Bonafilia, D., Tellman, B., Anderson, T., Issenberg, E. 2020. Sen1Floods11: a georeferenced dataset to train and test deep learning flood algorithms for Sentinel-1. The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2020, pp. 210-211.
|
| 8 |
+
|
| 9 |
+
Available Open access at: http://openaccess.thecvf.com/content_CVPRW_2020/html/w11/Bonafilia_Sen1Floods11_A_Georeferenced_Dataset_to_Train_and_Test_Deep_Learning_CVPRW_2020_paper.html
|
| 10 |
+
|
| 11 |
+
## Dataset Access
|
| 12 |
+
|
| 13 |
+
The dataset is available for access through Google Cloud Storage bucket at: `gs://senfloods11/`
|
| 14 |
+
|
| 15 |
+
You can access the dataset bucket using the [gsutil](https://cloud.google.com/storage/docs/gsutil) command line tool. If you would like to download the entire dataset (~14 GB) you can use `gsutil rsync` to clone the bucket to a local directory. The `-m` flag is recommended to speed downloads. The `-r` flag will download sub-directories and folder recursively. See the example below.
|
| 16 |
+
|
| 17 |
+
```bash
|
| 18 |
+
$ gsutil -m rsync -r gs://sen1floods11 /YOUR/LOCAL/DIRECTORY/HERE
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
If using an example notebook, you can download the dataset to the folder that notebooks expect it to be in by running
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
$ mkdir /home/files
|
| 25 |
+
$ gsutil -m rsync -r gs://sen1floods11 /home/files
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Bucket Structure
|
| 29 |
+
|
| 30 |
+
The `sen1floods11` bucket is split into subfolders containing data, checkpoints, training/testing splits, and a [STAC](https://stacspec.org/) compliant catalog. More detail on each is provided in the docs README.
|
| 31 |
+
|
| 32 |
+
## Dataset Information
|
| 33 |
+
|
| 34 |
+
Each file follows the naming scheme EVENT_CHIPID_LAYER.tif (e.g. `Bolivia_103757_S2Hand.tif`). Chip IDs are unique, and not shared between events. Events are named by country and further information on each event (including dates) can be found in the event metadata below. Each layer has a separate GeoTIFF, and can contain multiple bands in a stacked GeoTIFF. All images are projected to WGS 84 (`EPSG:4326`) at 10 m ground resolution.
|
| 35 |
+
|
| 36 |
+
| Layer | Description | Values | Format | Bands |
|
| 37 |
+
| ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 38 |
+
| QC | Hand labeled chips containing ground truth | -1: No Data / Not Valid <br> 0: Not Water <br> 1: Water | GeoTIFF <br> 512 x 512 <br> 1 band <br> Int16 | 0: QC |
|
| 39 |
+
| S1 | Raw Sentinel-1 imagery. <br> IW mode, GRD product <br> See [here](https://developers.google.com/earth-engine/sentinel1) for information on preprocessing | Unit: dB | GeoTIFF <br> 512 x 512 <br> 2 bands <br> Float32 | 0: VV <br> 1: VH |
|
| 40 |
+
| S2 | Raw Sentinel-2 MSI Level-1C imagery <br> Contains all spectral bands (1 - 12) <br> Does not contain QA mask | Unit: TOA reflectance <br> (scaled by 10000) | GeoTIFF <br> 512 x 512 <br> 13 bands <br> UInt16 | 0: B1 (Coastal) <br> 1: B2 (Blue) <br> 2: B3 (Green) <br> 3: B4 (Red) <br> 4: B5 (RedEdge-1) <br> 5: B6 (RedEdge-2) <br> 6: B7 (RedEdge-3) <br> 7: B8 (NIR) <br> 8: B8A (Narrow NIR) <br> 9: B9 (Water Vapor) <br> 10: B10 (Cirrus) <br> 11: B11 (SWIR-1) <br> 12: B12 (SWIR-2) |
|
| 41 |
+
|
| 42 |
+
### Example images
|
| 43 |
+
|
| 44 |
+
A sample of the dataset for chip _Spain_7370579_ is provided at in `./sample`
|
| 45 |
+
|
| 46 |
+
<div>
|
| 47 |
+
<img src="./docs/img/Spain_7370579_Label.png" height="256" hspace=3 >
|
| 48 |
+
<img src="./docs/img/Spain_7370579_S1.png" height="256" hspace=3 >
|
| 49 |
+
<img src="./docs/img/Spain_7370579_S2.png" height="256" hspace=3 >
|
| 50 |
+
</div>
|
| 51 |
+
|
| 52 |
+
## Example Use
|
| 53 |
+
|
| 54 |
+
[Train.ipynb](Train.ipynb) shows how to train and validate the model on a dataset.
|
| 55 |
+
|
| 56 |
+
## Event Metadata
|
| 57 |
+
|
| 58 |
+
Locations of the flood events and metadata is contained in _Sen1Floods11_Metadata.geojson_. The following fields can be found:
|
| 59 |
+
|
| 60 |
+
| Field | Description |
|
| 61 |
+
| --------------- | -------------------------------------------------------------------------------------- |
|
| 62 |
+
| ID | Unique ID for each event |
|
| 63 |
+
| location | Flood event location (country) |
|
| 64 |
+
| ISO_CC | ISO Country Code for flood event location |
|
| 65 |
+
| s1_date | Date (YYYY-MM-dd) that Sentinel-1 image was acquired |
|
| 66 |
+
| s2_date | Date (YYYY-MM-dd) that Sentinel-2 image was acquired |
|
| 67 |
+
| orbit | Orbit (ASCENDING or DESCENDING) that Sentinel-1 image was acquired |
|
| 68 |
+
| rel_orbit_num | Relative Orbit Number that Sentinel-1 image was acquired |
|
| 69 |
+
| coincident_size | Number of coincident tiles from S2 |
|
| 70 |
+
| VH_thresh | Threshold used for Sentinel-1 VH band to classify water in reference S1 classification |
|
| 71 |
+
| train_chip | Number of chips used for training |
|
| 72 |
+
| val_chip | Number of chips used for validation |
|
Sen1Floods11/Sen1Floods11/Sen1Floods11_Metadata.geojson
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "FeatureCollection",
|
| 3 |
+
"name": "Sen1Floods11_Metadata",
|
| 4 |
+
"features": [
|
| 5 |
+
{ "type": "Feature", "properties": { "coincident_size": 10.0, "location": "Bolivia", "orbit": "DESCENDING", "rel_orbit_num": 156.0, "s1_date": "2018\/02\/15", "s2_date": "2018\/02\/15", "ID": 1, "ISO_CC": "BOL", "VH_thresh": -20.44, "train_chip": 224, "val_chip": 15 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -65.317559857533908, -15.959244925391689 ], [ -65.158254847813453, -15.959244879070081 ], [ -64.998949860147647, -15.959244896460911 ], [ -64.839644860183128, -15.959244921943625 ], [ -64.680339907332367, -15.959244902930308 ], [ -64.521034883785887, -15.959244921940909 ], [ -64.361636278627628, -15.95924488195546 ], [ -64.361638085153402, -11.391041883289134 ], [ -64.521034883785887, -11.391041903057278 ], [ -64.680339907332367, -11.391041863855989 ], [ -64.839644860183128, -11.391041907704693 ], [ -64.998949860147647, -11.391041863956536 ], [ -65.158254847813453, -11.391041858580971 ], [ -65.317559857533908, -11.39104185953703 ], [ -65.476864835983875, -11.391041900399927 ], [ -65.63626158237264, -11.391041868224292 ], [ -65.636263395800469, -15.959244871656798 ], [ -65.476864835983875, -15.959244905007946 ], [ -65.317559857533908, -15.959244925391689 ] ] ] } },
|
| 6 |
+
{ "type": "Feature", "properties": { "coincident_size": 17.0, "location": "Colombia", "orbit": "ASCENDING", "rel_orbit_num": 106.0, "s1_date": "2018\/08\/22", "s2_date": "2018\/08\/23", "ID": 12, "ISO_CC": "COL", "VH_thresh": -21.31, "train_chip": 534, "val_chip": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -66.699056467513003, 2.110187334380341 ], [ -66.698966424540345, 2.110256913241736 ], [ -66.698965788515352, 7.101676501313605 ], [ -66.986281510293452, 7.101676556727341 ], [ -67.273506568024828, 7.101676582256204 ], [ -67.56073166508456, 7.101676546581063 ], [ -67.847956801596126, 7.101676546303533 ], [ -68.135181854756027, 7.101676554710013 ], [ -68.422406934975371, 7.101676516311729 ], [ -68.709632014212687, 7.101676560416262 ], [ -68.996947786118142, 7.101676484769647 ], [ -68.996947149405131, 2.110187337543972 ], [ -68.709632014212687, 2.110187335227751 ], [ -68.422406934975371, 2.110187383397538 ], [ -68.135181854756027, 2.11018736600957 ], [ -67.847956801596126, 2.110187374091536 ], [ -67.56073166508456, 2.110187344112311 ], [ -67.273506568024828, 2.110187342205038 ], [ -66.986281510293452, 2.110187349735659 ], [ -66.699056467513003, 2.110187334380341 ] ] ] } },
|
| 7 |
+
{ "type": "Feature", "properties": { "coincident_size": 23.0, "location": "Ghana", "orbit": "ASCENDING", "rel_orbit_num": 147.0, "s1_date": "2018\/09\/18", "s2_date": "2018\/09\/19", "ID": 2, "ISO_CC": "GHA", "VH_thresh": -22.81, "train_chip": 181, "val_chip": 53 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -2.303236148634169, 6.305948520527788 ], [ -2.14560918995018, 6.305948579948737 ], [ -1.90930453989902, 6.305930833489019 ], [ -1.594231685594605, 6.305930809073828 ], [ -1.279158841130708, 6.305930839802845 ], [ -0.964085966490517, 6.305930803294456 ], [ -0.649013127719911, 6.305930793669952 ], [ -0.333940286921198, 6.305930797687937 ], [ -0.018867398100296, 6.305930856635072 ], [ 0.217527752331677, 6.305948567886308 ], [ 0.217529183347789, 11.9343432247951 ], [ -0.097635673274431, 11.934343252144256 ], [ -0.412708533718797, 11.934343250340113 ], [ -0.727781359965948, 11.934343252190352 ], [ -1.042854230684262, 11.934343259800119 ], [ -1.515463517428675, 11.934343286123339 ], [ -1.830536381212682, 11.934343326187413 ], [ -2.303237652561542, 11.934343267395294 ], [ -2.303236148634169, 6.305948520527788 ] ] ] } },
|
| 8 |
+
{ "type": "Feature", "properties": { "coincident_size": 12.0, "location": "India", "orbit": "DESCENDING", "rel_orbit_num": 77.0, "s1_date": "2016\/08\/12", "s2_date": "2016\/08\/12", "ID": 3, "ISO_CC": "IND", "VH_thresh": -21.56, "train_chip": 467, "val_chip": 68 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 92.276534848133792, 28.284759458561638 ], [ 92.150651743892013, 28.284759400549099 ], [ 92.150654741610538, 24.847175995180567 ], [ 92.339425401420129, 24.84713652559504 ], [ 92.590987352703166, 24.847136568157257 ], [ 92.84254932033862, 24.847136572068923 ], [ 93.094111235876824, 24.847136537555855 ], [ 93.345673206071453, 24.84713651794458 ], [ 93.597235172496312, 24.847136535788014 ], [ 93.785906692466867, 24.847176020541536 ], [ 93.974578166976983, 24.847136509695623 ], [ 94.163348819538655, 24.847175955629837 ], [ 94.163351788064347, 28.284759353375033 ], [ 93.785906692466867, 28.284759394931594 ], [ 93.534344722748571, 28.284759455929166 ], [ 93.282782731460841, 28.284759459013305 ], [ 92.905439820951486, 28.284759417906916 ], [ 92.653877808606453, 28.284759390733107 ], [ 92.276534848133792, 28.284759458561638 ] ] ] } },
|
| 9 |
+
{ "type": "Feature", "properties": { "coincident_size": 16.0, "location": "Cambodia", "orbit": "ASCENDING", "rel_orbit_num": 26.0, "s1_date": "2018\/08\/05", "s2_date": "2018\/08\/04", "ID": 4, "ISO_CC": "KHM", "VH_thresh": -23.06, "train_chip": 1353, "val_chip": 30 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 106.279737437346114, 10.571239381065736 ], [ 106.426782095952788, 10.571239308798242 ], [ 106.426783443827574, 14.274903718111345 ], [ 106.132784218041508, 14.274903758522077 ], [ 105.838877982395786, 14.274903767542607 ], [ 105.398018466058872, 14.274903788123138 ], [ 104.957159062875022, 14.274903739199164 ], [ 104.663252767952173, 14.274903751809351 ], [ 104.369346452781173, 14.274903743222296 ], [ 104.075347265863144, 14.274903712775506 ], [ 104.075348594983296, 10.571239360754513 ], [ 104.295869901505171, 10.571213843621877 ], [ 104.589776169148507, 10.571213869874853 ], [ 104.883682455061205, 10.571213908919695 ], [ 105.177588812703561, 10.571213869703566 ], [ 105.47149506922969, 10.571213878714286 ], [ 105.765401346636594, 10.571213836724148 ], [ 106.059307691578908, 10.571213852762405 ], [ 106.279737437346114, 10.571239381065736 ] ] ] } },
|
| 10 |
+
{ "type": "Feature", "properties": { "coincident_size": 24.0, "location": "Nigeria", "orbit": "ASCENDING", "rel_orbit_num": 103.0, "s1_date": "2018\/09\/21", "s2_date": "2018\/09\/20", "ID": 5, "ISO_CC": "NGA", "VH_thresh": -21.94, "train_chip": 109, "val_chip": 18 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 6.794424517027755, 10.536205339010641 ], [ 6.493432743830116, 10.536205406435087 ], [ 6.192440978909891, 10.536205414553613 ], [ 5.891449208041117, 10.536205345674334 ], [ 5.590457467545308, 10.536205400485811 ], [ 5.289465654357295, 10.536205403378505 ], [ 4.988473900000131, 10.536205394328748 ], [ 4.687482146781093, 10.536205380098529 ], [ 4.536894688492211, 10.536205358322002 ], [ 4.536896025867931, 4.117742370489498 ], [ 4.83797798678574, 4.117742327750085 ], [ 5.138969773461186, 4.117742361304216 ], [ 5.439961590377005, 4.117742333078986 ], [ 5.740953327783949, 4.117742369298343 ], [ 6.04194505774187, 4.117742346269613 ], [ 6.34293682062697, 4.117742357954983 ], [ 6.643928652700954, 4.117742327278482 ], [ 6.945010567422035, 4.117742306897618 ], [ 6.945011878171817, 10.536205328409451 ], [ 6.794424517027755, 10.536205339010641 ] ] ] } },
|
| 11 |
+
{ "type": "Feature", "properties": { "coincident_size": 27.0, "location": "Pakistan", "orbit": "DESCENDING", "rel_orbit_num": 5.0, "s1_date": "2017\/06\/28", "s2_date": "2017\/06\/28", "ID": 6, "ISO_CC": "PAK", "VH_thresh": -19.56, "train_chip": 249, "val_chip": 28 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 70.99420503034203, 28.043022762423043 ], [ 71.272163357115403, 28.043078701190382 ], [ 71.605713506754711, 28.042944459737431 ], [ 71.939263566958715, 28.043078724211991 ], [ 72.217221934265154, 28.043022751275998 ], [ 72.550874029724298, 28.043022698696728 ], [ 72.550881069693915, 34.350723167901947 ], [ 71.66130518636858, 34.350723224121005 ], [ 70.99420503034203, 34.350723234988585 ], [ 70.549471574588523, 34.350723249108825 ], [ 69.660004663673789, 34.350723258785131 ], [ 68.992795502863245, 34.350723135977738 ], [ 68.992802597681802, 28.043112252752824 ], [ 69.215271262853406, 28.043022775303555 ], [ 69.493229609706304, 28.043078755473665 ], [ 69.826779767830971, 28.042944469792175 ], [ 70.215921469738021, 28.043022744542935 ], [ 70.605063279054761, 28.042944462255619 ], [ 70.99420503034203, 28.043022762423043 ] ] ] } },
|
| 12 |
+
{ "type": "Feature", "properties": { "coincident_size": 31.0, "location": "Paraguay", "orbit": "DESCENDING", "rel_orbit_num": 68.0, "s1_date": "2018\/10\/31", "s2_date": "2018\/10\/31", "ID": 7, "ISO_CC": "PRY", "VH_thresh": -19.94, "train_chip": 316, "val_chip": 67 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -55.019298715543066, -28.187202406858713 ], [ -54.650031094336249, -28.187202373284943 ], [ -54.650036368197988, -21.638840525688526 ], [ -55.203881392604274, -21.638942594113136 ], [ -55.634574497705991, -21.639021917731309 ], [ -56.003739920655768, -21.639021847178462 ], [ -56.43443294880101, -21.638942635321303 ], [ -56.926653626675879, -21.638942623062729 ], [ -57.357346713889427, -21.639021931352872 ], [ -57.788039740714623, -21.638942641799773 ], [ -58.280260365622901, -21.638942639755882 ], [ -58.587995023147933, -21.639112430502962 ], [ -58.588000342895448, -28.187202347426823 ], [ -58.218732783030696, -28.187202389378854 ], [ -57.480401824214518, -28.18720236358962 ], [ -56.988181175588203, -28.18720238790215 ], [ -56.126795062812008, -28.187202402418873 ], [ -55.634574497705991, -28.187202368393017 ], [ -55.019298715543066, -28.187202406858713 ] ] ] } },
|
| 13 |
+
{ "type": "Feature", "properties": { "coincident_size": 18.0, "location": "Somalia", "orbit": "ASCENDING", "rel_orbit_num": 116.0, "s1_date": "2018\/05\/07", "s2_date": "2018\/05\/05", "ID": 8, "ISO_CC": "SOM", "VH_thresh": -21.06, "train_chip": 129, "val_chip": 26 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 44.205241728225516, 6.546877047983454 ], [ 44.20515112450974, 6.546807471327257 ], [ 44.205151703447768, 1.308710601623993 ], [ 44.205221320694321, 1.308620643626561 ], [ 44.799971400818428, 1.30862063951817 ], [ 45.39470096801837, 1.308620621625367 ], [ 45.989430608475089, 1.30862061294779 ], [ 46.584160256802399, 1.308620625737316 ], [ 46.584250280981941, 1.308690223088805 ], [ 46.584250869375801, 6.546877010620244 ], [ 46.286795477502295, 6.546877057880059 ], [ 45.989430608475082, 6.54687703605825 ], [ 45.692065796163938, 6.546877044329216 ], [ 45.39470096801837, 6.546877006339022 ], [ 45.09733614975093, 6.546877016116817 ], [ 44.799971400818428, 6.546877014527566 ], [ 44.502606551179127, 6.546877013174258 ], [ 44.205241728225516, 6.546877047983454 ] ] ] } },
|
| 14 |
+
{ "type": "Feature", "properties": { "coincident_size": 12.0, "location": "Spain", "orbit": "DESCENDING", "rel_orbit_num": 110.0, "s1_date": "2019\/09\/17", "s2_date": "2019\/09\/18", "ID": 9, "ISO_CC": "ESP", "VH_thresh": -25.13, "train_chip": 146, "val_chip": 30 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.528344150302215, 39.41255020820315 ], [ -0.819892364803714, 39.412550164522486 ], [ -1.111557042446269, 39.412550145843845 ], [ -1.111554262302887, 37.662901125130013 ], [ -0.892779408148489, 37.662833937340807 ], [ -0.601231195376171, 37.662833887099687 ], [ -0.309682941882246, 37.662833935706971 ], [ -0.091021811360282, 37.662901202424351 ], [ 0.127639372113517, 37.66283395755481 ], [ 0.419187609254726, 37.66283394457669 ], [ 0.710735847074027, 37.662833948106524 ], [ 1.002284052890403, 37.662833907274006 ], [ 1.221058879474336, 37.662901106323915 ], [ 1.221061666925504, 39.41255011090562 ], [ 1.002284052890403, 39.412550207112204 ], [ 0.492074638791196, 39.412550212670006 ], [ 0.127639372113517, 39.412550210843342 ], [ -0.236795938164505, 39.412550212819674 ], [ -0.528344150302215, 39.41255020820315 ] ] ] } },
|
| 15 |
+
{ "type": "Feature", "properties": { "coincident_size": 14.0, "location": "Sri-Lanka", "orbit": "DESCENDING", "rel_orbit_num": 19.0, "s1_date": "2017\/05\/30", "s2_date": "2017\/05\/28", "ID": 10, "ISO_CC": "LKA", "VH_thresh": -21.69, "train_chip": 190, "val_chip": 42 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 80.622673816115721, 9.786561306523275 ], [ 80.377837985832954, 9.786561261276532 ], [ 80.132910888791528, 9.786561260742376 ], [ 80.132911825900166, 5.136162416858391 ], [ 80.377837985832954, 5.136162424138692 ], [ 80.622673816115721, 5.136162396642468 ], [ 80.867509652772185, 5.136162409275948 ], [ 81.112345549675595, 5.136162382957245 ], [ 81.357181318386026, 5.136162383387888 ], [ 81.602017189544199, 5.136162394443308 ], [ 81.846853043816736, 5.136162386149391 ], [ 82.091779213248472, 5.136162414981568 ], [ 82.091780127144162, 9.786561221546688 ], [ 81.846853043816736, 9.786561260106902 ], [ 81.602017189544199, 9.786561276416572 ], [ 81.357181318386026, 9.786561264464225 ], [ 81.112345549675595, 9.786561301744838 ], [ 80.867509652772185, 9.786561272013559 ], [ 80.622673816115721, 9.786561306523275 ] ] ] } },
|
| 16 |
+
{ "type": "Feature", "properties": { "coincident_size": 8.0, "location": "USA", "orbit": "ASCENDING", "rel_orbit_num": 136.0, "s1_date": "2019\/05\/22", "s2_date": "2019\/05\/22", "ID": 11, "ISO_CC": "USA", "VH_thresh": -22.62, "train_chip": 486, "val_chip": 69 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.691758004799993, 38.357837829772819 ], [ -95.608594038100534, 38.357837889512247 ], [ -95.484020153361371, 38.357815956156962 ], [ -95.317921675840481, 38.357815960963336 ], [ -95.151823110070751, 38.357815913921293 ], [ -94.985724655291392, 38.357815893540149 ], [ -94.819626151024792, 38.357815906029799 ], [ -94.695052314729722, 38.357837924199501 ], [ -94.570478437577592, 38.357815923894755 ], [ -94.445904511854209, 38.357837886248639 ], [ -94.362740543720761, 38.357837821666749 ], [ -94.362735917281043, 41.061767135559627 ], [ -94.528953777955579, 41.061767195893367 ], [ -94.861150774815471, 41.061767190604321 ], [ -95.027249263225428, 41.061767232642516 ], [ -95.276397016907566, 41.06176723579587 ], [ -95.442495528882873, 41.061767222676252 ], [ -95.691762581460964, 41.061767167209496 ], [ -95.691758004799993, 38.357837829772819 ] ] ] } }
|
| 17 |
+
]
|
| 18 |
+
}
|
Sen1Floods11/Sen1Floods11/Train.ipynb
ADDED
|
@@ -0,0 +1,836 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "markdown",
|
| 5 |
+
"metadata": {
|
| 6 |
+
"id": "tbu_ucRSo5zT"
|
| 7 |
+
},
|
| 8 |
+
"source": [
|
| 9 |
+
"The following is an example of how to utilize our Sen1Floods11 dataset for training a FCNN. In this example, we train and validate on hand-labeled chips of flood events. However, our dataset includes several other options that are detailed in the README. To replace the dataset, as outlined further below, simply replace the train, test, and validation split csv's, and download the corresponding dataset."
|
| 10 |
+
]
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"cell_type": "markdown",
|
| 14 |
+
"metadata": {
|
| 15 |
+
"id": "9TQtMrI_VhKk"
|
| 16 |
+
},
|
| 17 |
+
"source": [
|
| 18 |
+
"Authenticate Google Cloud Platform. Note that to run this code, you must connect your notebook runtime to a GPU. "
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": null,
|
| 24 |
+
"metadata": {
|
| 25 |
+
"id": "qCEt8eNtU9Zm"
|
| 26 |
+
},
|
| 27 |
+
"outputs": [],
|
| 28 |
+
"source": [
|
| 29 |
+
"from google.colab import auth\n",
|
| 30 |
+
"auth.authenticate_user()\n",
|
| 31 |
+
"\n",
|
| 32 |
+
"!curl https://sdk.cloud.google.com | bash\n",
|
| 33 |
+
"\n",
|
| 34 |
+
"!gcloud init"
|
| 35 |
+
]
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"cell_type": "code",
|
| 39 |
+
"execution_count": null,
|
| 40 |
+
"metadata": {
|
| 41 |
+
"id": "YkUEnwXQVy4k"
|
| 42 |
+
},
|
| 43 |
+
"outputs": [],
|
| 44 |
+
"source": [
|
| 45 |
+
"!echo \"deb http://packages.cloud.google.com/apt gcsfuse-bionic main\" > /etc/apt/sources.list.d/gcsfuse.list\n",
|
| 46 |
+
"!curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -\n",
|
| 47 |
+
"!apt -qq update\n",
|
| 48 |
+
"!apt -qq install gcsfuse"
|
| 49 |
+
]
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"cell_type": "markdown",
|
| 53 |
+
"metadata": {
|
| 54 |
+
"id": "vXGTA6vHVyJX"
|
| 55 |
+
},
|
| 56 |
+
"source": [
|
| 57 |
+
"Install RasterIO"
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"cell_type": "code",
|
| 62 |
+
"execution_count": null,
|
| 63 |
+
"metadata": {
|
| 64 |
+
"id": "NLlVutLzV_pZ"
|
| 65 |
+
},
|
| 66 |
+
"outputs": [],
|
| 67 |
+
"source": [
|
| 68 |
+
"!pip install rasterio"
|
| 69 |
+
]
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"cell_type": "markdown",
|
| 73 |
+
"metadata": {
|
| 74 |
+
"id": "hLqL9C2Rg6eB"
|
| 75 |
+
},
|
| 76 |
+
"source": [
|
| 77 |
+
"Define a model checkpoint folder, for storing network checkpoints during training"
|
| 78 |
+
]
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"cell_type": "code",
|
| 82 |
+
"execution_count": null,
|
| 83 |
+
"metadata": {
|
| 84 |
+
"id": "yLlIhE-Hg-Ym"
|
| 85 |
+
},
|
| 86 |
+
"outputs": [],
|
| 87 |
+
"source": [
|
| 88 |
+
"%cd /home\n",
|
| 89 |
+
"!sudo mkdir checkpoints"
|
| 90 |
+
]
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"cell_type": "markdown",
|
| 94 |
+
"metadata": {
|
| 95 |
+
"id": "mwrDM4AjVnbU"
|
| 96 |
+
},
|
| 97 |
+
"source": [
|
| 98 |
+
"Download train, test, and validation splits for both flood water. To download different train, test, and validation splits, simply replace these paths with the path to a csv containing the desired splits. "
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"cell_type": "code",
|
| 103 |
+
"execution_count": null,
|
| 104 |
+
"metadata": {
|
| 105 |
+
"id": "RFLsGwdRWuO4"
|
| 106 |
+
},
|
| 107 |
+
"outputs": [],
|
| 108 |
+
"source": [
|
| 109 |
+
"!gsutil cp gs://sen1floods11/v1.1/splits/flood_handlabeled/flood_train_data.csv .\n",
|
| 110 |
+
"!gsutil cp gs://sen1floods11/v1.1/splits/flood_handlabeled/flood_test_data.csv .\n",
|
| 111 |
+
"!gsutil cp gs://sen1floods11/v1.1/splits/flood_handlabeled/flood_valid_data.csv ."
|
| 112 |
+
]
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"cell_type": "markdown",
|
| 116 |
+
"metadata": {
|
| 117 |
+
"id": "ZCAXpuKVW3eV"
|
| 118 |
+
},
|
| 119 |
+
"source": [
|
| 120 |
+
"Download raw train, test, and validation data. In this example, we are downloading train, test, and validation data of flood images which are hand labeled. However, you can simply replace these paths with whichever dataset you would like to use - further documentation of the Sen1Floods11 dataset and organization is available in the README."
|
| 121 |
+
]
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"cell_type": "code",
|
| 125 |
+
"execution_count": null,
|
| 126 |
+
"metadata": {
|
| 127 |
+
"id": "ahAWnrSFW53S"
|
| 128 |
+
},
|
| 129 |
+
"outputs": [],
|
| 130 |
+
"source": [
|
| 131 |
+
"!sudo mkdir files\n",
|
| 132 |
+
"!sudo mkdir files/S1\n",
|
| 133 |
+
"!sudo mkdir files/Labels\n",
|
| 134 |
+
"\n",
|
| 135 |
+
"!gsutil -m rsync -r gs://sen1floods11/v1.1/data/flood_events/HandLabeled/S1Hand files/S1\n",
|
| 136 |
+
"!gsutil -m rsync -r gs://sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand files/Labels"
|
| 137 |
+
]
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"cell_type": "markdown",
|
| 141 |
+
"metadata": {
|
| 142 |
+
"id": "_46CazV3XSCD"
|
| 143 |
+
},
|
| 144 |
+
"source": [
|
| 145 |
+
"Define model training hyperparameters"
|
| 146 |
+
]
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"cell_type": "code",
|
| 150 |
+
"execution_count": 1,
|
| 151 |
+
"metadata": {
|
| 152 |
+
"id": "fNYQywdWXeLM"
|
| 153 |
+
},
|
| 154 |
+
"outputs": [],
|
| 155 |
+
"source": [
|
| 156 |
+
"LR = 5e-4\n",
|
| 157 |
+
"EPOCHS = 100\n",
|
| 158 |
+
"EPOCHS_PER_UPDATE = 1\n",
|
| 159 |
+
"RUNNAME = \"Sen1Floods11\""
|
| 160 |
+
]
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"cell_type": "markdown",
|
| 164 |
+
"metadata": {
|
| 165 |
+
"id": "W9FJmTnZXjxj"
|
| 166 |
+
},
|
| 167 |
+
"source": [
|
| 168 |
+
"Define functions to process and augment training and testing images"
|
| 169 |
+
]
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"cell_type": "code",
|
| 173 |
+
"execution_count": 2,
|
| 174 |
+
"metadata": {
|
| 175 |
+
"id": "mBkfav0Eajqg"
|
| 176 |
+
},
|
| 177 |
+
"outputs": [
|
| 178 |
+
{
|
| 179 |
+
"ename": "ModuleNotFoundError",
|
| 180 |
+
"evalue": "No module named 'torchvision'",
|
| 181 |
+
"output_type": "error",
|
| 182 |
+
"traceback": [
|
| 183 |
+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
| 184 |
+
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
|
| 185 |
+
"Cell \u001b[0;32mIn[2], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mtorch\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mtorchvision\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m transforms\n\u001b[1;32m 3\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mtorchvision\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mtransforms\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mfunctional\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mF\u001b[39;00m\n\u001b[1;32m 4\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mrandom\u001b[39;00m\n",
|
| 186 |
+
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'torchvision'"
|
| 187 |
+
]
|
| 188 |
+
}
|
| 189 |
+
],
|
| 190 |
+
"source": [
|
| 191 |
+
"import torch\n",
|
| 192 |
+
"from torchvision import transforms\n",
|
| 193 |
+
"import torchvision.transforms.functional as F\n",
|
| 194 |
+
"import random\n",
|
| 195 |
+
"from PIL import Image\n",
|
| 196 |
+
"\n",
|
| 197 |
+
"class InMemoryDataset(torch.utils.data.Dataset):\n",
|
| 198 |
+
" \n",
|
| 199 |
+
" def __init__(self, data_list, preprocess_func):\n",
|
| 200 |
+
" self.data_list = data_list\n",
|
| 201 |
+
" self.preprocess_func = preprocess_func\n",
|
| 202 |
+
" \n",
|
| 203 |
+
" def __getitem__(self, i):\n",
|
| 204 |
+
" return self.preprocess_func(self.data_list[i])\n",
|
| 205 |
+
" \n",
|
| 206 |
+
" def __len__(self):\n",
|
| 207 |
+
" return len(self.data_list)\n",
|
| 208 |
+
"\n",
|
| 209 |
+
"\n",
|
| 210 |
+
"def processAndAugment(data):\n",
|
| 211 |
+
" (x,y) = data\n",
|
| 212 |
+
" im,label = x.copy(), y.copy()\n",
|
| 213 |
+
"\n",
|
| 214 |
+
" # convert to PIL for easier transforms\n",
|
| 215 |
+
" im1 = Image.fromarray(im[0])\n",
|
| 216 |
+
" im2 = Image.fromarray(im[1])\n",
|
| 217 |
+
" label = Image.fromarray(label.squeeze())\n",
|
| 218 |
+
"\n",
|
| 219 |
+
" # Get params for random transforms\n",
|
| 220 |
+
" i, j, h, w = transforms.RandomCrop.get_params(im1, (256, 256))\n",
|
| 221 |
+
" \n",
|
| 222 |
+
" im1 = F.crop(im1, i, j, h, w)\n",
|
| 223 |
+
" im2 = F.crop(im2, i, j, h, w)\n",
|
| 224 |
+
" label = F.crop(label, i, j, h, w)\n",
|
| 225 |
+
" if random.random() > 0.5:\n",
|
| 226 |
+
" im1 = F.hflip(im1)\n",
|
| 227 |
+
" im2 = F.hflip(im2)\n",
|
| 228 |
+
" label = F.hflip(label)\n",
|
| 229 |
+
" if random.random() > 0.5:\n",
|
| 230 |
+
" im1 = F.vflip(im1)\n",
|
| 231 |
+
" im2 = F.vflip(im2)\n",
|
| 232 |
+
" label = F.vflip(label)\n",
|
| 233 |
+
" \n",
|
| 234 |
+
" norm = transforms.Normalize([0.6851, 0.5235], [0.0820, 0.1102])\n",
|
| 235 |
+
" im = torch.stack([transforms.ToTensor()(im1).squeeze(), transforms.ToTensor()(im2).squeeze()])\n",
|
| 236 |
+
" im = norm(im)\n",
|
| 237 |
+
" label = transforms.ToTensor()(label).squeeze()\n",
|
| 238 |
+
" if torch.sum(label.gt(.003) * label.lt(.004)):\n",
|
| 239 |
+
" label *= 255\n",
|
| 240 |
+
" label = label.round()\n",
|
| 241 |
+
"\n",
|
| 242 |
+
" return im, label\n",
|
| 243 |
+
"\n",
|
| 244 |
+
"\n",
|
| 245 |
+
"def processTestIm(data):\n",
|
| 246 |
+
" (x,y) = data\n",
|
| 247 |
+
" im,label = x.copy(), y.copy()\n",
|
| 248 |
+
" norm = transforms.Normalize([0.6851, 0.5235], [0.0820, 0.1102])\n",
|
| 249 |
+
"\n",
|
| 250 |
+
" # convert to PIL for easier transforms\n",
|
| 251 |
+
" im_c1 = Image.fromarray(im[0]).resize((512,512))\n",
|
| 252 |
+
" im_c2 = Image.fromarray(im[1]).resize((512,512))\n",
|
| 253 |
+
" label = Image.fromarray(label.squeeze()).resize((512,512))\n",
|
| 254 |
+
"\n",
|
| 255 |
+
" im_c1s = [F.crop(im_c1, 0, 0, 256, 256), F.crop(im_c1, 0, 256, 256, 256),\n",
|
| 256 |
+
" F.crop(im_c1, 256, 0, 256, 256), F.crop(im_c1, 256, 256, 256, 256)]\n",
|
| 257 |
+
" im_c2s = [F.crop(im_c2, 0, 0, 256, 256), F.crop(im_c2, 0, 256, 256, 256),\n",
|
| 258 |
+
" F.crop(im_c2, 256, 0, 256, 256), F.crop(im_c2, 256, 256, 256, 256)]\n",
|
| 259 |
+
" labels = [F.crop(label, 0, 0, 256, 256), F.crop(label, 0, 256, 256, 256),\n",
|
| 260 |
+
" F.crop(label, 256, 0, 256, 256), F.crop(label, 256, 256, 256, 256)]\n",
|
| 261 |
+
"\n",
|
| 262 |
+
" ims = [torch.stack((transforms.ToTensor()(x).squeeze(),\n",
|
| 263 |
+
" transforms.ToTensor()(y).squeeze()))\n",
|
| 264 |
+
" for (x,y) in zip(im_c1s, im_c2s)]\n",
|
| 265 |
+
" \n",
|
| 266 |
+
" ims = [norm(im) for im in ims]\n",
|
| 267 |
+
" ims = torch.stack(ims)\n",
|
| 268 |
+
" \n",
|
| 269 |
+
" labels = [(transforms.ToTensor()(label).squeeze()) for label in labels]\n",
|
| 270 |
+
" labels = torch.stack(labels)\n",
|
| 271 |
+
" \n",
|
| 272 |
+
" if torch.sum(labels.gt(.003) * labels.lt(.004)):\n",
|
| 273 |
+
" labels *= 255\n",
|
| 274 |
+
" labels = labels.round()\n",
|
| 275 |
+
" \n",
|
| 276 |
+
" return ims, labels"
|
| 277 |
+
]
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"cell_type": "markdown",
|
| 281 |
+
"metadata": {
|
| 282 |
+
"id": "uzmZIRuoeAuJ"
|
| 283 |
+
},
|
| 284 |
+
"source": [
|
| 285 |
+
"Load *flood water* train, test, and validation data from splits. In this example, this is the data we will use to train our model."
|
| 286 |
+
]
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"cell_type": "code",
|
| 290 |
+
"execution_count": null,
|
| 291 |
+
"metadata": {
|
| 292 |
+
"id": "rQUnYCIBeG21"
|
| 293 |
+
},
|
| 294 |
+
"outputs": [],
|
| 295 |
+
"source": [
|
| 296 |
+
"from time import time\n",
|
| 297 |
+
"import csv\n",
|
| 298 |
+
"import os\n",
|
| 299 |
+
"import numpy as np\n",
|
| 300 |
+
"import rasterio\n",
|
| 301 |
+
"\n",
|
| 302 |
+
"def getArrFlood(fname):\n",
|
| 303 |
+
" return rasterio.open(fname).read()\n",
|
| 304 |
+
"\n",
|
| 305 |
+
"def download_flood_water_data_from_list(l):\n",
|
| 306 |
+
" i = 0\n",
|
| 307 |
+
" tot_nan = 0\n",
|
| 308 |
+
" tot_good = 0\n",
|
| 309 |
+
" flood_data = []\n",
|
| 310 |
+
" for (im_fname, mask_fname) in l:\n",
|
| 311 |
+
" if not os.path.exists(os.path.join(\"files/\", im_fname)):\n",
|
| 312 |
+
" continue\n",
|
| 313 |
+
" arr_x = np.nan_to_num(getArrFlood(os.path.join(\"files/\", im_fname)))\n",
|
| 314 |
+
" arr_y = getArrFlood(os.path.join(\"files/\", mask_fname))\n",
|
| 315 |
+
" arr_y[arr_y == -1] = 255 \n",
|
| 316 |
+
" \n",
|
| 317 |
+
" arr_x = np.clip(arr_x, -50, 1)\n",
|
| 318 |
+
" arr_x = (arr_x + 50) / 51\n",
|
| 319 |
+
" \n",
|
| 320 |
+
" if i % 100 == 0:\n",
|
| 321 |
+
" print(im_fname, mask_fname)\n",
|
| 322 |
+
" i += 1\n",
|
| 323 |
+
" flood_data.append((arr_x,arr_y))\n",
|
| 324 |
+
"\n",
|
| 325 |
+
" return flood_data\n",
|
| 326 |
+
"\n",
|
| 327 |
+
"def load_flood_train_data(input_root, label_root):\n",
|
| 328 |
+
" fname = \"flood_train_data.csv\"\n",
|
| 329 |
+
" training_files = []\n",
|
| 330 |
+
" with open(fname) as f:\n",
|
| 331 |
+
" for line in csv.reader(f):\n",
|
| 332 |
+
" training_files.append(tuple((input_root+line[0], label_root+line[1])))\n",
|
| 333 |
+
"\n",
|
| 334 |
+
" return download_flood_water_data_from_list(training_files)\n",
|
| 335 |
+
"\n",
|
| 336 |
+
"def load_flood_valid_data(input_root, label_root):\n",
|
| 337 |
+
" fname = \"flood_valid_data.csv\"\n",
|
| 338 |
+
" validation_files = []\n",
|
| 339 |
+
" with open(fname) as f:\n",
|
| 340 |
+
" for line in csv.reader(f):\n",
|
| 341 |
+
" validation_files.append(tuple((input_root+line[0], label_root+line[1])))\n",
|
| 342 |
+
"\n",
|
| 343 |
+
" return download_flood_water_data_from_list(validation_files)\n",
|
| 344 |
+
"\n",
|
| 345 |
+
"def load_flood_test_data(input_root, label_root):\n",
|
| 346 |
+
" fname = \"flood_test_data.csv\"\n",
|
| 347 |
+
" testing_files = []\n",
|
| 348 |
+
" with open(fname) as f:\n",
|
| 349 |
+
" for line in csv.reader(f):\n",
|
| 350 |
+
" testing_files.append(tuple((input_root+line[0], label_root+line[1])))\n",
|
| 351 |
+
" \n",
|
| 352 |
+
" return download_flood_water_data_from_list(testing_files)"
|
| 353 |
+
]
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"cell_type": "markdown",
|
| 357 |
+
"metadata": {
|
| 358 |
+
"id": "cFp9jrHYfOUh"
|
| 359 |
+
},
|
| 360 |
+
"source": [
|
| 361 |
+
"Load training data and validation data. Note that here, we have chosen to train and validate our model on flood data. However, you can simply replace the load function call with one of the options defined above to load a different dataset."
|
| 362 |
+
]
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"cell_type": "code",
|
| 366 |
+
"execution_count": null,
|
| 367 |
+
"metadata": {
|
| 368 |
+
"id": "ZcqPlsjBffXx"
|
| 369 |
+
},
|
| 370 |
+
"outputs": [],
|
| 371 |
+
"source": [
|
| 372 |
+
"train_data = load_flood_train_data('S1/', 'Labels/')\n",
|
| 373 |
+
"train_dataset = InMemoryDataset(train_data, processAndAugment)\n",
|
| 374 |
+
"train_loader = torch.utils.data.DataLoader(train_dataset, batch_size=16, shuffle=True, sampler=None,\n",
|
| 375 |
+
" batch_sampler=None, num_workers=0, collate_fn=None,\n",
|
| 376 |
+
" pin_memory=True, drop_last=False, timeout=0,\n",
|
| 377 |
+
" worker_init_fn=None)\n",
|
| 378 |
+
"train_iter = iter(train_loader)\n",
|
| 379 |
+
"\n",
|
| 380 |
+
"valid_data = load_flood_valid_data('S1/', 'Labels/') \n",
|
| 381 |
+
"valid_dataset = InMemoryDataset(valid_data, processTestIm)\n",
|
| 382 |
+
"valid_loader = torch.utils.data.DataLoader(valid_dataset, batch_size=4, shuffle=True, sampler=None,\n",
|
| 383 |
+
" batch_sampler=None, num_workers=0, collate_fn=lambda x: (torch.cat([a[0] for a in x], 0), torch.cat([a[1] for a in x], 0)),\n",
|
| 384 |
+
" pin_memory=True, drop_last=False, timeout=0,\n",
|
| 385 |
+
" worker_init_fn=None)\n",
|
| 386 |
+
"valid_iter = iter(valid_loader)"
|
| 387 |
+
]
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"cell_type": "markdown",
|
| 391 |
+
"metadata": {
|
| 392 |
+
"id": "i3aAhUi2fp7M"
|
| 393 |
+
},
|
| 394 |
+
"source": [
|
| 395 |
+
"Define the network. For our purposes, we use ResNet50. However, if you wish to test a different model framework, optimizer, or loss function you can simply replace those here. "
|
| 396 |
+
]
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"cell_type": "code",
|
| 400 |
+
"execution_count": null,
|
| 401 |
+
"metadata": {
|
| 402 |
+
"id": "5cp4uXI1f9dr"
|
| 403 |
+
},
|
| 404 |
+
"outputs": [],
|
| 405 |
+
"source": [
|
| 406 |
+
"import torch\n",
|
| 407 |
+
"import torchvision.models as models\n",
|
| 408 |
+
"import torch.nn as nn\n",
|
| 409 |
+
"\n",
|
| 410 |
+
"net = models.segmentation.fcn_resnet50(pretrained=False, num_classes=2, pretrained_backbone=False)\n",
|
| 411 |
+
"net.backbone.conv1 = nn.Conv2d(2, 64, kernel_size=7, stride=2, padding=3, bias=False)\n",
|
| 412 |
+
"\n",
|
| 413 |
+
"criterion = nn.CrossEntropyLoss(weight=torch.tensor([1,8]).float().cuda(), ignore_index=255) \n",
|
| 414 |
+
"optimizer = torch.optim.AdamW(net.parameters(),lr=LR)\n",
|
| 415 |
+
"scheduler = torch.optim.lr_scheduler.CosineAnnealingWarmRestarts(optimizer, len(train_loader) * 10, T_mult=2, eta_min=0, last_epoch=-1)\n",
|
| 416 |
+
"\n",
|
| 417 |
+
"def convertBNtoGN(module, num_groups=16):\n",
|
| 418 |
+
" if isinstance(module, torch.nn.modules.batchnorm.BatchNorm2d):\n",
|
| 419 |
+
" return nn.GroupNorm(num_groups, module.num_features,\n",
|
| 420 |
+
" eps=module.eps, affine=module.affine)\n",
|
| 421 |
+
" if module.affine:\n",
|
| 422 |
+
" mod.weight.data = module.weight.data.clone().detach()\n",
|
| 423 |
+
" mod.bias.data = module.bias.data.clone().detach()\n",
|
| 424 |
+
"\n",
|
| 425 |
+
" for name, child in module.named_children():\n",
|
| 426 |
+
" module.add_module(name, convertBNtoGN(child, num_groups=num_groups))\n",
|
| 427 |
+
"\n",
|
| 428 |
+
" return module\n",
|
| 429 |
+
"\n",
|
| 430 |
+
"net = convertBNtoGN(net)"
|
| 431 |
+
]
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"cell_type": "markdown",
|
| 435 |
+
"metadata": {
|
| 436 |
+
"id": "g_Sy3ALGgQjf"
|
| 437 |
+
},
|
| 438 |
+
"source": [
|
| 439 |
+
"Define assessment metrics. For our purposes, we use overall accuracy and mean intersection over union. However, we also include functions for calculating true positives, false positives, true negatives, and false negatives."
|
| 440 |
+
]
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"cell_type": "code",
|
| 444 |
+
"execution_count": null,
|
| 445 |
+
"metadata": {
|
| 446 |
+
"id": "bwxC-fVBgUIb"
|
| 447 |
+
},
|
| 448 |
+
"outputs": [],
|
| 449 |
+
"source": [
|
| 450 |
+
"def computeIOU(output, target):\n",
|
| 451 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 452 |
+
" target = target.flatten()\n",
|
| 453 |
+
" \n",
|
| 454 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 455 |
+
" output = output.masked_select(no_ignore)\n",
|
| 456 |
+
" target = target.masked_select(no_ignore)\n",
|
| 457 |
+
" intersection = torch.sum(output * target)\n",
|
| 458 |
+
" union = torch.sum(target) + torch.sum(output) - intersection\n",
|
| 459 |
+
" iou = (intersection + .0000001) / (union + .0000001)\n",
|
| 460 |
+
" \n",
|
| 461 |
+
" if iou != iou:\n",
|
| 462 |
+
" print(\"failed, replacing with 0\")\n",
|
| 463 |
+
" iou = torch.tensor(0).float()\n",
|
| 464 |
+
" \n",
|
| 465 |
+
" return iou\n",
|
| 466 |
+
" \n",
|
| 467 |
+
"def computeAccuracy(output, target):\n",
|
| 468 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 469 |
+
" target = target.flatten()\n",
|
| 470 |
+
" \n",
|
| 471 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 472 |
+
" output = output.masked_select(no_ignore)\n",
|
| 473 |
+
" target = target.masked_select(no_ignore)\n",
|
| 474 |
+
" correct = torch.sum(output.eq(target))\n",
|
| 475 |
+
" \n",
|
| 476 |
+
" return correct.float() / len(target)\n",
|
| 477 |
+
"\n",
|
| 478 |
+
"def truePositives(output, target):\n",
|
| 479 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 480 |
+
" target = target.flatten()\n",
|
| 481 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 482 |
+
" output = output.masked_select(no_ignore)\n",
|
| 483 |
+
" target = target.masked_select(no_ignore)\n",
|
| 484 |
+
" correct = torch.sum(output * target)\n",
|
| 485 |
+
" \n",
|
| 486 |
+
" return correct\n",
|
| 487 |
+
"\n",
|
| 488 |
+
"def trueNegatives(output, target):\n",
|
| 489 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 490 |
+
" target = target.flatten()\n",
|
| 491 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 492 |
+
" output = output.masked_select(no_ignore)\n",
|
| 493 |
+
" target = target.masked_select(no_ignore)\n",
|
| 494 |
+
" output = (output == 0)\n",
|
| 495 |
+
" target = (target == 0)\n",
|
| 496 |
+
" correct = torch.sum(output * target)\n",
|
| 497 |
+
" \n",
|
| 498 |
+
" return correct\n",
|
| 499 |
+
"\n",
|
| 500 |
+
"def falsePositives(output, target):\n",
|
| 501 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 502 |
+
" target = target.flatten()\n",
|
| 503 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 504 |
+
" output = output.masked_select(no_ignore)\n",
|
| 505 |
+
" target = target.masked_select(no_ignore)\n",
|
| 506 |
+
" output = (output == 1)\n",
|
| 507 |
+
" target = (target == 0)\n",
|
| 508 |
+
" correct = torch.sum(output * target)\n",
|
| 509 |
+
" \n",
|
| 510 |
+
" return correct\n",
|
| 511 |
+
"\n",
|
| 512 |
+
"def falseNegatives(output, target):\n",
|
| 513 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 514 |
+
" target = target.flatten()\n",
|
| 515 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 516 |
+
" output = output.masked_select(no_ignore)\n",
|
| 517 |
+
" target = target.masked_select(no_ignore)\n",
|
| 518 |
+
" output = (output == 0)\n",
|
| 519 |
+
" target = (target == 1)\n",
|
| 520 |
+
" correct = torch.sum(output * target)\n",
|
| 521 |
+
" \n",
|
| 522 |
+
" return correct"
|
| 523 |
+
]
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"cell_type": "markdown",
|
| 527 |
+
"metadata": {
|
| 528 |
+
"id": "lun5tGoYgjWX"
|
| 529 |
+
},
|
| 530 |
+
"source": [
|
| 531 |
+
"Define training loop"
|
| 532 |
+
]
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"cell_type": "code",
|
| 536 |
+
"execution_count": null,
|
| 537 |
+
"metadata": {
|
| 538 |
+
"id": "DubsYZ8GgkxD"
|
| 539 |
+
},
|
| 540 |
+
"outputs": [],
|
| 541 |
+
"source": [
|
| 542 |
+
"training_losses = []\n",
|
| 543 |
+
"training_accuracies = []\n",
|
| 544 |
+
"training_ious = []\n",
|
| 545 |
+
"\n",
|
| 546 |
+
"def train_loop(inputs, labels, net, optimizer, scheduler):\n",
|
| 547 |
+
" global running_loss\n",
|
| 548 |
+
" global running_iou\n",
|
| 549 |
+
" global running_count\n",
|
| 550 |
+
" global running_accuracy\n",
|
| 551 |
+
" \n",
|
| 552 |
+
" # zero the parameter gradients\n",
|
| 553 |
+
" optimizer.zero_grad()\n",
|
| 554 |
+
" net = net.cuda()\n",
|
| 555 |
+
" \n",
|
| 556 |
+
" # forward + backward + optimize\n",
|
| 557 |
+
" outputs = net(inputs.cuda())\n",
|
| 558 |
+
" loss = criterion(outputs[\"out\"], labels.long().cuda())\n",
|
| 559 |
+
" loss.backward()\n",
|
| 560 |
+
" optimizer.step()\n",
|
| 561 |
+
" scheduler.step()\n",
|
| 562 |
+
"\n",
|
| 563 |
+
" running_loss += loss\n",
|
| 564 |
+
" running_iou += computeIOU(outputs[\"out\"], labels.cuda())\n",
|
| 565 |
+
" running_accuracy += computeAccuracy(outputs[\"out\"], labels.cuda())\n",
|
| 566 |
+
" running_count += 1"
|
| 567 |
+
]
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"cell_type": "markdown",
|
| 571 |
+
"metadata": {
|
| 572 |
+
"id": "iM3Jz__hgshh"
|
| 573 |
+
},
|
| 574 |
+
"source": [
|
| 575 |
+
"Define validation loop"
|
| 576 |
+
]
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"cell_type": "code",
|
| 580 |
+
"execution_count": null,
|
| 581 |
+
"metadata": {
|
| 582 |
+
"id": "_GmVaoRvguic"
|
| 583 |
+
},
|
| 584 |
+
"outputs": [],
|
| 585 |
+
"source": [
|
| 586 |
+
"valid_losses = []\n",
|
| 587 |
+
"valid_accuracies = []\n",
|
| 588 |
+
"valid_ious = []\n",
|
| 589 |
+
"\n",
|
| 590 |
+
"def validation_loop(validation_data_loader, net):\n",
|
| 591 |
+
" global running_loss\n",
|
| 592 |
+
" global running_iou\n",
|
| 593 |
+
" global running_count\n",
|
| 594 |
+
" global running_accuracy\n",
|
| 595 |
+
" global max_valid_iou\n",
|
| 596 |
+
"\n",
|
| 597 |
+
" global training_losses\n",
|
| 598 |
+
" global training_accuracies\n",
|
| 599 |
+
" global training_ious\n",
|
| 600 |
+
" global valid_losses\n",
|
| 601 |
+
" global valid_accuracies\n",
|
| 602 |
+
" global valid_ious\n",
|
| 603 |
+
"\n",
|
| 604 |
+
" net = net.eval()\n",
|
| 605 |
+
" net = net.cuda()\n",
|
| 606 |
+
" count = 0\n",
|
| 607 |
+
" iou = 0\n",
|
| 608 |
+
" loss = 0\n",
|
| 609 |
+
" accuracy = 0\n",
|
| 610 |
+
" with torch.no_grad():\n",
|
| 611 |
+
" for (images, labels) in validation_data_loader:\n",
|
| 612 |
+
" net = net.cuda()\n",
|
| 613 |
+
" outputs = net(images.cuda())\n",
|
| 614 |
+
" valid_loss = criterion(outputs[\"out\"], labels.long().cuda())\n",
|
| 615 |
+
" valid_iou = computeIOU(outputs[\"out\"], labels.cuda())\n",
|
| 616 |
+
" valid_accuracy = computeAccuracy(outputs[\"out\"], labels.cuda())\n",
|
| 617 |
+
" iou += valid_iou\n",
|
| 618 |
+
" loss += valid_loss\n",
|
| 619 |
+
" accuracy += valid_accuracy\n",
|
| 620 |
+
" count += 1\n",
|
| 621 |
+
"\n",
|
| 622 |
+
" iou = iou / count\n",
|
| 623 |
+
" accuracy = accuracy / count\n",
|
| 624 |
+
"\n",
|
| 625 |
+
" if iou > max_valid_iou:\n",
|
| 626 |
+
" max_valid_iou = iou\n",
|
| 627 |
+
" save_path = os.path.join(\"checkpoints\", \"{}_{}_{}.cp\".format(RUNNAME, i, iou.item()))\n",
|
| 628 |
+
" torch.save(net.state_dict(), save_path)\n",
|
| 629 |
+
" print(\"model saved at\", save_path)\n",
|
| 630 |
+
"\n",
|
| 631 |
+
" loss = loss / count\n",
|
| 632 |
+
" print(\"Training Loss:\", running_loss / running_count)\n",
|
| 633 |
+
" print(\"Training IOU:\", running_iou / running_count)\n",
|
| 634 |
+
" print(\"Training Accuracy:\", running_accuracy / running_count)\n",
|
| 635 |
+
" print(\"Validation Loss:\", loss)\n",
|
| 636 |
+
" print(\"Validation IOU:\", iou)\n",
|
| 637 |
+
" print(\"Validation Accuracy:\", accuracy)\n",
|
| 638 |
+
"\n",
|
| 639 |
+
"\n",
|
| 640 |
+
" training_losses.append(running_loss / running_count)\n",
|
| 641 |
+
" training_accuracies.append(running_accuracy / running_count)\n",
|
| 642 |
+
" training_ious.append(running_iou / running_count)\n",
|
| 643 |
+
" valid_losses.append(loss)\n",
|
| 644 |
+
" valid_accuracies.append(accuracy)\n",
|
| 645 |
+
" valid_ious.append(iou)"
|
| 646 |
+
]
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"cell_type": "markdown",
|
| 650 |
+
"metadata": {
|
| 651 |
+
"id": "DBMattYshiUj"
|
| 652 |
+
},
|
| 653 |
+
"source": [
|
| 654 |
+
"Define testing loop (here, you can replace assessment metrics)."
|
| 655 |
+
]
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"cell_type": "code",
|
| 659 |
+
"execution_count": null,
|
| 660 |
+
"metadata": {
|
| 661 |
+
"id": "mI_mhL_ehjot"
|
| 662 |
+
},
|
| 663 |
+
"outputs": [],
|
| 664 |
+
"source": [
|
| 665 |
+
"def test_loop(test_data_loader, net):\n",
|
| 666 |
+
" net = net.eval()\n",
|
| 667 |
+
" net = net.cuda()\n",
|
| 668 |
+
" count = 0\n",
|
| 669 |
+
" iou = 0\n",
|
| 670 |
+
" loss = 0\n",
|
| 671 |
+
" accuracy = 0\n",
|
| 672 |
+
" with torch.no_grad():\n",
|
| 673 |
+
" for (images, labels) in tqdm(test_data_loader):\n",
|
| 674 |
+
" net = net.cuda()\n",
|
| 675 |
+
" outputs = net(images.cuda())\n",
|
| 676 |
+
" valid_loss = criterion(outputs[\"out\"], labels.long().cuda())\n",
|
| 677 |
+
" valid_iou = computeIOU(outputs[\"out\"], labels.cuda())\n",
|
| 678 |
+
" iou += valid_iou\n",
|
| 679 |
+
" accuracy += computeAccuracy(outputs[\"out\"], labels.cuda())\n",
|
| 680 |
+
" count += 1\n",
|
| 681 |
+
"\n",
|
| 682 |
+
" iou = iou / count\n",
|
| 683 |
+
" print(\"Test IOU:\", iou)\n",
|
| 684 |
+
" print(\"Test Accuracy:\", accuracy / count)"
|
| 685 |
+
]
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"cell_type": "markdown",
|
| 689 |
+
"metadata": {
|
| 690 |
+
"id": "cy9Fii06h17Q"
|
| 691 |
+
},
|
| 692 |
+
"source": [
|
| 693 |
+
"Define training and validation scheme"
|
| 694 |
+
]
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"cell_type": "code",
|
| 698 |
+
"execution_count": null,
|
| 699 |
+
"metadata": {
|
| 700 |
+
"id": "NZuKVC6wh4Go"
|
| 701 |
+
},
|
| 702 |
+
"outputs": [],
|
| 703 |
+
"source": [
|
| 704 |
+
"from tqdm.notebook import tqdm\n",
|
| 705 |
+
"from IPython.display import clear_output\n",
|
| 706 |
+
"\n",
|
| 707 |
+
"running_loss = 0\n",
|
| 708 |
+
"running_iou = 0\n",
|
| 709 |
+
"running_count = 0\n",
|
| 710 |
+
"running_accuracy = 0\n",
|
| 711 |
+
"\n",
|
| 712 |
+
"training_losses = []\n",
|
| 713 |
+
"training_accuracies = []\n",
|
| 714 |
+
"training_ious = []\n",
|
| 715 |
+
"valid_losses = []\n",
|
| 716 |
+
"valid_accuracies = []\n",
|
| 717 |
+
"valid_ious = []\n",
|
| 718 |
+
"\n",
|
| 719 |
+
"\n",
|
| 720 |
+
"def train_epoch(net, optimizer, scheduler, train_iter):\n",
|
| 721 |
+
" for (inputs, labels) in tqdm(train_iter):\n",
|
| 722 |
+
" train_loop(inputs.cuda(), labels.cuda(), net.cuda(), optimizer, scheduler)\n",
|
| 723 |
+
" \n",
|
| 724 |
+
"\n",
|
| 725 |
+
"def train_validation_loop(net, optimizer, scheduler, train_loader,\n",
|
| 726 |
+
" valid_loader, num_epochs, cur_epoch):\n",
|
| 727 |
+
" global running_loss\n",
|
| 728 |
+
" global running_iou\n",
|
| 729 |
+
" global running_count\n",
|
| 730 |
+
" global running_accuracy\n",
|
| 731 |
+
" net = net.train()\n",
|
| 732 |
+
" running_loss = 0\n",
|
| 733 |
+
" running_iou = 0\n",
|
| 734 |
+
" running_count = 0\n",
|
| 735 |
+
" running_accuracy = 0\n",
|
| 736 |
+
" \n",
|
| 737 |
+
" for i in tqdm(range(num_epochs)):\n",
|
| 738 |
+
" train_iter = iter(train_loader)\n",
|
| 739 |
+
" train_epoch(net, optimizer, scheduler, train_iter)\n",
|
| 740 |
+
" clear_output()\n",
|
| 741 |
+
" \n",
|
| 742 |
+
" print(\"Current Epoch:\", cur_epoch)\n",
|
| 743 |
+
" validation_loop(iter(valid_loader), net)"
|
| 744 |
+
]
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"cell_type": "markdown",
|
| 748 |
+
"metadata": {
|
| 749 |
+
"id": "k3I88aY5iAWD"
|
| 750 |
+
},
|
| 751 |
+
"source": [
|
| 752 |
+
"Train model and assess metrics over epochs"
|
| 753 |
+
]
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"cell_type": "code",
|
| 757 |
+
"execution_count": null,
|
| 758 |
+
"metadata": {
|
| 759 |
+
"id": "8MRpxUGWiDTu"
|
| 760 |
+
},
|
| 761 |
+
"outputs": [],
|
| 762 |
+
"source": [
|
| 763 |
+
"import os\n",
|
| 764 |
+
"from IPython.display import display\n",
|
| 765 |
+
"import matplotlib.pyplot as plt\n",
|
| 766 |
+
"\n",
|
| 767 |
+
"max_valid_iou = 0\n",
|
| 768 |
+
"start = 0\n",
|
| 769 |
+
"\n",
|
| 770 |
+
"epochs = []\n",
|
| 771 |
+
"training_losses = []\n",
|
| 772 |
+
"training_accuracies = []\n",
|
| 773 |
+
"training_ious = []\n",
|
| 774 |
+
"valid_losses = []\n",
|
| 775 |
+
"valid_accuracies = []\n",
|
| 776 |
+
"valid_ious = []\n",
|
| 777 |
+
"\n",
|
| 778 |
+
"for i in range(start, 1000):\n",
|
| 779 |
+
" train_validation_loop(net, optimizer, scheduler, train_loader, valid_loader, 10, i)\n",
|
| 780 |
+
" epochs.append(i)\n",
|
| 781 |
+
" x = epochs\n",
|
| 782 |
+
" plt.plot(x, training_losses, label='training losses')\n",
|
| 783 |
+
" plt.plot(x, training_accuracies, 'tab:orange', label='training accuracy')\n",
|
| 784 |
+
" plt.plot(x, training_ious, 'tab:purple', label='training iou')\n",
|
| 785 |
+
" plt.plot(x, valid_losses, label='valid losses')\n",
|
| 786 |
+
" plt.plot(x, valid_accuracies, 'tab:red',label='valid accuracy')\n",
|
| 787 |
+
" plt.plot(x, valid_ious, 'tab:green',label='valid iou')\n",
|
| 788 |
+
" plt.legend(loc=\"upper left\")\n",
|
| 789 |
+
"\n",
|
| 790 |
+
" display(plt.show())\n",
|
| 791 |
+
"\n",
|
| 792 |
+
" print(\"max valid iou:\", max_valid_iou)"
|
| 793 |
+
]
|
| 794 |
+
}
|
| 795 |
+
],
|
| 796 |
+
"metadata": {
|
| 797 |
+
"accelerator": "GPU",
|
| 798 |
+
"colab": {
|
| 799 |
+
"collapsed_sections": [],
|
| 800 |
+
"name": "Train.ipynb",
|
| 801 |
+
"provenance": []
|
| 802 |
+
},
|
| 803 |
+
"kernelspec": {
|
| 804 |
+
"display_name": "hydro2",
|
| 805 |
+
"language": "python",
|
| 806 |
+
"name": "python3"
|
| 807 |
+
},
|
| 808 |
+
"language_info": {
|
| 809 |
+
"codemirror_mode": {
|
| 810 |
+
"name": "ipython",
|
| 811 |
+
"version": 3
|
| 812 |
+
},
|
| 813 |
+
"file_extension": ".py",
|
| 814 |
+
"mimetype": "text/x-python",
|
| 815 |
+
"name": "python",
|
| 816 |
+
"nbconvert_exporter": "python",
|
| 817 |
+
"pygments_lexer": "ipython3",
|
| 818 |
+
"version": "3.10.19"
|
| 819 |
+
},
|
| 820 |
+
"toc": {
|
| 821 |
+
"base_numbering": 1,
|
| 822 |
+
"nav_menu": {},
|
| 823 |
+
"number_sections": true,
|
| 824 |
+
"sideBar": true,
|
| 825 |
+
"skip_h1_title": false,
|
| 826 |
+
"title_cell": "Table of Contents",
|
| 827 |
+
"title_sidebar": "Contents",
|
| 828 |
+
"toc_cell": false,
|
| 829 |
+
"toc_position": {},
|
| 830 |
+
"toc_section_display": true,
|
| 831 |
+
"toc_window_display": false
|
| 832 |
+
}
|
| 833 |
+
},
|
| 834 |
+
"nbformat": 4,
|
| 835 |
+
"nbformat_minor": 1
|
| 836 |
+
}
|
Sen1Floods11/Sen1Floods11/docs/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# **Sen1Floods11 Documentation**
|
| 2 |
+
|
| 3 |
+
## **Bucket Structure**
|
| 4 |
+
|
| 5 |
+
Please refer below for a description of each file and folder inside the `sen1floods11` bucket that hosts Sen1Floods11.
|
| 6 |
+
Note that the most recent data is available within the `v1.1` folder.
|
| 7 |
+
|
| 8 |
+
## _**Folders**_
|
| 9 |
+
|
| 10 |
+
### _**Data:**_
|
| 11 |
+
|
| 12 |
+
_**Hand Labeled Data** Folder: data/flood_events/HandLabeled_
|
| 13 |
+
|
| 14 |
+
`LabelHand/`: 446 labeled chips of Water/NoWater/NoData.
|
| 15 |
+
|
| 16 |
+
`S1Hand/`: 446 Sentinel-1 GRD Chips overlapping labeled data.
|
| 17 |
+
|
| 18 |
+
`S2Hand/`: 446 Sentinel-2 L1C Chips overlapping labeled data.
|
| 19 |
+
|
| 20 |
+
`JRCWaterHand/`: JRC Permement Water overlapping labeled data
|
| 21 |
+
|
| 22 |
+
`S1OtsuLabelHand/`: 446 chips of water/nowater derived from standard OTSU thresholding of Sentinel-1 VH band overlapping labeled data.
|
| 23 |
+
|
| 24 |
+
_**Weakly Labeled Data** Folder: data/flood_events/WeaklyLabeled_
|
| 25 |
+
|
| 26 |
+
`S1OtsuLabelWeak/`: 4,385 chips of water/nowater derived from standard OTSU thresholding of Sentinel-1 VH band overlapping weakly-labeled data.
|
| 27 |
+
|
| 28 |
+
`S2IndexLabelWeak/`: 4,385 weakly-labeled chips derived from traditional Sentinel-2 Classification.
|
| 29 |
+
|
| 30 |
+
`S1Weak/`: 4,385 Sentinel-1 GRD chips overlapping weakly-labeled data.
|
| 31 |
+
|
| 32 |
+
_**JRC Labeled Data** Folder: data/perm_water_
|
| 33 |
+
|
| 34 |
+
`S1Perm/`: 815 chips of Sentinel-1 overlapping JRC labels.
|
| 35 |
+
|
| 36 |
+
`JRCPerm/`: 815 chips of permenent water derived from JRC.
|
| 37 |
+
|
| 38 |
+
### _**Splits:**_
|
| 39 |
+
|
| 40 |
+
`flood_handlabeled/`: contains train, test, and validation splits for handlabeled images of floods (see: `data/flood_events/HandLabeled`).
|
| 41 |
+
|
| 42 |
+
`perm_water/`: contains train, test, and validation splits for permanent water (see: `data/perm_water/`)
|
| 43 |
+
|
| 44 |
+
## _**Files**_
|
| 45 |
+
|
| 46 |
+
`CNN_Chips_FTC.geojson`: _.geojson_ file containing bounding-box and meta-data for each chip in labeled data (does not contain weakly-labeled data).
|
Sen1Floods11/Sen1Floods11/docs/img/Spain_7370579_Label.png
ADDED
|
Git LFS Details
|
Sen1Floods11/Sen1Floods11/docs/img/Spain_7370579_S1.png
ADDED
|
Git LFS Details
|
Sen1Floods11/Sen1Floods11/docs/img/Spain_7370579_S2.png
ADDED
|
Git LFS Details
|
Sen1Floods11/Sen1Floods11/old_training/Main_Training_Stuff.ipynb
ADDED
|
@@ -0,0 +1,2001 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "markdown",
|
| 5 |
+
"metadata": {
|
| 6 |
+
"colab_type": "text",
|
| 7 |
+
"id": "view-in-github"
|
| 8 |
+
},
|
| 9 |
+
"source": [
|
| 10 |
+
"<a href=\"https://colab.research.google.com/github/dbonafilia/SGDWR-AdamWR-Keras/blob/master/Main_Training_Stuff.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"cell_type": "code",
|
| 15 |
+
"execution_count": 5,
|
| 16 |
+
"metadata": {
|
| 17 |
+
"colab": {},
|
| 18 |
+
"colab_type": "code",
|
| 19 |
+
"id": "KaTdYzzy2E2K"
|
| 20 |
+
},
|
| 21 |
+
"outputs": [],
|
| 22 |
+
"source": [
|
| 23 |
+
"LR = 5e-4\n",
|
| 24 |
+
"EPOCHS = 1000\n",
|
| 25 |
+
"EPOCHS_PER_UPDATE = 1\n",
|
| 26 |
+
"RUNNAME = \"5e4_handlabeled_0\""
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"cell_type": "code",
|
| 31 |
+
"execution_count": 6,
|
| 32 |
+
"metadata": {},
|
| 33 |
+
"outputs": [
|
| 34 |
+
{
|
| 35 |
+
"name": "stdout",
|
| 36 |
+
"output_type": "stream",
|
| 37 |
+
"text": [
|
| 38 |
+
"/home\n"
|
| 39 |
+
]
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"source": [
|
| 43 |
+
"cd /home"
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"cell_type": "code",
|
| 48 |
+
"execution_count": 7,
|
| 49 |
+
"metadata": {
|
| 50 |
+
"colab": {},
|
| 51 |
+
"colab_type": "code",
|
| 52 |
+
"id": "0rKXiKodtzk_"
|
| 53 |
+
},
|
| 54 |
+
"outputs": [],
|
| 55 |
+
"source": [
|
| 56 |
+
"import torch\n",
|
| 57 |
+
"from torchvision import transforms\n",
|
| 58 |
+
"import torchvision.transforms.functional as F\n",
|
| 59 |
+
"import random\n",
|
| 60 |
+
"\n",
|
| 61 |
+
"class InMemoryDataset(torch.utils.data.Dataset):\n",
|
| 62 |
+
" \n",
|
| 63 |
+
" def __init__(self, data_list, preprocess_func):\n",
|
| 64 |
+
" self.data_list = data_list\n",
|
| 65 |
+
" self.preprocess_func = preprocess_func\n",
|
| 66 |
+
" \n",
|
| 67 |
+
" def __getitem__(self, i):\n",
|
| 68 |
+
" return self.preprocess_func(self.data_list[i])\n",
|
| 69 |
+
" \n",
|
| 70 |
+
" def __len__(self):\n",
|
| 71 |
+
" return len(self.data_list)\n",
|
| 72 |
+
"\n",
|
| 73 |
+
"\n",
|
| 74 |
+
"def processAndAugment(data):\n",
|
| 75 |
+
" (x,y) = data\n",
|
| 76 |
+
" im,label = x.copy(), y.copy()\n",
|
| 77 |
+
"\n",
|
| 78 |
+
" # convert to PIL for easier transforms\n",
|
| 79 |
+
" im1 = Image.fromarray(im[0])\n",
|
| 80 |
+
" im2 = Image.fromarray(im[1])\n",
|
| 81 |
+
" label = Image.fromarray(label.squeeze())\n",
|
| 82 |
+
"\n",
|
| 83 |
+
" # Get params for random transforms\n",
|
| 84 |
+
" i, j, h, w = transforms.RandomCrop.get_params(im1, (256, 256))\n",
|
| 85 |
+
" \n",
|
| 86 |
+
" im1 = F.crop(im1, i, j, h, w)\n",
|
| 87 |
+
" im2 = F.crop(im2, i, j, h, w)\n",
|
| 88 |
+
" label = F.crop(label, i, j, h, w)\n",
|
| 89 |
+
" if random.random() > 0.5:\n",
|
| 90 |
+
" im1 = F.hflip(im1)\n",
|
| 91 |
+
" im2 = F.hflip(im2)\n",
|
| 92 |
+
" label = F.hflip(label)\n",
|
| 93 |
+
" if random.random() > 0.5:\n",
|
| 94 |
+
" im1 = F.vflip(im1)\n",
|
| 95 |
+
" im2 = F.vflip(im2)\n",
|
| 96 |
+
" label = F.vflip(label)\n",
|
| 97 |
+
" \n",
|
| 98 |
+
" norm = transforms.Normalize([0.6851, 0.5235], [0.0820, 0.1102])\n",
|
| 99 |
+
" im = torch.stack([transforms.ToTensor()(im1).squeeze(), transforms.ToTensor()(im2).squeeze()])\n",
|
| 100 |
+
" im = norm(im)\n",
|
| 101 |
+
" label = transforms.ToTensor()(label).squeeze()\n",
|
| 102 |
+
" if torch.sum(label.gt(.003) * label.lt(.004)):\n",
|
| 103 |
+
" label *= 255\n",
|
| 104 |
+
" label = label.round()\n",
|
| 105 |
+
"\n",
|
| 106 |
+
" return im, label\n",
|
| 107 |
+
"\n",
|
| 108 |
+
"\n",
|
| 109 |
+
"def processTestIm(data):\n",
|
| 110 |
+
" (x,y) = data\n",
|
| 111 |
+
" im,label = x.copy(), y.copy()\n",
|
| 112 |
+
" norm = transforms.Normalize([0.6851, 0.5235], [0.0820, 0.1102])\n",
|
| 113 |
+
" #label[0][0][0] = 255\n",
|
| 114 |
+
" # convert to PIL for easier transforms\n",
|
| 115 |
+
" im_c1 = Image.fromarray(im[0]).resize((512,512))\n",
|
| 116 |
+
" im_c2 = Image.fromarray(im[1]).resize((512,512))\n",
|
| 117 |
+
" label = Image.fromarray(label.squeeze()).resize((512,512))\n",
|
| 118 |
+
"\n",
|
| 119 |
+
" im_c1s = [F.crop(im_c1, 0, 0, 256, 256), F.crop(im_c1, 0, 256, 256, 256),\n",
|
| 120 |
+
" F.crop(im_c1, 256, 0, 256, 256), F.crop(im_c1, 256, 256, 256, 256)]\n",
|
| 121 |
+
" im_c2s = [F.crop(im_c2, 0, 0, 256, 256), F.crop(im_c2, 0, 256, 256, 256),\n",
|
| 122 |
+
" F.crop(im_c2, 256, 0, 256, 256), F.crop(im_c2, 256, 256, 256, 256)]\n",
|
| 123 |
+
" labels = [F.crop(label, 0, 0, 256, 256), F.crop(label, 0, 256, 256, 256),\n",
|
| 124 |
+
" F.crop(label, 256, 0, 256, 256), F.crop(label, 256, 256, 256, 256)]\n",
|
| 125 |
+
"\n",
|
| 126 |
+
"\n",
|
| 127 |
+
" ims = [torch.stack((transforms.ToTensor()(x).squeeze(),\n",
|
| 128 |
+
" transforms.ToTensor()(y).squeeze()))\n",
|
| 129 |
+
" for (x,y) in zip(im_c1s, im_c2s)]\n",
|
| 130 |
+
" ims = [norm(im) for im in ims]\n",
|
| 131 |
+
" ims = torch.stack(ims)\n",
|
| 132 |
+
" labels = [(transforms.ToTensor()(label).squeeze()) for label in labels]\n",
|
| 133 |
+
" labels = torch.stack(labels)\n",
|
| 134 |
+
" if torch.sum(labels.gt(.003) * labels.lt(.004)):\n",
|
| 135 |
+
" labels *= 255\n",
|
| 136 |
+
" labels = labels.round()\n",
|
| 137 |
+
" return ims, labels\n"
|
| 138 |
+
]
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"cell_type": "markdown",
|
| 142 |
+
"metadata": {
|
| 143 |
+
"colab_type": "text",
|
| 144 |
+
"id": "ImyxBVt52HnH"
|
| 145 |
+
},
|
| 146 |
+
"source": [
|
| 147 |
+
"Read in Data"
|
| 148 |
+
]
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"cell_type": "code",
|
| 152 |
+
"execution_count": 8,
|
| 153 |
+
"metadata": {
|
| 154 |
+
"colab": {
|
| 155 |
+
"base_uri": "https://localhost:8080/",
|
| 156 |
+
"height": 190
|
| 157 |
+
},
|
| 158 |
+
"colab_type": "code",
|
| 159 |
+
"id": "AcdNIUJyw11-",
|
| 160 |
+
"outputId": "8cd3000e-33f8-49e2-b470-58362c763e0f"
|
| 161 |
+
},
|
| 162 |
+
"outputs": [
|
| 163 |
+
{
|
| 164 |
+
"name": "stdout",
|
| 165 |
+
"output_type": "stream",
|
| 166 |
+
"text": [
|
| 167 |
+
"Requirement already satisfied: rasterio in /opt/anaconda3/lib/python3.7/site-packages (1.1.3)\n",
|
| 168 |
+
"Requirement already satisfied: affine in /opt/anaconda3/lib/python3.7/site-packages (from rasterio) (2.3.0)\n",
|
| 169 |
+
"Requirement already satisfied: cligj>=0.5 in /opt/anaconda3/lib/python3.7/site-packages (from rasterio) (0.5.0)\n",
|
| 170 |
+
"Requirement already satisfied: click-plugins in /opt/anaconda3/lib/python3.7/site-packages (from rasterio) (1.1.1)\n",
|
| 171 |
+
"Requirement already satisfied: attrs in /opt/anaconda3/lib/python3.7/site-packages (from rasterio) (19.3.0)\n",
|
| 172 |
+
"Requirement already satisfied: click<8,>=4.0 in /opt/anaconda3/lib/python3.7/site-packages (from rasterio) (7.0)\n",
|
| 173 |
+
"Requirement already satisfied: numpy in /opt/anaconda3/lib/python3.7/site-packages (from rasterio) (1.17.4)\n",
|
| 174 |
+
"Requirement already satisfied: snuggs>=1.4.1 in /opt/anaconda3/lib/python3.7/site-packages (from rasterio) (1.4.7)\n",
|
| 175 |
+
"Requirement already satisfied: pyparsing>=2.1.6 in /opt/anaconda3/lib/python3.7/site-packages (from snuggs>=1.4.1->rasterio) (2.4.5)\n"
|
| 176 |
+
]
|
| 177 |
+
}
|
| 178 |
+
],
|
| 179 |
+
"source": [
|
| 180 |
+
"!pip install rasterio"
|
| 181 |
+
]
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"cell_type": "code",
|
| 185 |
+
"execution_count": 9,
|
| 186 |
+
"metadata": {
|
| 187 |
+
"colab": {},
|
| 188 |
+
"colab_type": "code",
|
| 189 |
+
"id": "eQqagN7vu7jx"
|
| 190 |
+
},
|
| 191 |
+
"outputs": [],
|
| 192 |
+
"source": [
|
| 193 |
+
"import csv\n",
|
| 194 |
+
"from PIL import Image\n",
|
| 195 |
+
"import rasterio\n",
|
| 196 |
+
"import numpy as np\n",
|
| 197 |
+
"import os\n",
|
| 198 |
+
"BASEDIR = 'files3/'\n",
|
| 199 |
+
"\n",
|
| 200 |
+
"def getArr(fname):\n",
|
| 201 |
+
" return rasterio.open(BASEDIR + fname).read()\n",
|
| 202 |
+
"\n",
|
| 203 |
+
"\n",
|
| 204 |
+
"def download_perm_water_data_from_file(fname):\n",
|
| 205 |
+
" with open(fname) as f:\n",
|
| 206 |
+
" data_fnames = [tuple(line) for line in csv.reader(f)]\n",
|
| 207 |
+
" i = 0\n",
|
| 208 |
+
" data = []\n",
|
| 209 |
+
" for (x,y) in data_fnames:\n",
|
| 210 |
+
" arr_x, arr_y = getArr(os.path.join(\"S1Perm\", x)), getArr(os.path.join(\"PermJRC\", y))\n",
|
| 211 |
+
" if np.sum((arr_x != arr_x)) == 0:\n",
|
| 212 |
+
" ignore = (arr_y == -1)\n",
|
| 213 |
+
" ignore = ((np.uint8(ignore) * -1) * 256) + 1\n",
|
| 214 |
+
" arr_y *= ignore\n",
|
| 215 |
+
" data.append((arr_x, arr_y))\n",
|
| 216 |
+
" i+=1\n",
|
| 217 |
+
" print(i)\n",
|
| 218 |
+
" else:\n",
|
| 219 |
+
" print(\"skipping nan\")\n",
|
| 220 |
+
" return data\n",
|
| 221 |
+
"\n",
|
| 222 |
+
"def download_perm_train_data():\n",
|
| 223 |
+
" TRAINING_DATA_FILE = BASEDIR + 'permanent_water_train_data.csv'\n",
|
| 224 |
+
" return download_perm_water_data_from_file(TRAINING_DATA_FILE)\n",
|
| 225 |
+
"\n",
|
| 226 |
+
"def download_perm_valid_data():\n",
|
| 227 |
+
" VALID_DATA_FILE = BASEDIR + 'permanent_water_validation_data.csv'\n",
|
| 228 |
+
" return download_perm_water_data_from_file(VALID_DATA_FILE)\n",
|
| 229 |
+
"\n",
|
| 230 |
+
"def download_perm_test_data():\n",
|
| 231 |
+
" TEST_DATA_FILE = BASEDIR + 'permanent_water_test_data.csv'\n",
|
| 232 |
+
" return download_perm_water_data_from_file(TEST_DATA_FILE)\n"
|
| 233 |
+
]
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"cell_type": "code",
|
| 237 |
+
"execution_count": 10,
|
| 238 |
+
"metadata": {
|
| 239 |
+
"colab": {},
|
| 240 |
+
"colab_type": "code",
|
| 241 |
+
"id": "ZjFk6FlhHAR4"
|
| 242 |
+
},
|
| 243 |
+
"outputs": [],
|
| 244 |
+
"source": [
|
| 245 |
+
"from time import time\n",
|
| 246 |
+
"\n",
|
| 247 |
+
"def getArrFlood(fname):\n",
|
| 248 |
+
" return rasterio.open(fname).read()\n",
|
| 249 |
+
"\n",
|
| 250 |
+
"def download_flood_water_data_from_list(l):\n",
|
| 251 |
+
" print(\"WHYYYYY\")\n",
|
| 252 |
+
" i= 0\n",
|
| 253 |
+
" tot_nan = 0\n",
|
| 254 |
+
" tot_good = 0\n",
|
| 255 |
+
" flood_data = []\n",
|
| 256 |
+
" for (im_fname, mask_fname) in l:\n",
|
| 257 |
+
" if not os.path.exists(os.path.join(\"files3/\", im_fname)):\n",
|
| 258 |
+
" print(os.path.join(\"files3/\", im_fname))\n",
|
| 259 |
+
" continue\n",
|
| 260 |
+
" arr_x = np.nan_to_num(getArrFlood(os.path.join(\"files3/\", im_fname)))\n",
|
| 261 |
+
" arr_y = getArrFlood(os.path.join(\"files3/\", mask_fname))\n",
|
| 262 |
+
" ignore = (arr_y == -1)\n",
|
| 263 |
+
" ignore = ((np.uint8(ignore) * -1) * 256) + 1\n",
|
| 264 |
+
" arr_y *= ignore\n",
|
| 265 |
+
" arr_y = np.uint8(getArrFlood(os.path.join(\"files3/\", mask_fname)))\n",
|
| 266 |
+
" if np.sum((arr_y != arr_y)) == 0:\n",
|
| 267 |
+
" arr_x = np.clip(arr_x, -50, 1)\n",
|
| 268 |
+
" arr_x = (arr_x + 50) / 51\n",
|
| 269 |
+
" if i % 100 == 0:\n",
|
| 270 |
+
" print(i)\n",
|
| 271 |
+
" print(im_fname, mask_fname)\n",
|
| 272 |
+
" i += 1\n",
|
| 273 |
+
" flood_data.append((arr_x,arr_y))\n",
|
| 274 |
+
" else:\n",
|
| 275 |
+
" print(\"skipping nan\")\n",
|
| 276 |
+
" print(i)\n",
|
| 277 |
+
" return flood_data\n",
|
| 278 |
+
"\n",
|
| 279 |
+
"\n",
|
| 280 |
+
"def load_flood_train_data():\n",
|
| 281 |
+
" basedir = \"files4/\"\n",
|
| 282 |
+
" fname = \"files3/flood_train_data.csv\"\n",
|
| 283 |
+
" with open(fname) as f:\n",
|
| 284 |
+
" fname = [tuple(line) for line in csv.reader(f)]\n",
|
| 285 |
+
" return download_flood_water_data_from_list(fname)\n",
|
| 286 |
+
"\n",
|
| 287 |
+
"def load_weak_flood_train_data():\n",
|
| 288 |
+
" basedir = \"files4/\"\n",
|
| 289 |
+
" files = [(os.path.join(\"S1_NoQC\", x[1]), os.path.join(\"NoQC\", x[0])) for x in zip(sorted(os.listdir(\"files3/NoQC\")), sorted(os.listdir(\"files3/S1_NoQC\")))]\n",
|
| 290 |
+
" files = [x for x in files if \"Bolivia\" not in x[0]]\n",
|
| 291 |
+
" print(files[0:10])\n",
|
| 292 |
+
" return download_flood_water_data_from_list(files)\n",
|
| 293 |
+
"\n",
|
| 294 |
+
"def load_weak_flood_S1_train_data():\n",
|
| 295 |
+
" basedir = \"files4/\"\n",
|
| 296 |
+
" files = [(os.path.join(\"S1_NoQC\", x[1]), os.path.join(\"S1Flood_NoQC\", x[0])) for x in zip(sorted(os.listdir(\"files3/S1Flood_NoQC\")), sorted(os.listdir(\"files3/S1_NoQC\")))]\n",
|
| 297 |
+
" print(files[0:10])\n",
|
| 298 |
+
" return download_flood_water_data_from_list(files)\n",
|
| 299 |
+
"\n",
|
| 300 |
+
"def load_flood_valid_data():\n",
|
| 301 |
+
" basedir = \"files4/\"\n",
|
| 302 |
+
" fname = \"files3/flood_valid_data.csv\"\n",
|
| 303 |
+
" with open(fname) as f:\n",
|
| 304 |
+
" fname = [tuple(line) for line in csv.reader(f)]\n",
|
| 305 |
+
" print(fname, \"files!\")\n",
|
| 306 |
+
" return download_flood_water_data_from_list(fname)\n",
|
| 307 |
+
"\n",
|
| 308 |
+
"def load_flood_test_data():\n",
|
| 309 |
+
" basedir = \"files4/\"\n",
|
| 310 |
+
" fname = \"files3/flood_test_data.csv\"\n",
|
| 311 |
+
" with open(fname) as f:\n",
|
| 312 |
+
" fname = [tuple(line) for line in csv.reader(f)]\n",
|
| 313 |
+
" return download_flood_water_data_from_list(fname)\n",
|
| 314 |
+
"\n",
|
| 315 |
+
"def load_flood_bolivia_test_data():\n",
|
| 316 |
+
" basedir = \"files4/\"\n",
|
| 317 |
+
" fname = \"files3/flood_bolivia_data.csv\"\n",
|
| 318 |
+
" with open(fname) as f:\n",
|
| 319 |
+
" fname = [tuple(line) for line in csv.reader(f)]\n",
|
| 320 |
+
" return download_flood_water_data_from_list(fname)\n",
|
| 321 |
+
"\n",
|
| 322 |
+
"\n"
|
| 323 |
+
]
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"cell_type": "code",
|
| 327 |
+
"execution_count": 11,
|
| 328 |
+
"metadata": {
|
| 329 |
+
"colab": {
|
| 330 |
+
"base_uri": "https://localhost:8080/",
|
| 331 |
+
"height": 1000
|
| 332 |
+
},
|
| 333 |
+
"colab_type": "code",
|
| 334 |
+
"id": "8kCCtfs7ULx_",
|
| 335 |
+
"outputId": "4c5f0e83-27b2-4fd1-c11a-326fd238197a"
|
| 336 |
+
},
|
| 337 |
+
"outputs": [
|
| 338 |
+
{
|
| 339 |
+
"name": "stdout",
|
| 340 |
+
"output_type": "stream",
|
| 341 |
+
"text": [
|
| 342 |
+
"WHYYYYY\n",
|
| 343 |
+
"0\n",
|
| 344 |
+
"S1/Ghana_103272_S1.tif QC_v2/Ghana_103272_QC.tif\n",
|
| 345 |
+
"100\n",
|
| 346 |
+
"S1/Pakistan_132143_S1.tif QC_v2/Pakistan_132143_QC.tif\n",
|
| 347 |
+
"200\n",
|
| 348 |
+
"S1/Sri-Lanka_916628_S1.tif QC_v2/Sri-Lanka_916628_QC.tif\n",
|
| 349 |
+
"252\n"
|
| 350 |
+
]
|
| 351 |
+
}
|
| 352 |
+
],
|
| 353 |
+
"source": [
|
| 354 |
+
"train_data = load_flood_train_data()#load_weak_flood_S1_train_data()\n",
|
| 355 |
+
"train_dataset = InMemoryDataset(train_data, processAndAugment)\n",
|
| 356 |
+
"train_loader = torch.utils.data.DataLoader(train_dataset, batch_size=16, shuffle=True, sampler=None,\n",
|
| 357 |
+
" batch_sampler=None, num_workers=0, collate_fn=None,\n",
|
| 358 |
+
" pin_memory=True, drop_last=False, timeout=0,\n",
|
| 359 |
+
" worker_init_fn=None)\n",
|
| 360 |
+
"train_iter = iter(train_loader)"
|
| 361 |
+
]
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"cell_type": "code",
|
| 365 |
+
"execution_count": 12,
|
| 366 |
+
"metadata": {
|
| 367 |
+
"colab": {
|
| 368 |
+
"base_uri": "https://localhost:8080/",
|
| 369 |
+
"height": 1000
|
| 370 |
+
},
|
| 371 |
+
"colab_type": "code",
|
| 372 |
+
"id": "GDa86WdzgdkH",
|
| 373 |
+
"outputId": "f29debe4-669e-4955-d850-7aab77fd0834"
|
| 374 |
+
},
|
| 375 |
+
"outputs": [
|
| 376 |
+
{
|
| 377 |
+
"name": "stdout",
|
| 378 |
+
"output_type": "stream",
|
| 379 |
+
"text": [
|
| 380 |
+
"[('S1/Ghana_5079_S1.tif', 'QC_v2/Ghana_5079_QC.tif'), ('S1/Ghana_895194_S1.tif', 'QC_v2/Ghana_895194_QC.tif'), ('S1/Ghana_868803_S1.tif', 'QC_v2/Ghana_868803_QC.tif'), ('S1/Ghana_142312_S1.tif', 'QC_v2/Ghana_142312_QC.tif'), ('S1/Ghana_234935_S1.tif', 'QC_v2/Ghana_234935_QC.tif'), ('S1/Ghana_132163_S1.tif', 'QC_v2/Ghana_132163_QC.tif'), ('S1/Ghana_495107_S1.tif', 'QC_v2/Ghana_495107_QC.tif'), ('S1/Ghana_124834_S1.tif', 'QC_v2/Ghana_124834_QC.tif'), ('S1/Ghana_1033830_S1.tif', 'QC_v2/Ghana_1033830_QC.tif'), ('S1/Ghana_277_S1.tif', 'QC_v2/Ghana_277_QC.tif'), ('S1/Ghana_308249_S1.tif', 'QC_v2/Ghana_308249_QC.tif'), ('S1/India_1050276_S1.tif', 'QC_v2/India_1050276_QC.tif'), ('S1/India_764946_S1.tif', 'QC_v2/India_764946_QC.tif'), ('S1/India_118868_S1.tif', 'QC_v2/India_118868_QC.tif'), ('S1/India_533192_S1.tif', 'QC_v2/India_533192_QC.tif'), ('S1/India_180633_S1.tif', 'QC_v2/India_180633_QC.tif'), ('S1/India_244057_S1.tif', 'QC_v2/India_244057_QC.tif'), ('S1/India_691027_S1.tif', 'QC_v2/India_691027_QC.tif'), ('S1/India_769408_S1.tif', 'QC_v2/India_769408_QC.tif'), ('S1/India_1018317_S1.tif', 'QC_v2/India_1018317_QC.tif'), ('S1/India_869358_S1.tif', 'QC_v2/India_869358_QC.tif'), ('S1/India_164336_S1.tif', 'QC_v2/India_164336_QC.tif'), ('S1/India_70352_S1.tif', 'QC_v2/India_70352_QC.tif'), ('S1/India_833266_S1.tif', 'QC_v2/India_833266_QC.tif'), ('S1/India_1068117_S1.tif', 'QC_v2/India_1068117_QC.tif'), ('S1/Mekong_1149855_S1.tif', 'QC_v2/Mekong_1149855_QC.tif'), ('S1/Mekong_977338_S1.tif', 'QC_v2/Mekong_977338_QC.tif'), ('S1/Mekong_474783_S1.tif', 'QC_v2/Mekong_474783_QC.tif'), ('S1/Mekong_293769_S1.tif', 'QC_v2/Mekong_293769_QC.tif'), ('S1/Mekong_1413877_S1.tif', 'QC_v2/Mekong_1413877_QC.tif'), ('S1/Mekong_98310_S1.tif', 'QC_v2/Mekong_98310_QC.tif'), ('S1/Nigeria_31096_S1.tif', 'QC_v2/Nigeria_31096_QC.tif'), ('S1/Nigeria_984831_S1.tif', 'QC_v2/Nigeria_984831_QC.tif'), ('S1/Nigeria_1095404_S1.tif', 'QC_v2/Nigeria_1095404_QC.tif'), ('S1/Nigeria_820924_S1.tif', 'QC_v2/Nigeria_820924_QC.tif'), ('S1/Pakistan_43105_S1.tif', 'QC_v2/Pakistan_43105_QC.tif'), ('S1/Pakistan_94095_S1.tif', 'QC_v2/Pakistan_94095_QC.tif'), ('S1/Pakistan_210595_S1.tif', 'QC_v2/Pakistan_210595_QC.tif'), ('S1/Pakistan_1027214_S1.tif', 'QC_v2/Pakistan_1027214_QC.tif'), ('S1/Pakistan_336228_S1.tif', 'QC_v2/Pakistan_336228_QC.tif'), ('S1/Pakistan_9684_S1.tif', 'QC_v2/Pakistan_9684_QC.tif'), ('S1/Paraguay_305760_S1.tif', 'QC_v2/Paraguay_305760_QC.tif'), ('S1/Paraguay_648632_S1.tif', 'QC_v2/Paraguay_648632_QC.tif'), ('S1/Paraguay_172476_S1.tif', 'QC_v2/Paraguay_172476_QC.tif'), ('S1/Paraguay_581976_S1.tif', 'QC_v2/Paraguay_581976_QC.tif'), ('S1/Paraguay_284928_S1.tif', 'QC_v2/Paraguay_284928_QC.tif'), ('S1/Paraguay_1019808_S1.tif', 'QC_v2/Paraguay_1019808_QC.tif'), ('S1/Paraguay_76868_S1.tif', 'QC_v2/Paraguay_76868_QC.tif'), ('S1/Paraguay_252217_S1.tif', 'QC_v2/Paraguay_252217_QC.tif'), ('S1/Paraguay_205585_S1.tif', 'QC_v2/Paraguay_205585_QC.tif'), ('S1/Paraguay_7894_S1.tif', 'QC_v2/Paraguay_7894_QC.tif'), ('S1/Paraguay_896458_S1.tif', 'QC_v2/Paraguay_896458_QC.tif'), ('S1/Paraguay_657443_S1.tif', 'QC_v2/Paraguay_657443_QC.tif'), ('S1/Paraguay_934240_S1.tif', 'QC_v2/Paraguay_934240_QC.tif'), ('S1/Paraguay_153941_S1.tif', 'QC_v2/Paraguay_153941_QC.tif'), ('S1/Somalia_12849_S1.tif', 'QC_v2/Somalia_12849_QC.tif'), ('S1/Somalia_256539_S1.tif', 'QC_v2/Somalia_256539_QC.tif'), ('S1/Somalia_61368_S1.tif', 'QC_v2/Somalia_61368_QC.tif'), ('S1/Somalia_649376_S1.tif', 'QC_v2/Somalia_649376_QC.tif'), ('S1/Somalia_167787_S1.tif', 'QC_v2/Somalia_167787_QC.tif'), ('S1/Spain_1199913_S1.tif', 'QC_v2/Spain_1199913_QC.tif'), ('S1/Spain_8372658_S1.tif', 'QC_v2/Spain_8372658_QC.tif'), ('S1/Spain_7604243_S1.tif', 'QC_v2/Spain_7604243_QC.tif'), ('S1/Spain_6537196_S1.tif', 'QC_v2/Spain_6537196_QC.tif'), ('S1/Spain_4282030_S1.tif', 'QC_v2/Spain_4282030_QC.tif'), ('S1/Spain_8565131_S1.tif', 'QC_v2/Spain_8565131_QC.tif'), ('S1/Sri-Lanka_85652_S1.tif', 'QC_v2/Sri-Lanka_85652_QC.tif'), ('S1/Sri-Lanka_63307_S1.tif', 'QC_v2/Sri-Lanka_63307_QC.tif'), ('S1/Sri-Lanka_612594_S1.tif', 'QC_v2/Sri-Lanka_612594_QC.tif'), ('S1/Sri-Lanka_132922_S1.tif', 'QC_v2/Sri-Lanka_132922_QC.tif'), ('S1/Sri-Lanka_236030_S1.tif', 'QC_v2/Sri-Lanka_236030_QC.tif'), ('S1/Sri-Lanka_31559_S1.tif', 'QC_v2/Sri-Lanka_31559_QC.tif'), ('S1/Sri-Lanka_236628_S1.tif', 'QC_v2/Sri-Lanka_236628_QC.tif'), ('S1/Sri-Lanka_101973_S1.tif', 'QC_v2/Sri-Lanka_101973_QC.tif'), ('S1/Sri-Lanka_321316_S1.tif', 'QC_v2/Sri-Lanka_321316_QC.tif'), ('S1/USA_826217_S1.tif', 'QC_v2/USA_826217_QC.tif'), ('S1/USA_741073_S1.tif', 'QC_v2/USA_741073_QC.tif'), ('S1/USA_275372_S1.tif', 'QC_v2/USA_275372_QC.tif'), ('S1/USA_19225_S1.tif', 'QC_v2/USA_19225_QC.tif'), ('S1/USA_366607_S1.tif', 'QC_v2/USA_366607_QC.tif'), ('S1/USA_308150_S1.tif', 'QC_v2/USA_308150_QC.tif'), ('S1/USA_1039203_S1.tif', 'QC_v2/USA_1039203_QC.tif'), ('S1/USA_251323_S1.tif', 'QC_v2/USA_251323_QC.tif'), ('S1/USA_1082482_S1.tif', 'QC_v2/USA_1082482_QC.tif'), ('S1/USA_225017_S1.tif', 'QC_v2/USA_225017_QC.tif'), ('S1/USA_986268_S1.tif', 'QC_v2/USA_986268_QC.tif'), ('S1/USA_646878_S1.tif', 'QC_v2/USA_646878_QC.tif'), ('S1/USA_761032_S1.tif', 'QC_v2/USA_761032_QC.tif'), ('S1/USA_741178_S1.tif', 'QC_v2/USA_741178_QC.tif')] files!\n",
|
| 381 |
+
"WHYYYYY\n",
|
| 382 |
+
"0\n",
|
| 383 |
+
"S1/Ghana_5079_S1.tif QC_v2/Ghana_5079_QC.tif\n",
|
| 384 |
+
"89\n"
|
| 385 |
+
]
|
| 386 |
+
}
|
| 387 |
+
],
|
| 388 |
+
"source": [
|
| 389 |
+
"valid_data = load_flood_valid_data() #download_perm_valid_data()\n",
|
| 390 |
+
"valid_dataset = InMemoryDataset(valid_data, processTestIm)\n",
|
| 391 |
+
"valid_loader = torch.utils.data.DataLoader(valid_dataset, batch_size=4, shuffle=True, sampler=None,\n",
|
| 392 |
+
" batch_sampler=None, num_workers=0, collate_fn=lambda x: (torch.cat([a[0] for a in x], 0), torch.cat([a[1] for a in x], 0)),\n",
|
| 393 |
+
" pin_memory=True, drop_last=False, timeout=0,\n",
|
| 394 |
+
" worker_init_fn=None)\n",
|
| 395 |
+
"valid_iter = iter(valid_loader)"
|
| 396 |
+
]
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"cell_type": "markdown",
|
| 400 |
+
"metadata": {
|
| 401 |
+
"colab_type": "text",
|
| 402 |
+
"id": "Q00osps22aUU"
|
| 403 |
+
},
|
| 404 |
+
"source": [
|
| 405 |
+
"Set up net/parameters"
|
| 406 |
+
]
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"cell_type": "code",
|
| 410 |
+
"execution_count": 13,
|
| 411 |
+
"metadata": {
|
| 412 |
+
"colab": {
|
| 413 |
+
"base_uri": "https://localhost:8080/",
|
| 414 |
+
"height": 1000
|
| 415 |
+
},
|
| 416 |
+
"colab_type": "code",
|
| 417 |
+
"id": "DF4k-jQM2gCP",
|
| 418 |
+
"outputId": "1c189728-d219-4107-926b-523962735635"
|
| 419 |
+
},
|
| 420 |
+
"outputs": [
|
| 421 |
+
{
|
| 422 |
+
"data": {
|
| 423 |
+
"text/plain": [
|
| 424 |
+
"FCN(\n",
|
| 425 |
+
" (backbone): IntermediateLayerGetter(\n",
|
| 426 |
+
" (conv1): Conv2d(2, 64, kernel_size=(7, 7), stride=(2, 2), padding=(3, 3), bias=False)\n",
|
| 427 |
+
" (bn1): GroupNorm(16, 64, eps=1e-05, affine=True)\n",
|
| 428 |
+
" (relu): ReLU(inplace=True)\n",
|
| 429 |
+
" (maxpool): MaxPool2d(kernel_size=3, stride=2, padding=1, dilation=1, ceil_mode=False)\n",
|
| 430 |
+
" (layer1): Sequential(\n",
|
| 431 |
+
" (0): Bottleneck(\n",
|
| 432 |
+
" (conv1): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 433 |
+
" (bn1): GroupNorm(16, 64, eps=1e-05, affine=True)\n",
|
| 434 |
+
" (conv2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 435 |
+
" (bn2): GroupNorm(16, 64, eps=1e-05, affine=True)\n",
|
| 436 |
+
" (conv3): Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 437 |
+
" (bn3): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 438 |
+
" (relu): ReLU(inplace=True)\n",
|
| 439 |
+
" (downsample): Sequential(\n",
|
| 440 |
+
" (0): Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 441 |
+
" (1): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 442 |
+
" )\n",
|
| 443 |
+
" )\n",
|
| 444 |
+
" (1): Bottleneck(\n",
|
| 445 |
+
" (conv1): Conv2d(256, 64, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 446 |
+
" (bn1): GroupNorm(16, 64, eps=1e-05, affine=True)\n",
|
| 447 |
+
" (conv2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 448 |
+
" (bn2): GroupNorm(16, 64, eps=1e-05, affine=True)\n",
|
| 449 |
+
" (conv3): Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 450 |
+
" (bn3): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 451 |
+
" (relu): ReLU(inplace=True)\n",
|
| 452 |
+
" )\n",
|
| 453 |
+
" (2): Bottleneck(\n",
|
| 454 |
+
" (conv1): Conv2d(256, 64, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 455 |
+
" (bn1): GroupNorm(16, 64, eps=1e-05, affine=True)\n",
|
| 456 |
+
" (conv2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 457 |
+
" (bn2): GroupNorm(16, 64, eps=1e-05, affine=True)\n",
|
| 458 |
+
" (conv3): Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 459 |
+
" (bn3): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 460 |
+
" (relu): ReLU(inplace=True)\n",
|
| 461 |
+
" )\n",
|
| 462 |
+
" )\n",
|
| 463 |
+
" (layer2): Sequential(\n",
|
| 464 |
+
" (0): Bottleneck(\n",
|
| 465 |
+
" (conv1): Conv2d(256, 128, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 466 |
+
" (bn1): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 467 |
+
" (conv2): Conv2d(128, 128, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False)\n",
|
| 468 |
+
" (bn2): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 469 |
+
" (conv3): Conv2d(128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 470 |
+
" (bn3): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 471 |
+
" (relu): ReLU(inplace=True)\n",
|
| 472 |
+
" (downsample): Sequential(\n",
|
| 473 |
+
" (0): Conv2d(256, 512, kernel_size=(1, 1), stride=(2, 2), bias=False)\n",
|
| 474 |
+
" (1): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 475 |
+
" )\n",
|
| 476 |
+
" )\n",
|
| 477 |
+
" (1): Bottleneck(\n",
|
| 478 |
+
" (conv1): Conv2d(512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 479 |
+
" (bn1): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 480 |
+
" (conv2): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 481 |
+
" (bn2): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 482 |
+
" (conv3): Conv2d(128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 483 |
+
" (bn3): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 484 |
+
" (relu): ReLU(inplace=True)\n",
|
| 485 |
+
" )\n",
|
| 486 |
+
" (2): Bottleneck(\n",
|
| 487 |
+
" (conv1): Conv2d(512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 488 |
+
" (bn1): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 489 |
+
" (conv2): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 490 |
+
" (bn2): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 491 |
+
" (conv3): Conv2d(128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 492 |
+
" (bn3): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 493 |
+
" (relu): ReLU(inplace=True)\n",
|
| 494 |
+
" )\n",
|
| 495 |
+
" (3): Bottleneck(\n",
|
| 496 |
+
" (conv1): Conv2d(512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 497 |
+
" (bn1): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 498 |
+
" (conv2): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 499 |
+
" (bn2): GroupNorm(16, 128, eps=1e-05, affine=True)\n",
|
| 500 |
+
" (conv3): Conv2d(128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 501 |
+
" (bn3): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 502 |
+
" (relu): ReLU(inplace=True)\n",
|
| 503 |
+
" )\n",
|
| 504 |
+
" )\n",
|
| 505 |
+
" (layer3): Sequential(\n",
|
| 506 |
+
" (0): Bottleneck(\n",
|
| 507 |
+
" (conv1): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 508 |
+
" (bn1): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 509 |
+
" (conv2): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 510 |
+
" (bn2): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 511 |
+
" (conv3): Conv2d(256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 512 |
+
" (bn3): GroupNorm(16, 1024, eps=1e-05, affine=True)\n",
|
| 513 |
+
" (relu): ReLU(inplace=True)\n",
|
| 514 |
+
" (downsample): Sequential(\n",
|
| 515 |
+
" (0): Conv2d(512, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 516 |
+
" (1): GroupNorm(16, 1024, eps=1e-05, affine=True)\n",
|
| 517 |
+
" )\n",
|
| 518 |
+
" )\n",
|
| 519 |
+
" (1): Bottleneck(\n",
|
| 520 |
+
" (conv1): Conv2d(1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 521 |
+
" (bn1): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 522 |
+
" (conv2): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(2, 2), dilation=(2, 2), bias=False)\n",
|
| 523 |
+
" (bn2): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 524 |
+
" (conv3): Conv2d(256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 525 |
+
" (bn3): GroupNorm(16, 1024, eps=1e-05, affine=True)\n",
|
| 526 |
+
" (relu): ReLU(inplace=True)\n",
|
| 527 |
+
" )\n",
|
| 528 |
+
" (2): Bottleneck(\n",
|
| 529 |
+
" (conv1): Conv2d(1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 530 |
+
" (bn1): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 531 |
+
" (conv2): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(2, 2), dilation=(2, 2), bias=False)\n",
|
| 532 |
+
" (bn2): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 533 |
+
" (conv3): Conv2d(256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 534 |
+
" (bn3): GroupNorm(16, 1024, eps=1e-05, affine=True)\n",
|
| 535 |
+
" (relu): ReLU(inplace=True)\n",
|
| 536 |
+
" )\n",
|
| 537 |
+
" (3): Bottleneck(\n",
|
| 538 |
+
" (conv1): Conv2d(1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 539 |
+
" (bn1): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 540 |
+
" (conv2): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(2, 2), dilation=(2, 2), bias=False)\n",
|
| 541 |
+
" (bn2): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 542 |
+
" (conv3): Conv2d(256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 543 |
+
" (bn3): GroupNorm(16, 1024, eps=1e-05, affine=True)\n",
|
| 544 |
+
" (relu): ReLU(inplace=True)\n",
|
| 545 |
+
" )\n",
|
| 546 |
+
" (4): Bottleneck(\n",
|
| 547 |
+
" (conv1): Conv2d(1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 548 |
+
" (bn1): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 549 |
+
" (conv2): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(2, 2), dilation=(2, 2), bias=False)\n",
|
| 550 |
+
" (bn2): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 551 |
+
" (conv3): Conv2d(256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 552 |
+
" (bn3): GroupNorm(16, 1024, eps=1e-05, affine=True)\n",
|
| 553 |
+
" (relu): ReLU(inplace=True)\n",
|
| 554 |
+
" )\n",
|
| 555 |
+
" (5): Bottleneck(\n",
|
| 556 |
+
" (conv1): Conv2d(1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 557 |
+
" (bn1): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 558 |
+
" (conv2): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(2, 2), dilation=(2, 2), bias=False)\n",
|
| 559 |
+
" (bn2): GroupNorm(16, 256, eps=1e-05, affine=True)\n",
|
| 560 |
+
" (conv3): Conv2d(256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 561 |
+
" (bn3): GroupNorm(16, 1024, eps=1e-05, affine=True)\n",
|
| 562 |
+
" (relu): ReLU(inplace=True)\n",
|
| 563 |
+
" )\n",
|
| 564 |
+
" )\n",
|
| 565 |
+
" (layer4): Sequential(\n",
|
| 566 |
+
" (0): Bottleneck(\n",
|
| 567 |
+
" (conv1): Conv2d(1024, 512, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 568 |
+
" (bn1): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 569 |
+
" (conv2): Conv2d(512, 512, kernel_size=(3, 3), stride=(1, 1), padding=(2, 2), dilation=(2, 2), bias=False)\n",
|
| 570 |
+
" (bn2): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 571 |
+
" (conv3): Conv2d(512, 2048, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 572 |
+
" (bn3): GroupNorm(16, 2048, eps=1e-05, affine=True)\n",
|
| 573 |
+
" (relu): ReLU(inplace=True)\n",
|
| 574 |
+
" (downsample): Sequential(\n",
|
| 575 |
+
" (0): Conv2d(1024, 2048, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 576 |
+
" (1): GroupNorm(16, 2048, eps=1e-05, affine=True)\n",
|
| 577 |
+
" )\n",
|
| 578 |
+
" )\n",
|
| 579 |
+
" (1): Bottleneck(\n",
|
| 580 |
+
" (conv1): Conv2d(2048, 512, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 581 |
+
" (bn1): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 582 |
+
" (conv2): Conv2d(512, 512, kernel_size=(3, 3), stride=(1, 1), padding=(4, 4), dilation=(4, 4), bias=False)\n",
|
| 583 |
+
" (bn2): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 584 |
+
" (conv3): Conv2d(512, 2048, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 585 |
+
" (bn3): GroupNorm(16, 2048, eps=1e-05, affine=True)\n",
|
| 586 |
+
" (relu): ReLU(inplace=True)\n",
|
| 587 |
+
" )\n",
|
| 588 |
+
" (2): Bottleneck(\n",
|
| 589 |
+
" (conv1): Conv2d(2048, 512, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 590 |
+
" (bn1): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 591 |
+
" (conv2): Conv2d(512, 512, kernel_size=(3, 3), stride=(1, 1), padding=(4, 4), dilation=(4, 4), bias=False)\n",
|
| 592 |
+
" (bn2): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 593 |
+
" (conv3): Conv2d(512, 2048, kernel_size=(1, 1), stride=(1, 1), bias=False)\n",
|
| 594 |
+
" (bn3): GroupNorm(16, 2048, eps=1e-05, affine=True)\n",
|
| 595 |
+
" (relu): ReLU(inplace=True)\n",
|
| 596 |
+
" )\n",
|
| 597 |
+
" )\n",
|
| 598 |
+
" )\n",
|
| 599 |
+
" (classifier): FCNHead(\n",
|
| 600 |
+
" (0): Conv2d(2048, 512, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)\n",
|
| 601 |
+
" (1): GroupNorm(16, 512, eps=1e-05, affine=True)\n",
|
| 602 |
+
" (2): ReLU()\n",
|
| 603 |
+
" (3): Dropout(p=0.1, inplace=False)\n",
|
| 604 |
+
" (4): Conv2d(512, 2, kernel_size=(1, 1), stride=(1, 1))\n",
|
| 605 |
+
" )\n",
|
| 606 |
+
")"
|
| 607 |
+
]
|
| 608 |
+
},
|
| 609 |
+
"execution_count": 13,
|
| 610 |
+
"metadata": {},
|
| 611 |
+
"output_type": "execute_result"
|
| 612 |
+
}
|
| 613 |
+
],
|
| 614 |
+
"source": [
|
| 615 |
+
"import torchvision.models as models\n",
|
| 616 |
+
"import torch.nn as nn\n",
|
| 617 |
+
"\n",
|
| 618 |
+
"net = models.segmentation.fcn_resnet50(pretrained=False, num_classes=2, pretrained_backbone=False)\n",
|
| 619 |
+
"net.backbone.conv1 = nn.Conv2d(2, 64, kernel_size=7, stride=2, padding=3,\n",
|
| 620 |
+
" bias=False)\n",
|
| 621 |
+
"criterion = nn.CrossEntropyLoss(weight=torch.tensor([1,8]).float().cuda(), ignore_index=255) # \n",
|
| 622 |
+
"#criterion = nn.CrossEntropyLoss(ignore_index=255)\n",
|
| 623 |
+
"optimizer = torch.optim.AdamW(net.parameters(),lr=LR)\n",
|
| 624 |
+
"scheduler = torch.optim.lr_scheduler.CosineAnnealingWarmRestarts(optimizer, len(train_loader) * 10, T_mult=2, eta_min=0, last_epoch=-1)\n",
|
| 625 |
+
"def convertBNtoGN(module, num_groups=16):\n",
|
| 626 |
+
" if isinstance(module, torch.nn.modules.batchnorm.BatchNorm2d):\n",
|
| 627 |
+
" return nn.GroupNorm(num_groups, module.num_features,\n",
|
| 628 |
+
" eps=module.eps, affine=module.affine)\n",
|
| 629 |
+
" if module.affine:\n",
|
| 630 |
+
" mod.weight.data = module.weight.data.clone().detach()\n",
|
| 631 |
+
" mod.bias.data = module.bias.data.clone().detach()\n",
|
| 632 |
+
"\n",
|
| 633 |
+
" for name, child in module.named_children():\n",
|
| 634 |
+
" module.add_module(name, convertBNtoGN(child, num_groups=num_groups))\n",
|
| 635 |
+
"\n",
|
| 636 |
+
" return module\n",
|
| 637 |
+
"\n",
|
| 638 |
+
"net = convertBNtoGN(net)\n",
|
| 639 |
+
"net"
|
| 640 |
+
]
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"cell_type": "markdown",
|
| 644 |
+
"metadata": {
|
| 645 |
+
"colab_type": "text",
|
| 646 |
+
"id": "2jwEvqA885dz"
|
| 647 |
+
},
|
| 648 |
+
"source": [
|
| 649 |
+
"Utility Functions"
|
| 650 |
+
]
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"cell_type": "code",
|
| 654 |
+
"execution_count": 14,
|
| 655 |
+
"metadata": {
|
| 656 |
+
"colab": {},
|
| 657 |
+
"colab_type": "code",
|
| 658 |
+
"id": "WMd65d3784oH"
|
| 659 |
+
},
|
| 660 |
+
"outputs": [],
|
| 661 |
+
"source": [
|
| 662 |
+
"def computeIOU(output, target):\n",
|
| 663 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 664 |
+
" target = target.flatten()\n",
|
| 665 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 666 |
+
" output = output.masked_select(no_ignore)\n",
|
| 667 |
+
" target = target.masked_select(no_ignore)\n",
|
| 668 |
+
" intersection = torch.sum(output * target)\n",
|
| 669 |
+
" union = torch.sum(target) + torch.sum(output) - intersection\n",
|
| 670 |
+
" iou = (intersection + .0000001) / (union + .0000001)\n",
|
| 671 |
+
" if iou != iou:\n",
|
| 672 |
+
" print(\"failed, replacing with 0\")\n",
|
| 673 |
+
" iou = torch.tensor(0).float()\n",
|
| 674 |
+
" return iou\n",
|
| 675 |
+
" \n",
|
| 676 |
+
"\n",
|
| 677 |
+
"def computeAccuracy(output, target):\n",
|
| 678 |
+
" output = torch.argmax(output, dim=1).flatten() \n",
|
| 679 |
+
" target = target.flatten()\n",
|
| 680 |
+
" no_ignore = target.ne(255).cuda()\n",
|
| 681 |
+
" output = output.masked_select(no_ignore)\n",
|
| 682 |
+
" target = target.masked_select(no_ignore)\n",
|
| 683 |
+
" correct = torch.sum(output.eq(target))\n",
|
| 684 |
+
" return correct.float() / len(target)\n"
|
| 685 |
+
]
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"cell_type": "code",
|
| 689 |
+
"execution_count": 15,
|
| 690 |
+
"metadata": {
|
| 691 |
+
"colab": {
|
| 692 |
+
"base_uri": "https://localhost:8080/",
|
| 693 |
+
"height": 51
|
| 694 |
+
},
|
| 695 |
+
"colab_type": "code",
|
| 696 |
+
"id": "jiP-eu3NLxIA",
|
| 697 |
+
"outputId": "73ba33de-d99b-4957-f0e7-ee4f6beb172a"
|
| 698 |
+
},
|
| 699 |
+
"outputs": [
|
| 700 |
+
{
|
| 701 |
+
"name": "stdout",
|
| 702 |
+
"output_type": "stream",
|
| 703 |
+
"text": [
|
| 704 |
+
"tensor(7.6294e-13, device='cuda:0')\n",
|
| 705 |
+
"tensor(1., device='cuda:0')\n"
|
| 706 |
+
]
|
| 707 |
+
}
|
| 708 |
+
],
|
| 709 |
+
"source": [
|
| 710 |
+
"test_1 = torch.ones(2, 2, 256, 256)\n",
|
| 711 |
+
"test_2 = torch.zeros(2, 256, 256)\n",
|
| 712 |
+
"test_3 = torch.ones(2, 256, 256)\n",
|
| 713 |
+
"\n",
|
| 714 |
+
"\n",
|
| 715 |
+
"print(computeIOU(test_1.cuda(), test_2.cuda()))\n",
|
| 716 |
+
"print(computeIOU(test_1.cuda(), test_3.cuda()))"
|
| 717 |
+
]
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"cell_type": "markdown",
|
| 721 |
+
"metadata": {
|
| 722 |
+
"colab_type": "text",
|
| 723 |
+
"id": "XBHHATa-2h3A"
|
| 724 |
+
},
|
| 725 |
+
"source": [
|
| 726 |
+
"Train/Validation functions"
|
| 727 |
+
]
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"cell_type": "code",
|
| 731 |
+
"execution_count": 16,
|
| 732 |
+
"metadata": {
|
| 733 |
+
"colab": {},
|
| 734 |
+
"colab_type": "code",
|
| 735 |
+
"id": "pg1PiQ192g3g"
|
| 736 |
+
},
|
| 737 |
+
"outputs": [],
|
| 738 |
+
"source": [
|
| 739 |
+
"\n",
|
| 740 |
+
"training_losses = []\n",
|
| 741 |
+
"training_accuracies = []\n",
|
| 742 |
+
"training_ious = []\n",
|
| 743 |
+
"valid_losses = []\n",
|
| 744 |
+
"valid_accuracies = []\n",
|
| 745 |
+
"valid_ious = []\n",
|
| 746 |
+
"\n",
|
| 747 |
+
"def train(inputs, labels, net, optimizer, scheduler):\n",
|
| 748 |
+
" global running_loss\n",
|
| 749 |
+
" global running_iou\n",
|
| 750 |
+
" global running_count\n",
|
| 751 |
+
" global running_accuracy\n",
|
| 752 |
+
" # zero the parameter gradients\n",
|
| 753 |
+
" optimizer.zero_grad()\n",
|
| 754 |
+
" net = net.cuda()\n",
|
| 755 |
+
" # forward + backward + optimize\n",
|
| 756 |
+
" outputs = net(inputs.cuda())\n",
|
| 757 |
+
" loss = criterion(outputs[\"out\"], labels.long().cuda())\n",
|
| 758 |
+
" loss.backward()\n",
|
| 759 |
+
" optimizer.step()\n",
|
| 760 |
+
" scheduler.step()\n",
|
| 761 |
+
"\n",
|
| 762 |
+
" running_loss += loss\n",
|
| 763 |
+
" running_iou += computeIOU(outputs[\"out\"], labels.cuda())\n",
|
| 764 |
+
" running_accuracy += computeAccuracy(outputs[\"out\"], labels.cuda())\n",
|
| 765 |
+
" running_count += 1\n",
|
| 766 |
+
"\n",
|
| 767 |
+
"def validation_loop(validation_data_loader, net):\n",
|
| 768 |
+
" global running_loss\n",
|
| 769 |
+
" global running_iou\n",
|
| 770 |
+
" global running_count\n",
|
| 771 |
+
" global running_accuracy\n",
|
| 772 |
+
" global max_valid_iou\n",
|
| 773 |
+
"\n",
|
| 774 |
+
" global training_losses\n",
|
| 775 |
+
" global training_accuracies\n",
|
| 776 |
+
" global training_ious\n",
|
| 777 |
+
" global valid_losses\n",
|
| 778 |
+
" global valid_accuracies\n",
|
| 779 |
+
" global valid_ious\n",
|
| 780 |
+
"\n",
|
| 781 |
+
" net = net.eval()\n",
|
| 782 |
+
" net = net.cuda()\n",
|
| 783 |
+
" count = 0\n",
|
| 784 |
+
" iou = 0\n",
|
| 785 |
+
" loss = 0\n",
|
| 786 |
+
" accuracy = 0\n",
|
| 787 |
+
" with torch.no_grad():\n",
|
| 788 |
+
" for (images, labels) in validation_data_loader:\n",
|
| 789 |
+
" net = net.cuda()\n",
|
| 790 |
+
" outputs = net(images.cuda())\n",
|
| 791 |
+
" valid_loss = criterion(outputs[\"out\"], labels.long().cuda())\n",
|
| 792 |
+
" valid_iou = computeIOU(outputs[\"out\"], labels.cuda())\n",
|
| 793 |
+
" valid_accuracy = computeAccuracy(outputs[\"out\"], labels.cuda())\n",
|
| 794 |
+
" iou += valid_iou\n",
|
| 795 |
+
" loss += valid_loss\n",
|
| 796 |
+
" accuracy += valid_accuracy\n",
|
| 797 |
+
" count += 1\n",
|
| 798 |
+
"\n",
|
| 799 |
+
" iou = iou / count\n",
|
| 800 |
+
" accuracy = accuracy / count\n",
|
| 801 |
+
"\n",
|
| 802 |
+
" if iou > max_valid_iou:\n",
|
| 803 |
+
" max_valid_iou = iou\n",
|
| 804 |
+
" save_path = os.path.join(\"checkpoints\", \"{}_{}_{}.cp\".format(RUNNAME, i, iou.item()))\n",
|
| 805 |
+
" torch.save(net.state_dict(), save_path)\n",
|
| 806 |
+
" print(\"model saved at\", save_path)\n",
|
| 807 |
+
"\n",
|
| 808 |
+
" loss = loss / count\n",
|
| 809 |
+
" print(\"Training Loss:\", running_loss / running_count)\n",
|
| 810 |
+
" print(\"Training IOU:\", running_iou / running_count)\n",
|
| 811 |
+
" print(\"Training Accuracy:\", running_accuracy / running_count)\n",
|
| 812 |
+
" print(\"Validation Loss:\", loss)\n",
|
| 813 |
+
" print(\"Validation IOU:\", iou)\n",
|
| 814 |
+
" print(\"Validation Accuracy:\", accuracy)\n",
|
| 815 |
+
"\n",
|
| 816 |
+
"\n",
|
| 817 |
+
" training_losses.append(running_loss / running_count)\n",
|
| 818 |
+
" training_accuracies.append(running_accuracy / running_count)\n",
|
| 819 |
+
" training_ious.append(running_iou / running_count)\n",
|
| 820 |
+
" valid_losses.append(loss)\n",
|
| 821 |
+
" valid_accuracies.append(accuracy)\n",
|
| 822 |
+
" valid_ious.append(iou)\n"
|
| 823 |
+
]
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"cell_type": "code",
|
| 827 |
+
"execution_count": 17,
|
| 828 |
+
"metadata": {},
|
| 829 |
+
"outputs": [],
|
| 830 |
+
"source": [
|
| 831 |
+
"def test_loop(test_data_loader, net):\n",
|
| 832 |
+
" net = net.eval()\n",
|
| 833 |
+
" net = net.cuda()\n",
|
| 834 |
+
" count = 0\n",
|
| 835 |
+
" iou = 0\n",
|
| 836 |
+
" loss = 0\n",
|
| 837 |
+
" accuracy = 0\n",
|
| 838 |
+
" with torch.no_grad():\n",
|
| 839 |
+
" for (images, labels) in tqdm(test_data_loader):\n",
|
| 840 |
+
" net = net.cuda()\n",
|
| 841 |
+
" outputs = net(images.cuda())\n",
|
| 842 |
+
" valid_loss = criterion(outputs[\"out\"], labels.long().cuda())\n",
|
| 843 |
+
" valid_iou = computeIOU(outputs[\"out\"], labels.cuda())\n",
|
| 844 |
+
" iou += valid_iou\n",
|
| 845 |
+
" accuracy += computeAccuracy(outputs[\"out\"], labels.cuda())\n",
|
| 846 |
+
" count += 1\n",
|
| 847 |
+
"\n",
|
| 848 |
+
" iou = iou / count\n",
|
| 849 |
+
" print(\"Test IOU:\", iou)\n",
|
| 850 |
+
" print(\"Test Accuracy:\", accuracy / count)\n"
|
| 851 |
+
]
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"cell_type": "markdown",
|
| 855 |
+
"metadata": {
|
| 856 |
+
"colab_type": "text",
|
| 857 |
+
"id": "4nU8Rxpa2l3p"
|
| 858 |
+
},
|
| 859 |
+
"source": [
|
| 860 |
+
"Train Loop"
|
| 861 |
+
]
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"cell_type": "code",
|
| 865 |
+
"execution_count": 18,
|
| 866 |
+
"metadata": {
|
| 867 |
+
"colab": {},
|
| 868 |
+
"colab_type": "code",
|
| 869 |
+
"id": "Y0h841wY2npi"
|
| 870 |
+
},
|
| 871 |
+
"outputs": [],
|
| 872 |
+
"source": [
|
| 873 |
+
"from tqdm.notebook import tqdm\n",
|
| 874 |
+
"from IPython.display import clear_output\n",
|
| 875 |
+
"\n",
|
| 876 |
+
"running_loss = 0\n",
|
| 877 |
+
"running_iou = 0\n",
|
| 878 |
+
"running_count = 0\n",
|
| 879 |
+
"running_accuracy = 0\n",
|
| 880 |
+
"\n",
|
| 881 |
+
"training_losses = []\n",
|
| 882 |
+
"training_accuracies = []\n",
|
| 883 |
+
"training_ious = []\n",
|
| 884 |
+
"valid_losses = []\n",
|
| 885 |
+
"valid_accuracies = []\n",
|
| 886 |
+
"valid_ious = []\n",
|
| 887 |
+
"\n",
|
| 888 |
+
"\n",
|
| 889 |
+
"def train_epoch(net, optimizer, scheduler, train_iter):\n",
|
| 890 |
+
" for (inputs, labels) in tqdm(train_iter):\n",
|
| 891 |
+
" train(inputs.cuda(), labels.cuda(), net.cuda(), optimizer, scheduler)\n",
|
| 892 |
+
" \n",
|
| 893 |
+
"\n",
|
| 894 |
+
"def train_validation_loop(net, optimizer, scheduler, train_loader,\n",
|
| 895 |
+
" valid_loader, num_epochs, cur_epoch):\n",
|
| 896 |
+
" global running_loss\n",
|
| 897 |
+
" global running_iou\n",
|
| 898 |
+
" global running_count\n",
|
| 899 |
+
" global running_accuracy\n",
|
| 900 |
+
" net = net.train()\n",
|
| 901 |
+
" running_loss = 0\n",
|
| 902 |
+
" running_iou = 0\n",
|
| 903 |
+
" running_count = 0\n",
|
| 904 |
+
" running_accuracy = 0\n",
|
| 905 |
+
" for i in tqdm(range(num_epochs)):\n",
|
| 906 |
+
" train_iter = iter(train_loader)\n",
|
| 907 |
+
" train_epoch(net, optimizer, scheduler, train_iter)\n",
|
| 908 |
+
" clear_output()\n",
|
| 909 |
+
" print(\"Current Epoch:\", cur_epoch)\n",
|
| 910 |
+
" validation_loop(iter(valid_loader), net)"
|
| 911 |
+
]
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"cell_type": "markdown",
|
| 915 |
+
"metadata": {
|
| 916 |
+
"colab_type": "text",
|
| 917 |
+
"id": "xPSjS-pf2vHD"
|
| 918 |
+
},
|
| 919 |
+
"source": [
|
| 920 |
+
"test_loader[0] == usa_loader[0]"
|
| 921 |
+
]
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"cell_type": "code",
|
| 925 |
+
"execution_count": null,
|
| 926 |
+
"metadata": {
|
| 927 |
+
"colab": {
|
| 928 |
+
"base_uri": "https://localhost:8080/",
|
| 929 |
+
"height": 482,
|
| 930 |
+
"referenced_widgets": [
|
| 931 |
+
"ed787105fcaa4c3c812a76c4c603d5f5",
|
| 932 |
+
"25fb338b9ebb4053ac0218c253389a46",
|
| 933 |
+
"0a5bf508b6b44bee8ce55182e0af6fec",
|
| 934 |
+
"51b4002a832f4754b087443f75d3c97f",
|
| 935 |
+
"8a35991cccc84d0494384ac2c018727c",
|
| 936 |
+
"f93cc6f609e94593a6b7133ae868285e",
|
| 937 |
+
"b9ec39f9a47248928f102018e2e0f116",
|
| 938 |
+
"ccd281b6c8104e4fa01533165fbb2ea0",
|
| 939 |
+
"8c714337e16c446281218656cb330d37",
|
| 940 |
+
"82300de7ef9c4460886669b056253500",
|
| 941 |
+
"44ca7d253a0c46b3b704fe67a70c52eb",
|
| 942 |
+
"cca70317fa824574aa562d981391c46f",
|
| 943 |
+
"ca76bbb74d4d45bc8a7ac4e1b5466e1b",
|
| 944 |
+
"84eab0bbbc3d46e89df8e66cc3134be4",
|
| 945 |
+
"e5e4e39f80ff4ff4b1e2e723d71e64fa",
|
| 946 |
+
"c071047b9b5b420dbb5233397841a7b5"
|
| 947 |
+
]
|
| 948 |
+
},
|
| 949 |
+
"colab_type": "code",
|
| 950 |
+
"id": "ugcVXfKj1kg8",
|
| 951 |
+
"outputId": "0cc7ebd8-a627-485b-c951-04398eff0fc2"
|
| 952 |
+
},
|
| 953 |
+
"outputs": [
|
| 954 |
+
{
|
| 955 |
+
"name": "stdout",
|
| 956 |
+
"output_type": "stream",
|
| 957 |
+
"text": [
|
| 958 |
+
"Current Epoch: 0\n",
|
| 959 |
+
"model saved at checkpoints/5e4_handlabeled_0_0_0.1470426768064499.cp\n",
|
| 960 |
+
"Training Loss: tensor(0.7198, device='cuda:0', grad_fn=<DivBackward0>)\n",
|
| 961 |
+
"Training IOU: tensor(0.1032, device='cuda:0')\n",
|
| 962 |
+
"Training Accuracy: tensor(0.4429, device='cuda:0')\n",
|
| 963 |
+
"Validation Loss: tensor(0.6704, device='cuda:0')\n",
|
| 964 |
+
"Validation IOU: tensor(0.1470, device='cuda:0')\n",
|
| 965 |
+
"Validation Accuracy: tensor(0.4021, device='cuda:0')\n"
|
| 966 |
+
]
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"data": {
|
| 970 |
+
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD4CAYAAAD8Zh1EAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nO3de3RU9d3v8ffXBIxB0HBRUaCJ51ARkkkISaBSboohQAkg1kKxFjyUVou1enAF61OkeKxIqfKoVB5kQVtruTxYkEeCWOoVSzGJAuWichElpioXuQua5Hf+yDAdwiQZkkkm2Xxea2Vl9t6/+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PEs4M0aY18CEVJwYT/K9bV2qTSNM4KVqn8VJxruB54IJoj6WGccZScWw0iX+fLOtWqc1POfNk2VL/626ceVJ0N03jpGhdxnypv/2oaI+jocZcqc00mthJ0agH0Bh/qDh++Ddgh//36cSVAcwPanc7FSfHdgLjQ/TTVBJ6rcdLxezHUfG82Y3+nwnRHlM1Yx0CfEDFVRAP+NdNB3L9r+OouLphJ/A2cHXQex/wv+99GumVPJEcM/AfwPGg73UjcFm0x1Pf33NQH00uoevWfxERj9BVLiIiHqGELiLiEUroIiIeoYQuIuIRSugiIh6hhC4i4hFK6CIiHvH/ARPhGYIRSb9UAAAAAElFTkSuQmCC\n",
|
| 971 |
+
"text/plain": [
|
| 972 |
+
"<Figure size 432x288 with 1 Axes>"
|
| 973 |
+
]
|
| 974 |
+
},
|
| 975 |
+
"metadata": {
|
| 976 |
+
"needs_background": "light"
|
| 977 |
+
},
|
| 978 |
+
"output_type": "display_data"
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"data": {
|
| 982 |
+
"text/plain": [
|
| 983 |
+
"None"
|
| 984 |
+
]
|
| 985 |
+
},
|
| 986 |
+
"metadata": {},
|
| 987 |
+
"output_type": "display_data"
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"name": "stdout",
|
| 991 |
+
"output_type": "stream",
|
| 992 |
+
"text": [
|
| 993 |
+
"max valid iou: tensor(0.1470, device='cuda:0')\n"
|
| 994 |
+
]
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"data": {
|
| 998 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 999 |
+
"model_id": "74191fb29cb844a38e740de2f8c53a01",
|
| 1000 |
+
"version_major": 2,
|
| 1001 |
+
"version_minor": 0
|
| 1002 |
+
},
|
| 1003 |
+
"text/plain": [
|
| 1004 |
+
"HBox(children=(FloatProgress(value=0.0, max=10.0), HTML(value='')))"
|
| 1005 |
+
]
|
| 1006 |
+
},
|
| 1007 |
+
"metadata": {},
|
| 1008 |
+
"output_type": "display_data"
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"data": {
|
| 1012 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1013 |
+
"model_id": "d360cde868df4443bf6dbd7b77b9cc70",
|
| 1014 |
+
"version_major": 2,
|
| 1015 |
+
"version_minor": 0
|
| 1016 |
+
},
|
| 1017 |
+
"text/plain": [
|
| 1018 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1019 |
+
]
|
| 1020 |
+
},
|
| 1021 |
+
"metadata": {},
|
| 1022 |
+
"output_type": "display_data"
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"name": "stdout",
|
| 1026 |
+
"output_type": "stream",
|
| 1027 |
+
"text": [
|
| 1028 |
+
"\n"
|
| 1029 |
+
]
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"data": {
|
| 1033 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1034 |
+
"model_id": "dddc30b971604eb5a97e2f9d092cbe26",
|
| 1035 |
+
"version_major": 2,
|
| 1036 |
+
"version_minor": 0
|
| 1037 |
+
},
|
| 1038 |
+
"text/plain": [
|
| 1039 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1040 |
+
]
|
| 1041 |
+
},
|
| 1042 |
+
"metadata": {},
|
| 1043 |
+
"output_type": "display_data"
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"name": "stdout",
|
| 1047 |
+
"output_type": "stream",
|
| 1048 |
+
"text": [
|
| 1049 |
+
"\n"
|
| 1050 |
+
]
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"data": {
|
| 1054 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1055 |
+
"model_id": "93af80f14c6a48fd94b0df773cd01ff2",
|
| 1056 |
+
"version_major": 2,
|
| 1057 |
+
"version_minor": 0
|
| 1058 |
+
},
|
| 1059 |
+
"text/plain": [
|
| 1060 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1061 |
+
]
|
| 1062 |
+
},
|
| 1063 |
+
"metadata": {},
|
| 1064 |
+
"output_type": "display_data"
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"name": "stdout",
|
| 1068 |
+
"output_type": "stream",
|
| 1069 |
+
"text": [
|
| 1070 |
+
"\n"
|
| 1071 |
+
]
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"data": {
|
| 1075 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1076 |
+
"model_id": "05cfe88e167a4b17ab067a030a7aaacd",
|
| 1077 |
+
"version_major": 2,
|
| 1078 |
+
"version_minor": 0
|
| 1079 |
+
},
|
| 1080 |
+
"text/plain": [
|
| 1081 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1082 |
+
]
|
| 1083 |
+
},
|
| 1084 |
+
"metadata": {},
|
| 1085 |
+
"output_type": "display_data"
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"name": "stdout",
|
| 1089 |
+
"output_type": "stream",
|
| 1090 |
+
"text": [
|
| 1091 |
+
"\n"
|
| 1092 |
+
]
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"data": {
|
| 1096 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1097 |
+
"model_id": "310d52f06bc640518ab06bf161b2686f",
|
| 1098 |
+
"version_major": 2,
|
| 1099 |
+
"version_minor": 0
|
| 1100 |
+
},
|
| 1101 |
+
"text/plain": [
|
| 1102 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1103 |
+
]
|
| 1104 |
+
},
|
| 1105 |
+
"metadata": {},
|
| 1106 |
+
"output_type": "display_data"
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"name": "stdout",
|
| 1110 |
+
"output_type": "stream",
|
| 1111 |
+
"text": [
|
| 1112 |
+
"\n"
|
| 1113 |
+
]
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"data": {
|
| 1117 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1118 |
+
"model_id": "2e55b51bdc80459fa59cdf1ba4dc15d6",
|
| 1119 |
+
"version_major": 2,
|
| 1120 |
+
"version_minor": 0
|
| 1121 |
+
},
|
| 1122 |
+
"text/plain": [
|
| 1123 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1124 |
+
]
|
| 1125 |
+
},
|
| 1126 |
+
"metadata": {},
|
| 1127 |
+
"output_type": "display_data"
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"name": "stdout",
|
| 1131 |
+
"output_type": "stream",
|
| 1132 |
+
"text": [
|
| 1133 |
+
"\n"
|
| 1134 |
+
]
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"data": {
|
| 1138 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1139 |
+
"model_id": "7a51d2dd5c9d453e8be0233d1337d2af",
|
| 1140 |
+
"version_major": 2,
|
| 1141 |
+
"version_minor": 0
|
| 1142 |
+
},
|
| 1143 |
+
"text/plain": [
|
| 1144 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1145 |
+
]
|
| 1146 |
+
},
|
| 1147 |
+
"metadata": {},
|
| 1148 |
+
"output_type": "display_data"
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"name": "stdout",
|
| 1152 |
+
"output_type": "stream",
|
| 1153 |
+
"text": [
|
| 1154 |
+
"\n"
|
| 1155 |
+
]
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"data": {
|
| 1159 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1160 |
+
"model_id": "425eefb72ef047dfbccfc3576a37e79a",
|
| 1161 |
+
"version_major": 2,
|
| 1162 |
+
"version_minor": 0
|
| 1163 |
+
},
|
| 1164 |
+
"text/plain": [
|
| 1165 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1166 |
+
]
|
| 1167 |
+
},
|
| 1168 |
+
"metadata": {},
|
| 1169 |
+
"output_type": "display_data"
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"name": "stdout",
|
| 1173 |
+
"output_type": "stream",
|
| 1174 |
+
"text": [
|
| 1175 |
+
"\n"
|
| 1176 |
+
]
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"data": {
|
| 1180 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 1181 |
+
"model_id": "a29c2a5e936b4e0fa3890eb550026f08",
|
| 1182 |
+
"version_major": 2,
|
| 1183 |
+
"version_minor": 0
|
| 1184 |
+
},
|
| 1185 |
+
"text/plain": [
|
| 1186 |
+
"HBox(children=(FloatProgress(value=0.0, max=16.0), HTML(value='')))"
|
| 1187 |
+
]
|
| 1188 |
+
},
|
| 1189 |
+
"metadata": {},
|
| 1190 |
+
"output_type": "display_data"
|
| 1191 |
+
}
|
| 1192 |
+
],
|
| 1193 |
+
"source": [
|
| 1194 |
+
"import os\n",
|
| 1195 |
+
"from IPython.display import display\n",
|
| 1196 |
+
"import matplotlib.pyplot as plt\n",
|
| 1197 |
+
"\n",
|
| 1198 |
+
"max_valid_iou = 0\n",
|
| 1199 |
+
"start = 0\n",
|
| 1200 |
+
"\n",
|
| 1201 |
+
"epochs = []\n",
|
| 1202 |
+
"training_losses = []\n",
|
| 1203 |
+
"training_accuracies = []\n",
|
| 1204 |
+
"training_ious = []\n",
|
| 1205 |
+
"valid_losses = []\n",
|
| 1206 |
+
"valid_accuracies = []\n",
|
| 1207 |
+
"valid_ious = []\n",
|
| 1208 |
+
"\n",
|
| 1209 |
+
"\n",
|
| 1210 |
+
"\n",
|
| 1211 |
+
"for i in range(start, 1000):\n",
|
| 1212 |
+
" train_validation_loop(net, optimizer, scheduler, train_loader, valid_loader, 10, i)\n",
|
| 1213 |
+
" epochs.append(i)\n",
|
| 1214 |
+
" x = epochs\n",
|
| 1215 |
+
" plt.plot(x, training_losses, label='training losses')\n",
|
| 1216 |
+
" plt.plot(x, training_accuracies, 'tab:orange', label='training accuracy')\n",
|
| 1217 |
+
" plt.plot(x, training_ious, 'tab:purple', label='training iou')\n",
|
| 1218 |
+
" plt.plot(x, valid_losses, label='valid losses')\n",
|
| 1219 |
+
" plt.plot(x, valid_accuracies, 'tab:red',label='valid accuracy')\n",
|
| 1220 |
+
" plt.plot(x, valid_ious, 'tab:green',label='valid iou')\n",
|
| 1221 |
+
" plt.legend(loc=\"upper left\")\n",
|
| 1222 |
+
"\n",
|
| 1223 |
+
" display(plt.show())\n",
|
| 1224 |
+
"\n",
|
| 1225 |
+
" print(\"max valid iou:\", max_valid_iou)\n",
|
| 1226 |
+
" #test_loop(test_loader, net)\n",
|
| 1227 |
+
" #test_loop(bolivia_loader, net)\n",
|
| 1228 |
+
"\n"
|
| 1229 |
+
]
|
| 1230 |
+
}
|
| 1231 |
+
],
|
| 1232 |
+
"metadata": {
|
| 1233 |
+
"accelerator": "GPU",
|
| 1234 |
+
"colab": {
|
| 1235 |
+
"authorship_tag": "ABX9TyMf48pVkyLxuYqUrzgjC1Nw",
|
| 1236 |
+
"collapsed_sections": [],
|
| 1237 |
+
"include_colab_link": true,
|
| 1238 |
+
"machine_shape": "hm",
|
| 1239 |
+
"name": "Main Training Stuff.ipynb",
|
| 1240 |
+
"provenance": []
|
| 1241 |
+
},
|
| 1242 |
+
"kernelspec": {
|
| 1243 |
+
"display_name": "Python 3",
|
| 1244 |
+
"language": "python",
|
| 1245 |
+
"name": "python3"
|
| 1246 |
+
},
|
| 1247 |
+
"language_info": {
|
| 1248 |
+
"codemirror_mode": {
|
| 1249 |
+
"name": "ipython",
|
| 1250 |
+
"version": 3
|
| 1251 |
+
},
|
| 1252 |
+
"file_extension": ".py",
|
| 1253 |
+
"mimetype": "text/x-python",
|
| 1254 |
+
"name": "python",
|
| 1255 |
+
"nbconvert_exporter": "python",
|
| 1256 |
+
"pygments_lexer": "ipython3",
|
| 1257 |
+
"version": "3.7.4"
|
| 1258 |
+
},
|
| 1259 |
+
"widgets": {
|
| 1260 |
+
"application/vnd.jupyter.widget-state+json": {
|
| 1261 |
+
"0a5bf508b6b44bee8ce55182e0af6fec": {
|
| 1262 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1263 |
+
"model_name": "IntProgressModel",
|
| 1264 |
+
"state": {
|
| 1265 |
+
"_dom_classes": [],
|
| 1266 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1267 |
+
"_model_module_version": "1.5.0",
|
| 1268 |
+
"_model_name": "IntProgressModel",
|
| 1269 |
+
"_view_count": null,
|
| 1270 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1271 |
+
"_view_module_version": "1.5.0",
|
| 1272 |
+
"_view_name": "ProgressView",
|
| 1273 |
+
"bar_style": "",
|
| 1274 |
+
"description": "",
|
| 1275 |
+
"description_tooltip": null,
|
| 1276 |
+
"layout": "IPY_MODEL_f93cc6f609e94593a6b7133ae868285e",
|
| 1277 |
+
"max": 2,
|
| 1278 |
+
"min": 0,
|
| 1279 |
+
"orientation": "horizontal",
|
| 1280 |
+
"style": "IPY_MODEL_8a35991cccc84d0494384ac2c018727c",
|
| 1281 |
+
"value": 0
|
| 1282 |
+
}
|
| 1283 |
+
},
|
| 1284 |
+
"1c740a2079f04eb1b1c3586cf060087a": {
|
| 1285 |
+
"model_module": "@jupyter-widgets/base",
|
| 1286 |
+
"model_name": "LayoutModel",
|
| 1287 |
+
"state": {
|
| 1288 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1289 |
+
"_model_module_version": "1.2.0",
|
| 1290 |
+
"_model_name": "LayoutModel",
|
| 1291 |
+
"_view_count": null,
|
| 1292 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1293 |
+
"_view_module_version": "1.2.0",
|
| 1294 |
+
"_view_name": "LayoutView",
|
| 1295 |
+
"align_content": null,
|
| 1296 |
+
"align_items": null,
|
| 1297 |
+
"align_self": null,
|
| 1298 |
+
"border": null,
|
| 1299 |
+
"bottom": null,
|
| 1300 |
+
"display": null,
|
| 1301 |
+
"flex": null,
|
| 1302 |
+
"flex_flow": null,
|
| 1303 |
+
"grid_area": null,
|
| 1304 |
+
"grid_auto_columns": null,
|
| 1305 |
+
"grid_auto_flow": null,
|
| 1306 |
+
"grid_auto_rows": null,
|
| 1307 |
+
"grid_column": null,
|
| 1308 |
+
"grid_gap": null,
|
| 1309 |
+
"grid_row": null,
|
| 1310 |
+
"grid_template_areas": null,
|
| 1311 |
+
"grid_template_columns": null,
|
| 1312 |
+
"grid_template_rows": null,
|
| 1313 |
+
"height": null,
|
| 1314 |
+
"justify_content": null,
|
| 1315 |
+
"justify_items": null,
|
| 1316 |
+
"left": null,
|
| 1317 |
+
"margin": null,
|
| 1318 |
+
"max_height": null,
|
| 1319 |
+
"max_width": null,
|
| 1320 |
+
"min_height": null,
|
| 1321 |
+
"min_width": null,
|
| 1322 |
+
"object_fit": null,
|
| 1323 |
+
"object_position": null,
|
| 1324 |
+
"order": null,
|
| 1325 |
+
"overflow": null,
|
| 1326 |
+
"overflow_x": null,
|
| 1327 |
+
"overflow_y": null,
|
| 1328 |
+
"padding": null,
|
| 1329 |
+
"right": null,
|
| 1330 |
+
"top": null,
|
| 1331 |
+
"visibility": null,
|
| 1332 |
+
"width": null
|
| 1333 |
+
}
|
| 1334 |
+
},
|
| 1335 |
+
"25fb338b9ebb4053ac0218c253389a46": {
|
| 1336 |
+
"model_module": "@jupyter-widgets/base",
|
| 1337 |
+
"model_name": "LayoutModel",
|
| 1338 |
+
"state": {
|
| 1339 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1340 |
+
"_model_module_version": "1.2.0",
|
| 1341 |
+
"_model_name": "LayoutModel",
|
| 1342 |
+
"_view_count": null,
|
| 1343 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1344 |
+
"_view_module_version": "1.2.0",
|
| 1345 |
+
"_view_name": "LayoutView",
|
| 1346 |
+
"align_content": null,
|
| 1347 |
+
"align_items": null,
|
| 1348 |
+
"align_self": null,
|
| 1349 |
+
"border": null,
|
| 1350 |
+
"bottom": null,
|
| 1351 |
+
"display": null,
|
| 1352 |
+
"flex": null,
|
| 1353 |
+
"flex_flow": null,
|
| 1354 |
+
"grid_area": null,
|
| 1355 |
+
"grid_auto_columns": null,
|
| 1356 |
+
"grid_auto_flow": null,
|
| 1357 |
+
"grid_auto_rows": null,
|
| 1358 |
+
"grid_column": null,
|
| 1359 |
+
"grid_gap": null,
|
| 1360 |
+
"grid_row": null,
|
| 1361 |
+
"grid_template_areas": null,
|
| 1362 |
+
"grid_template_columns": null,
|
| 1363 |
+
"grid_template_rows": null,
|
| 1364 |
+
"height": null,
|
| 1365 |
+
"justify_content": null,
|
| 1366 |
+
"justify_items": null,
|
| 1367 |
+
"left": null,
|
| 1368 |
+
"margin": null,
|
| 1369 |
+
"max_height": null,
|
| 1370 |
+
"max_width": null,
|
| 1371 |
+
"min_height": null,
|
| 1372 |
+
"min_width": null,
|
| 1373 |
+
"object_fit": null,
|
| 1374 |
+
"object_position": null,
|
| 1375 |
+
"order": null,
|
| 1376 |
+
"overflow": null,
|
| 1377 |
+
"overflow_x": null,
|
| 1378 |
+
"overflow_y": null,
|
| 1379 |
+
"padding": null,
|
| 1380 |
+
"right": null,
|
| 1381 |
+
"top": null,
|
| 1382 |
+
"visibility": null,
|
| 1383 |
+
"width": null
|
| 1384 |
+
}
|
| 1385 |
+
},
|
| 1386 |
+
"44ca7d253a0c46b3b704fe67a70c52eb": {
|
| 1387 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1388 |
+
"model_name": "IntProgressModel",
|
| 1389 |
+
"state": {
|
| 1390 |
+
"_dom_classes": [],
|
| 1391 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1392 |
+
"_model_module_version": "1.5.0",
|
| 1393 |
+
"_model_name": "IntProgressModel",
|
| 1394 |
+
"_view_count": null,
|
| 1395 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1396 |
+
"_view_module_version": "1.5.0",
|
| 1397 |
+
"_view_name": "ProgressView",
|
| 1398 |
+
"bar_style": "",
|
| 1399 |
+
"description": "",
|
| 1400 |
+
"description_tooltip": null,
|
| 1401 |
+
"layout": "IPY_MODEL_84eab0bbbc3d46e89df8e66cc3134be4",
|
| 1402 |
+
"max": 13,
|
| 1403 |
+
"min": 0,
|
| 1404 |
+
"orientation": "horizontal",
|
| 1405 |
+
"style": "IPY_MODEL_ca76bbb74d4d45bc8a7ac4e1b5466e1b",
|
| 1406 |
+
"value": 11
|
| 1407 |
+
}
|
| 1408 |
+
},
|
| 1409 |
+
"51b4002a832f4754b087443f75d3c97f": {
|
| 1410 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1411 |
+
"model_name": "HTMLModel",
|
| 1412 |
+
"state": {
|
| 1413 |
+
"_dom_classes": [],
|
| 1414 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1415 |
+
"_model_module_version": "1.5.0",
|
| 1416 |
+
"_model_name": "HTMLModel",
|
| 1417 |
+
"_view_count": null,
|
| 1418 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1419 |
+
"_view_module_version": "1.5.0",
|
| 1420 |
+
"_view_name": "HTMLView",
|
| 1421 |
+
"description": "",
|
| 1422 |
+
"description_tooltip": null,
|
| 1423 |
+
"layout": "IPY_MODEL_ccd281b6c8104e4fa01533165fbb2ea0",
|
| 1424 |
+
"placeholder": "",
|
| 1425 |
+
"style": "IPY_MODEL_b9ec39f9a47248928f102018e2e0f116",
|
| 1426 |
+
"value": " 0% 0/2 [00:00<?, ?it/s]"
|
| 1427 |
+
}
|
| 1428 |
+
},
|
| 1429 |
+
"52308f87ad3d46a885815de01d2a8402": {
|
| 1430 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1431 |
+
"model_name": "HBoxModel",
|
| 1432 |
+
"state": {
|
| 1433 |
+
"_dom_classes": [],
|
| 1434 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1435 |
+
"_model_module_version": "1.5.0",
|
| 1436 |
+
"_model_name": "HBoxModel",
|
| 1437 |
+
"_view_count": null,
|
| 1438 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1439 |
+
"_view_module_version": "1.5.0",
|
| 1440 |
+
"_view_name": "HBoxView",
|
| 1441 |
+
"box_style": "",
|
| 1442 |
+
"children": [
|
| 1443 |
+
"IPY_MODEL_fa7fbb20e21748568096c1aa226bf09d",
|
| 1444 |
+
"IPY_MODEL_65bfba0c282c4de2a8c7c738431f617f"
|
| 1445 |
+
],
|
| 1446 |
+
"layout": "IPY_MODEL_1c740a2079f04eb1b1c3586cf060087a"
|
| 1447 |
+
}
|
| 1448 |
+
},
|
| 1449 |
+
"65bfba0c282c4de2a8c7c738431f617f": {
|
| 1450 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1451 |
+
"model_name": "HTMLModel",
|
| 1452 |
+
"state": {
|
| 1453 |
+
"_dom_classes": [],
|
| 1454 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1455 |
+
"_model_module_version": "1.5.0",
|
| 1456 |
+
"_model_name": "HTMLModel",
|
| 1457 |
+
"_view_count": null,
|
| 1458 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1459 |
+
"_view_module_version": "1.5.0",
|
| 1460 |
+
"_view_name": "HTMLView",
|
| 1461 |
+
"description": "",
|
| 1462 |
+
"description_tooltip": null,
|
| 1463 |
+
"layout": "IPY_MODEL_a22b328f55be4871929c1bf872887814",
|
| 1464 |
+
"placeholder": "",
|
| 1465 |
+
"style": "IPY_MODEL_67a9b7f67a274e1ca75dc8ea9c72e3b1",
|
| 1466 |
+
"value": "100% 130/130 [00:09<00:00, 14.10it/s]"
|
| 1467 |
+
}
|
| 1468 |
+
},
|
| 1469 |
+
"67a9b7f67a274e1ca75dc8ea9c72e3b1": {
|
| 1470 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1471 |
+
"model_name": "DescriptionStyleModel",
|
| 1472 |
+
"state": {
|
| 1473 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1474 |
+
"_model_module_version": "1.5.0",
|
| 1475 |
+
"_model_name": "DescriptionStyleModel",
|
| 1476 |
+
"_view_count": null,
|
| 1477 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1478 |
+
"_view_module_version": "1.2.0",
|
| 1479 |
+
"_view_name": "StyleView",
|
| 1480 |
+
"description_width": ""
|
| 1481 |
+
}
|
| 1482 |
+
},
|
| 1483 |
+
"785c07b1622a42648b66c6ce1ddf593f": {
|
| 1484 |
+
"model_module": "@jupyter-widgets/base",
|
| 1485 |
+
"model_name": "LayoutModel",
|
| 1486 |
+
"state": {
|
| 1487 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1488 |
+
"_model_module_version": "1.2.0",
|
| 1489 |
+
"_model_name": "LayoutModel",
|
| 1490 |
+
"_view_count": null,
|
| 1491 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1492 |
+
"_view_module_version": "1.2.0",
|
| 1493 |
+
"_view_name": "LayoutView",
|
| 1494 |
+
"align_content": null,
|
| 1495 |
+
"align_items": null,
|
| 1496 |
+
"align_self": null,
|
| 1497 |
+
"border": null,
|
| 1498 |
+
"bottom": null,
|
| 1499 |
+
"display": null,
|
| 1500 |
+
"flex": null,
|
| 1501 |
+
"flex_flow": null,
|
| 1502 |
+
"grid_area": null,
|
| 1503 |
+
"grid_auto_columns": null,
|
| 1504 |
+
"grid_auto_flow": null,
|
| 1505 |
+
"grid_auto_rows": null,
|
| 1506 |
+
"grid_column": null,
|
| 1507 |
+
"grid_gap": null,
|
| 1508 |
+
"grid_row": null,
|
| 1509 |
+
"grid_template_areas": null,
|
| 1510 |
+
"grid_template_columns": null,
|
| 1511 |
+
"grid_template_rows": null,
|
| 1512 |
+
"height": null,
|
| 1513 |
+
"justify_content": null,
|
| 1514 |
+
"justify_items": null,
|
| 1515 |
+
"left": null,
|
| 1516 |
+
"margin": null,
|
| 1517 |
+
"max_height": null,
|
| 1518 |
+
"max_width": null,
|
| 1519 |
+
"min_height": null,
|
| 1520 |
+
"min_width": null,
|
| 1521 |
+
"object_fit": null,
|
| 1522 |
+
"object_position": null,
|
| 1523 |
+
"order": null,
|
| 1524 |
+
"overflow": null,
|
| 1525 |
+
"overflow_x": null,
|
| 1526 |
+
"overflow_y": null,
|
| 1527 |
+
"padding": null,
|
| 1528 |
+
"right": null,
|
| 1529 |
+
"top": null,
|
| 1530 |
+
"visibility": null,
|
| 1531 |
+
"width": null
|
| 1532 |
+
}
|
| 1533 |
+
},
|
| 1534 |
+
"82300de7ef9c4460886669b056253500": {
|
| 1535 |
+
"model_module": "@jupyter-widgets/base",
|
| 1536 |
+
"model_name": "LayoutModel",
|
| 1537 |
+
"state": {
|
| 1538 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1539 |
+
"_model_module_version": "1.2.0",
|
| 1540 |
+
"_model_name": "LayoutModel",
|
| 1541 |
+
"_view_count": null,
|
| 1542 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1543 |
+
"_view_module_version": "1.2.0",
|
| 1544 |
+
"_view_name": "LayoutView",
|
| 1545 |
+
"align_content": null,
|
| 1546 |
+
"align_items": null,
|
| 1547 |
+
"align_self": null,
|
| 1548 |
+
"border": null,
|
| 1549 |
+
"bottom": null,
|
| 1550 |
+
"display": null,
|
| 1551 |
+
"flex": null,
|
| 1552 |
+
"flex_flow": null,
|
| 1553 |
+
"grid_area": null,
|
| 1554 |
+
"grid_auto_columns": null,
|
| 1555 |
+
"grid_auto_flow": null,
|
| 1556 |
+
"grid_auto_rows": null,
|
| 1557 |
+
"grid_column": null,
|
| 1558 |
+
"grid_gap": null,
|
| 1559 |
+
"grid_row": null,
|
| 1560 |
+
"grid_template_areas": null,
|
| 1561 |
+
"grid_template_columns": null,
|
| 1562 |
+
"grid_template_rows": null,
|
| 1563 |
+
"height": null,
|
| 1564 |
+
"justify_content": null,
|
| 1565 |
+
"justify_items": null,
|
| 1566 |
+
"left": null,
|
| 1567 |
+
"margin": null,
|
| 1568 |
+
"max_height": null,
|
| 1569 |
+
"max_width": null,
|
| 1570 |
+
"min_height": null,
|
| 1571 |
+
"min_width": null,
|
| 1572 |
+
"object_fit": null,
|
| 1573 |
+
"object_position": null,
|
| 1574 |
+
"order": null,
|
| 1575 |
+
"overflow": null,
|
| 1576 |
+
"overflow_x": null,
|
| 1577 |
+
"overflow_y": null,
|
| 1578 |
+
"padding": null,
|
| 1579 |
+
"right": null,
|
| 1580 |
+
"top": null,
|
| 1581 |
+
"visibility": null,
|
| 1582 |
+
"width": null
|
| 1583 |
+
}
|
| 1584 |
+
},
|
| 1585 |
+
"84eab0bbbc3d46e89df8e66cc3134be4": {
|
| 1586 |
+
"model_module": "@jupyter-widgets/base",
|
| 1587 |
+
"model_name": "LayoutModel",
|
| 1588 |
+
"state": {
|
| 1589 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1590 |
+
"_model_module_version": "1.2.0",
|
| 1591 |
+
"_model_name": "LayoutModel",
|
| 1592 |
+
"_view_count": null,
|
| 1593 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1594 |
+
"_view_module_version": "1.2.0",
|
| 1595 |
+
"_view_name": "LayoutView",
|
| 1596 |
+
"align_content": null,
|
| 1597 |
+
"align_items": null,
|
| 1598 |
+
"align_self": null,
|
| 1599 |
+
"border": null,
|
| 1600 |
+
"bottom": null,
|
| 1601 |
+
"display": null,
|
| 1602 |
+
"flex": null,
|
| 1603 |
+
"flex_flow": null,
|
| 1604 |
+
"grid_area": null,
|
| 1605 |
+
"grid_auto_columns": null,
|
| 1606 |
+
"grid_auto_flow": null,
|
| 1607 |
+
"grid_auto_rows": null,
|
| 1608 |
+
"grid_column": null,
|
| 1609 |
+
"grid_gap": null,
|
| 1610 |
+
"grid_row": null,
|
| 1611 |
+
"grid_template_areas": null,
|
| 1612 |
+
"grid_template_columns": null,
|
| 1613 |
+
"grid_template_rows": null,
|
| 1614 |
+
"height": null,
|
| 1615 |
+
"justify_content": null,
|
| 1616 |
+
"justify_items": null,
|
| 1617 |
+
"left": null,
|
| 1618 |
+
"margin": null,
|
| 1619 |
+
"max_height": null,
|
| 1620 |
+
"max_width": null,
|
| 1621 |
+
"min_height": null,
|
| 1622 |
+
"min_width": null,
|
| 1623 |
+
"object_fit": null,
|
| 1624 |
+
"object_position": null,
|
| 1625 |
+
"order": null,
|
| 1626 |
+
"overflow": null,
|
| 1627 |
+
"overflow_x": null,
|
| 1628 |
+
"overflow_y": null,
|
| 1629 |
+
"padding": null,
|
| 1630 |
+
"right": null,
|
| 1631 |
+
"top": null,
|
| 1632 |
+
"visibility": null,
|
| 1633 |
+
"width": null
|
| 1634 |
+
}
|
| 1635 |
+
},
|
| 1636 |
+
"8a35991cccc84d0494384ac2c018727c": {
|
| 1637 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1638 |
+
"model_name": "ProgressStyleModel",
|
| 1639 |
+
"state": {
|
| 1640 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1641 |
+
"_model_module_version": "1.5.0",
|
| 1642 |
+
"_model_name": "ProgressStyleModel",
|
| 1643 |
+
"_view_count": null,
|
| 1644 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1645 |
+
"_view_module_version": "1.2.0",
|
| 1646 |
+
"_view_name": "StyleView",
|
| 1647 |
+
"bar_color": null,
|
| 1648 |
+
"description_width": ""
|
| 1649 |
+
}
|
| 1650 |
+
},
|
| 1651 |
+
"8c714337e16c446281218656cb330d37": {
|
| 1652 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1653 |
+
"model_name": "HBoxModel",
|
| 1654 |
+
"state": {
|
| 1655 |
+
"_dom_classes": [],
|
| 1656 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1657 |
+
"_model_module_version": "1.5.0",
|
| 1658 |
+
"_model_name": "HBoxModel",
|
| 1659 |
+
"_view_count": null,
|
| 1660 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1661 |
+
"_view_module_version": "1.5.0",
|
| 1662 |
+
"_view_name": "HBoxView",
|
| 1663 |
+
"box_style": "",
|
| 1664 |
+
"children": [
|
| 1665 |
+
"IPY_MODEL_44ca7d253a0c46b3b704fe67a70c52eb",
|
| 1666 |
+
"IPY_MODEL_cca70317fa824574aa562d981391c46f"
|
| 1667 |
+
],
|
| 1668 |
+
"layout": "IPY_MODEL_82300de7ef9c4460886669b056253500"
|
| 1669 |
+
}
|
| 1670 |
+
},
|
| 1671 |
+
"a22b328f55be4871929c1bf872887814": {
|
| 1672 |
+
"model_module": "@jupyter-widgets/base",
|
| 1673 |
+
"model_name": "LayoutModel",
|
| 1674 |
+
"state": {
|
| 1675 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1676 |
+
"_model_module_version": "1.2.0",
|
| 1677 |
+
"_model_name": "LayoutModel",
|
| 1678 |
+
"_view_count": null,
|
| 1679 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1680 |
+
"_view_module_version": "1.2.0",
|
| 1681 |
+
"_view_name": "LayoutView",
|
| 1682 |
+
"align_content": null,
|
| 1683 |
+
"align_items": null,
|
| 1684 |
+
"align_self": null,
|
| 1685 |
+
"border": null,
|
| 1686 |
+
"bottom": null,
|
| 1687 |
+
"display": null,
|
| 1688 |
+
"flex": null,
|
| 1689 |
+
"flex_flow": null,
|
| 1690 |
+
"grid_area": null,
|
| 1691 |
+
"grid_auto_columns": null,
|
| 1692 |
+
"grid_auto_flow": null,
|
| 1693 |
+
"grid_auto_rows": null,
|
| 1694 |
+
"grid_column": null,
|
| 1695 |
+
"grid_gap": null,
|
| 1696 |
+
"grid_row": null,
|
| 1697 |
+
"grid_template_areas": null,
|
| 1698 |
+
"grid_template_columns": null,
|
| 1699 |
+
"grid_template_rows": null,
|
| 1700 |
+
"height": null,
|
| 1701 |
+
"justify_content": null,
|
| 1702 |
+
"justify_items": null,
|
| 1703 |
+
"left": null,
|
| 1704 |
+
"margin": null,
|
| 1705 |
+
"max_height": null,
|
| 1706 |
+
"max_width": null,
|
| 1707 |
+
"min_height": null,
|
| 1708 |
+
"min_width": null,
|
| 1709 |
+
"object_fit": null,
|
| 1710 |
+
"object_position": null,
|
| 1711 |
+
"order": null,
|
| 1712 |
+
"overflow": null,
|
| 1713 |
+
"overflow_x": null,
|
| 1714 |
+
"overflow_y": null,
|
| 1715 |
+
"padding": null,
|
| 1716 |
+
"right": null,
|
| 1717 |
+
"top": null,
|
| 1718 |
+
"visibility": null,
|
| 1719 |
+
"width": null
|
| 1720 |
+
}
|
| 1721 |
+
},
|
| 1722 |
+
"b9ec39f9a47248928f102018e2e0f116": {
|
| 1723 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1724 |
+
"model_name": "DescriptionStyleModel",
|
| 1725 |
+
"state": {
|
| 1726 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1727 |
+
"_model_module_version": "1.5.0",
|
| 1728 |
+
"_model_name": "DescriptionStyleModel",
|
| 1729 |
+
"_view_count": null,
|
| 1730 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1731 |
+
"_view_module_version": "1.2.0",
|
| 1732 |
+
"_view_name": "StyleView",
|
| 1733 |
+
"description_width": ""
|
| 1734 |
+
}
|
| 1735 |
+
},
|
| 1736 |
+
"bb6710d665f64746a816abac2cb6ad1a": {
|
| 1737 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1738 |
+
"model_name": "ProgressStyleModel",
|
| 1739 |
+
"state": {
|
| 1740 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1741 |
+
"_model_module_version": "1.5.0",
|
| 1742 |
+
"_model_name": "ProgressStyleModel",
|
| 1743 |
+
"_view_count": null,
|
| 1744 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1745 |
+
"_view_module_version": "1.2.0",
|
| 1746 |
+
"_view_name": "StyleView",
|
| 1747 |
+
"bar_color": null,
|
| 1748 |
+
"description_width": ""
|
| 1749 |
+
}
|
| 1750 |
+
},
|
| 1751 |
+
"c071047b9b5b420dbb5233397841a7b5": {
|
| 1752 |
+
"model_module": "@jupyter-widgets/base",
|
| 1753 |
+
"model_name": "LayoutModel",
|
| 1754 |
+
"state": {
|
| 1755 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1756 |
+
"_model_module_version": "1.2.0",
|
| 1757 |
+
"_model_name": "LayoutModel",
|
| 1758 |
+
"_view_count": null,
|
| 1759 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1760 |
+
"_view_module_version": "1.2.0",
|
| 1761 |
+
"_view_name": "LayoutView",
|
| 1762 |
+
"align_content": null,
|
| 1763 |
+
"align_items": null,
|
| 1764 |
+
"align_self": null,
|
| 1765 |
+
"border": null,
|
| 1766 |
+
"bottom": null,
|
| 1767 |
+
"display": null,
|
| 1768 |
+
"flex": null,
|
| 1769 |
+
"flex_flow": null,
|
| 1770 |
+
"grid_area": null,
|
| 1771 |
+
"grid_auto_columns": null,
|
| 1772 |
+
"grid_auto_flow": null,
|
| 1773 |
+
"grid_auto_rows": null,
|
| 1774 |
+
"grid_column": null,
|
| 1775 |
+
"grid_gap": null,
|
| 1776 |
+
"grid_row": null,
|
| 1777 |
+
"grid_template_areas": null,
|
| 1778 |
+
"grid_template_columns": null,
|
| 1779 |
+
"grid_template_rows": null,
|
| 1780 |
+
"height": null,
|
| 1781 |
+
"justify_content": null,
|
| 1782 |
+
"justify_items": null,
|
| 1783 |
+
"left": null,
|
| 1784 |
+
"margin": null,
|
| 1785 |
+
"max_height": null,
|
| 1786 |
+
"max_width": null,
|
| 1787 |
+
"min_height": null,
|
| 1788 |
+
"min_width": null,
|
| 1789 |
+
"object_fit": null,
|
| 1790 |
+
"object_position": null,
|
| 1791 |
+
"order": null,
|
| 1792 |
+
"overflow": null,
|
| 1793 |
+
"overflow_x": null,
|
| 1794 |
+
"overflow_y": null,
|
| 1795 |
+
"padding": null,
|
| 1796 |
+
"right": null,
|
| 1797 |
+
"top": null,
|
| 1798 |
+
"visibility": null,
|
| 1799 |
+
"width": null
|
| 1800 |
+
}
|
| 1801 |
+
},
|
| 1802 |
+
"ca76bbb74d4d45bc8a7ac4e1b5466e1b": {
|
| 1803 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1804 |
+
"model_name": "ProgressStyleModel",
|
| 1805 |
+
"state": {
|
| 1806 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1807 |
+
"_model_module_version": "1.5.0",
|
| 1808 |
+
"_model_name": "ProgressStyleModel",
|
| 1809 |
+
"_view_count": null,
|
| 1810 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1811 |
+
"_view_module_version": "1.2.0",
|
| 1812 |
+
"_view_name": "StyleView",
|
| 1813 |
+
"bar_color": null,
|
| 1814 |
+
"description_width": ""
|
| 1815 |
+
}
|
| 1816 |
+
},
|
| 1817 |
+
"cca70317fa824574aa562d981391c46f": {
|
| 1818 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1819 |
+
"model_name": "HTMLModel",
|
| 1820 |
+
"state": {
|
| 1821 |
+
"_dom_classes": [],
|
| 1822 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1823 |
+
"_model_module_version": "1.5.0",
|
| 1824 |
+
"_model_name": "HTMLModel",
|
| 1825 |
+
"_view_count": null,
|
| 1826 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1827 |
+
"_view_module_version": "1.5.0",
|
| 1828 |
+
"_view_name": "HTMLView",
|
| 1829 |
+
"description": "",
|
| 1830 |
+
"description_tooltip": null,
|
| 1831 |
+
"layout": "IPY_MODEL_c071047b9b5b420dbb5233397841a7b5",
|
| 1832 |
+
"placeholder": "",
|
| 1833 |
+
"style": "IPY_MODEL_e5e4e39f80ff4ff4b1e2e723d71e64fa",
|
| 1834 |
+
"value": " 85% 11/13 [00:19<00:03, 1.79s/it]"
|
| 1835 |
+
}
|
| 1836 |
+
},
|
| 1837 |
+
"ccd281b6c8104e4fa01533165fbb2ea0": {
|
| 1838 |
+
"model_module": "@jupyter-widgets/base",
|
| 1839 |
+
"model_name": "LayoutModel",
|
| 1840 |
+
"state": {
|
| 1841 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1842 |
+
"_model_module_version": "1.2.0",
|
| 1843 |
+
"_model_name": "LayoutModel",
|
| 1844 |
+
"_view_count": null,
|
| 1845 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1846 |
+
"_view_module_version": "1.2.0",
|
| 1847 |
+
"_view_name": "LayoutView",
|
| 1848 |
+
"align_content": null,
|
| 1849 |
+
"align_items": null,
|
| 1850 |
+
"align_self": null,
|
| 1851 |
+
"border": null,
|
| 1852 |
+
"bottom": null,
|
| 1853 |
+
"display": null,
|
| 1854 |
+
"flex": null,
|
| 1855 |
+
"flex_flow": null,
|
| 1856 |
+
"grid_area": null,
|
| 1857 |
+
"grid_auto_columns": null,
|
| 1858 |
+
"grid_auto_flow": null,
|
| 1859 |
+
"grid_auto_rows": null,
|
| 1860 |
+
"grid_column": null,
|
| 1861 |
+
"grid_gap": null,
|
| 1862 |
+
"grid_row": null,
|
| 1863 |
+
"grid_template_areas": null,
|
| 1864 |
+
"grid_template_columns": null,
|
| 1865 |
+
"grid_template_rows": null,
|
| 1866 |
+
"height": null,
|
| 1867 |
+
"justify_content": null,
|
| 1868 |
+
"justify_items": null,
|
| 1869 |
+
"left": null,
|
| 1870 |
+
"margin": null,
|
| 1871 |
+
"max_height": null,
|
| 1872 |
+
"max_width": null,
|
| 1873 |
+
"min_height": null,
|
| 1874 |
+
"min_width": null,
|
| 1875 |
+
"object_fit": null,
|
| 1876 |
+
"object_position": null,
|
| 1877 |
+
"order": null,
|
| 1878 |
+
"overflow": null,
|
| 1879 |
+
"overflow_x": null,
|
| 1880 |
+
"overflow_y": null,
|
| 1881 |
+
"padding": null,
|
| 1882 |
+
"right": null,
|
| 1883 |
+
"top": null,
|
| 1884 |
+
"visibility": null,
|
| 1885 |
+
"width": null
|
| 1886 |
+
}
|
| 1887 |
+
},
|
| 1888 |
+
"e5e4e39f80ff4ff4b1e2e723d71e64fa": {
|
| 1889 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1890 |
+
"model_name": "DescriptionStyleModel",
|
| 1891 |
+
"state": {
|
| 1892 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1893 |
+
"_model_module_version": "1.5.0",
|
| 1894 |
+
"_model_name": "DescriptionStyleModel",
|
| 1895 |
+
"_view_count": null,
|
| 1896 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1897 |
+
"_view_module_version": "1.2.0",
|
| 1898 |
+
"_view_name": "StyleView",
|
| 1899 |
+
"description_width": ""
|
| 1900 |
+
}
|
| 1901 |
+
},
|
| 1902 |
+
"ed787105fcaa4c3c812a76c4c603d5f5": {
|
| 1903 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1904 |
+
"model_name": "HBoxModel",
|
| 1905 |
+
"state": {
|
| 1906 |
+
"_dom_classes": [],
|
| 1907 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1908 |
+
"_model_module_version": "1.5.0",
|
| 1909 |
+
"_model_name": "HBoxModel",
|
| 1910 |
+
"_view_count": null,
|
| 1911 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1912 |
+
"_view_module_version": "1.5.0",
|
| 1913 |
+
"_view_name": "HBoxView",
|
| 1914 |
+
"box_style": "",
|
| 1915 |
+
"children": [
|
| 1916 |
+
"IPY_MODEL_0a5bf508b6b44bee8ce55182e0af6fec",
|
| 1917 |
+
"IPY_MODEL_51b4002a832f4754b087443f75d3c97f"
|
| 1918 |
+
],
|
| 1919 |
+
"layout": "IPY_MODEL_25fb338b9ebb4053ac0218c253389a46"
|
| 1920 |
+
}
|
| 1921 |
+
},
|
| 1922 |
+
"f93cc6f609e94593a6b7133ae868285e": {
|
| 1923 |
+
"model_module": "@jupyter-widgets/base",
|
| 1924 |
+
"model_name": "LayoutModel",
|
| 1925 |
+
"state": {
|
| 1926 |
+
"_model_module": "@jupyter-widgets/base",
|
| 1927 |
+
"_model_module_version": "1.2.0",
|
| 1928 |
+
"_model_name": "LayoutModel",
|
| 1929 |
+
"_view_count": null,
|
| 1930 |
+
"_view_module": "@jupyter-widgets/base",
|
| 1931 |
+
"_view_module_version": "1.2.0",
|
| 1932 |
+
"_view_name": "LayoutView",
|
| 1933 |
+
"align_content": null,
|
| 1934 |
+
"align_items": null,
|
| 1935 |
+
"align_self": null,
|
| 1936 |
+
"border": null,
|
| 1937 |
+
"bottom": null,
|
| 1938 |
+
"display": null,
|
| 1939 |
+
"flex": null,
|
| 1940 |
+
"flex_flow": null,
|
| 1941 |
+
"grid_area": null,
|
| 1942 |
+
"grid_auto_columns": null,
|
| 1943 |
+
"grid_auto_flow": null,
|
| 1944 |
+
"grid_auto_rows": null,
|
| 1945 |
+
"grid_column": null,
|
| 1946 |
+
"grid_gap": null,
|
| 1947 |
+
"grid_row": null,
|
| 1948 |
+
"grid_template_areas": null,
|
| 1949 |
+
"grid_template_columns": null,
|
| 1950 |
+
"grid_template_rows": null,
|
| 1951 |
+
"height": null,
|
| 1952 |
+
"justify_content": null,
|
| 1953 |
+
"justify_items": null,
|
| 1954 |
+
"left": null,
|
| 1955 |
+
"margin": null,
|
| 1956 |
+
"max_height": null,
|
| 1957 |
+
"max_width": null,
|
| 1958 |
+
"min_height": null,
|
| 1959 |
+
"min_width": null,
|
| 1960 |
+
"object_fit": null,
|
| 1961 |
+
"object_position": null,
|
| 1962 |
+
"order": null,
|
| 1963 |
+
"overflow": null,
|
| 1964 |
+
"overflow_x": null,
|
| 1965 |
+
"overflow_y": null,
|
| 1966 |
+
"padding": null,
|
| 1967 |
+
"right": null,
|
| 1968 |
+
"top": null,
|
| 1969 |
+
"visibility": null,
|
| 1970 |
+
"width": null
|
| 1971 |
+
}
|
| 1972 |
+
},
|
| 1973 |
+
"fa7fbb20e21748568096c1aa226bf09d": {
|
| 1974 |
+
"model_module": "@jupyter-widgets/controls",
|
| 1975 |
+
"model_name": "IntProgressModel",
|
| 1976 |
+
"state": {
|
| 1977 |
+
"_dom_classes": [],
|
| 1978 |
+
"_model_module": "@jupyter-widgets/controls",
|
| 1979 |
+
"_model_module_version": "1.5.0",
|
| 1980 |
+
"_model_name": "IntProgressModel",
|
| 1981 |
+
"_view_count": null,
|
| 1982 |
+
"_view_module": "@jupyter-widgets/controls",
|
| 1983 |
+
"_view_module_version": "1.5.0",
|
| 1984 |
+
"_view_name": "ProgressView",
|
| 1985 |
+
"bar_style": "success",
|
| 1986 |
+
"description": "",
|
| 1987 |
+
"description_tooltip": null,
|
| 1988 |
+
"layout": "IPY_MODEL_785c07b1622a42648b66c6ce1ddf593f",
|
| 1989 |
+
"max": 130,
|
| 1990 |
+
"min": 0,
|
| 1991 |
+
"orientation": "horizontal",
|
| 1992 |
+
"style": "IPY_MODEL_bb6710d665f64746a816abac2cb6ad1a",
|
| 1993 |
+
"value": 130
|
| 1994 |
+
}
|
| 1995 |
+
}
|
| 1996 |
+
}
|
| 1997 |
+
}
|
| 1998 |
+
},
|
| 1999 |
+
"nbformat": 4,
|
| 2000 |
+
"nbformat_minor": 4
|
| 2001 |
+
}
|
Sen1Floods11/Sen1Floods11/old_training/Test_Models.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Sen1Floods11/Sen1Floods11/sample/Labels/Spain_7370579_LabelHand.tif
ADDED
|
|
Sen1Floods11/Sen1Floods11/sample/S1/Spain_7370579_S1Hand.tif
ADDED
|
|
Git LFS Details
|
Sen1Floods11/Sen1Floods11/sample/S2/Spain_7370579_S2Hand.tif
ADDED
|
|
Git LFS Details
|
Sen1Floods11/gsutil.log
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
nohup: ignoring input
|
| 2 |
+
CommandException: The rsync command requires at least 2 arguments. Usage:
|
| 3 |
+
|
| 4 |
+
gsutil rsync [OPTION]... src_url dst_url
|
| 5 |
+
|
| 6 |
+
For additional help run:
|
| 7 |
+
gsutil help rsync
|
Sen1Floods11/v1.1/Sen1Floods11_Metadata.geojson
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "FeatureCollection",
|
| 3 |
+
"name": "Sen1Floods11_Metadata",
|
| 4 |
+
"features": [
|
| 5 |
+
{ "type": "Feature", "properties": { "coincident_size": 10.0, "location": "Bolivia", "orbit": "DESCENDING", "rel_orbit_num": 156.0, "s1_date": "2018\/02\/15", "s2_date": "2018\/02\/15", "ID": 1, "ISO_CC": "BOL", "VH_thresh": -20.44, "train_chip": 224, "val_chip": 15 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -65.317559857533908, -15.959244925391689 ], [ -65.158254847813453, -15.959244879070081 ], [ -64.998949860147647, -15.959244896460911 ], [ -64.839644860183128, -15.959244921943625 ], [ -64.680339907332367, -15.959244902930308 ], [ -64.521034883785887, -15.959244921940909 ], [ -64.361636278627628, -15.95924488195546 ], [ -64.361638085153402, -11.391041883289134 ], [ -64.521034883785887, -11.391041903057278 ], [ -64.680339907332367, -11.391041863855989 ], [ -64.839644860183128, -11.391041907704693 ], [ -64.998949860147647, -11.391041863956536 ], [ -65.158254847813453, -11.391041858580971 ], [ -65.317559857533908, -11.39104185953703 ], [ -65.476864835983875, -11.391041900399927 ], [ -65.63626158237264, -11.391041868224292 ], [ -65.636263395800469, -15.959244871656798 ], [ -65.476864835983875, -15.959244905007946 ], [ -65.317559857533908, -15.959244925391689 ] ] ] } },
|
| 6 |
+
{ "type": "Feature", "properties": { "coincident_size": 17.0, "location": "Colombia", "orbit": "ASCENDING", "rel_orbit_num": 106.0, "s1_date": "2018\/08\/22", "s2_date": "2018\/08\/23", "ID": 12, "ISO_CC": "COL", "VH_thresh": -21.31, "train_chip": 534, "val_chip": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -66.699056467513003, 2.110187334380341 ], [ -66.698966424540345, 2.110256913241736 ], [ -66.698965788515352, 7.101676501313605 ], [ -66.986281510293452, 7.101676556727341 ], [ -67.273506568024828, 7.101676582256204 ], [ -67.56073166508456, 7.101676546581063 ], [ -67.847956801596126, 7.101676546303533 ], [ -68.135181854756027, 7.101676554710013 ], [ -68.422406934975371, 7.101676516311729 ], [ -68.709632014212687, 7.101676560416262 ], [ -68.996947786118142, 7.101676484769647 ], [ -68.996947149405131, 2.110187337543972 ], [ -68.709632014212687, 2.110187335227751 ], [ -68.422406934975371, 2.110187383397538 ], [ -68.135181854756027, 2.11018736600957 ], [ -67.847956801596126, 2.110187374091536 ], [ -67.56073166508456, 2.110187344112311 ], [ -67.273506568024828, 2.110187342205038 ], [ -66.986281510293452, 2.110187349735659 ], [ -66.699056467513003, 2.110187334380341 ] ] ] } },
|
| 7 |
+
{ "type": "Feature", "properties": { "coincident_size": 23.0, "location": "Ghana", "orbit": "ASCENDING", "rel_orbit_num": 147.0, "s1_date": "2018\/09\/18", "s2_date": "2018\/09\/19", "ID": 2, "ISO_CC": "GHA", "VH_thresh": -22.81, "train_chip": 181, "val_chip": 53 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -2.303236148634169, 6.305948520527788 ], [ -2.14560918995018, 6.305948579948737 ], [ -1.90930453989902, 6.305930833489019 ], [ -1.594231685594605, 6.305930809073828 ], [ -1.279158841130708, 6.305930839802845 ], [ -0.964085966490517, 6.305930803294456 ], [ -0.649013127719911, 6.305930793669952 ], [ -0.333940286921198, 6.305930797687937 ], [ -0.018867398100296, 6.305930856635072 ], [ 0.217527752331677, 6.305948567886308 ], [ 0.217529183347789, 11.9343432247951 ], [ -0.097635673274431, 11.934343252144256 ], [ -0.412708533718797, 11.934343250340113 ], [ -0.727781359965948, 11.934343252190352 ], [ -1.042854230684262, 11.934343259800119 ], [ -1.515463517428675, 11.934343286123339 ], [ -1.830536381212682, 11.934343326187413 ], [ -2.303237652561542, 11.934343267395294 ], [ -2.303236148634169, 6.305948520527788 ] ] ] } },
|
| 8 |
+
{ "type": "Feature", "properties": { "coincident_size": 12.0, "location": "India", "orbit": "DESCENDING", "rel_orbit_num": 77.0, "s1_date": "2016\/08\/12", "s2_date": "2016\/08\/12", "ID": 3, "ISO_CC": "IND", "VH_thresh": -21.56, "train_chip": 467, "val_chip": 68 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 92.276534848133792, 28.284759458561638 ], [ 92.150651743892013, 28.284759400549099 ], [ 92.150654741610538, 24.847175995180567 ], [ 92.339425401420129, 24.84713652559504 ], [ 92.590987352703166, 24.847136568157257 ], [ 92.84254932033862, 24.847136572068923 ], [ 93.094111235876824, 24.847136537555855 ], [ 93.345673206071453, 24.84713651794458 ], [ 93.597235172496312, 24.847136535788014 ], [ 93.785906692466867, 24.847176020541536 ], [ 93.974578166976983, 24.847136509695623 ], [ 94.163348819538655, 24.847175955629837 ], [ 94.163351788064347, 28.284759353375033 ], [ 93.785906692466867, 28.284759394931594 ], [ 93.534344722748571, 28.284759455929166 ], [ 93.282782731460841, 28.284759459013305 ], [ 92.905439820951486, 28.284759417906916 ], [ 92.653877808606453, 28.284759390733107 ], [ 92.276534848133792, 28.284759458561638 ] ] ] } },
|
| 9 |
+
{ "type": "Feature", "properties": { "coincident_size": 16.0, "location": "Cambodia", "orbit": "ASCENDING", "rel_orbit_num": 26.0, "s1_date": "2018\/08\/05", "s2_date": "2018\/08\/04", "ID": 4, "ISO_CC": "KHM", "VH_thresh": -23.06, "train_chip": 1353, "val_chip": 30 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 106.279737437346114, 10.571239381065736 ], [ 106.426782095952788, 10.571239308798242 ], [ 106.426783443827574, 14.274903718111345 ], [ 106.132784218041508, 14.274903758522077 ], [ 105.838877982395786, 14.274903767542607 ], [ 105.398018466058872, 14.274903788123138 ], [ 104.957159062875022, 14.274903739199164 ], [ 104.663252767952173, 14.274903751809351 ], [ 104.369346452781173, 14.274903743222296 ], [ 104.075347265863144, 14.274903712775506 ], [ 104.075348594983296, 10.571239360754513 ], [ 104.295869901505171, 10.571213843621877 ], [ 104.589776169148507, 10.571213869874853 ], [ 104.883682455061205, 10.571213908919695 ], [ 105.177588812703561, 10.571213869703566 ], [ 105.47149506922969, 10.571213878714286 ], [ 105.765401346636594, 10.571213836724148 ], [ 106.059307691578908, 10.571213852762405 ], [ 106.279737437346114, 10.571239381065736 ] ] ] } },
|
| 10 |
+
{ "type": "Feature", "properties": { "coincident_size": 24.0, "location": "Nigeria", "orbit": "ASCENDING", "rel_orbit_num": 103.0, "s1_date": "2018\/09\/21", "s2_date": "2018\/09\/20", "ID": 5, "ISO_CC": "NGA", "VH_thresh": -21.94, "train_chip": 109, "val_chip": 18 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 6.794424517027755, 10.536205339010641 ], [ 6.493432743830116, 10.536205406435087 ], [ 6.192440978909891, 10.536205414553613 ], [ 5.891449208041117, 10.536205345674334 ], [ 5.590457467545308, 10.536205400485811 ], [ 5.289465654357295, 10.536205403378505 ], [ 4.988473900000131, 10.536205394328748 ], [ 4.687482146781093, 10.536205380098529 ], [ 4.536894688492211, 10.536205358322002 ], [ 4.536896025867931, 4.117742370489498 ], [ 4.83797798678574, 4.117742327750085 ], [ 5.138969773461186, 4.117742361304216 ], [ 5.439961590377005, 4.117742333078986 ], [ 5.740953327783949, 4.117742369298343 ], [ 6.04194505774187, 4.117742346269613 ], [ 6.34293682062697, 4.117742357954983 ], [ 6.643928652700954, 4.117742327278482 ], [ 6.945010567422035, 4.117742306897618 ], [ 6.945011878171817, 10.536205328409451 ], [ 6.794424517027755, 10.536205339010641 ] ] ] } },
|
| 11 |
+
{ "type": "Feature", "properties": { "coincident_size": 27.0, "location": "Pakistan", "orbit": "DESCENDING", "rel_orbit_num": 5.0, "s1_date": "2017\/06\/28", "s2_date": "2017\/06\/28", "ID": 6, "ISO_CC": "PAK", "VH_thresh": -19.56, "train_chip": 249, "val_chip": 28 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 70.99420503034203, 28.043022762423043 ], [ 71.272163357115403, 28.043078701190382 ], [ 71.605713506754711, 28.042944459737431 ], [ 71.939263566958715, 28.043078724211991 ], [ 72.217221934265154, 28.043022751275998 ], [ 72.550874029724298, 28.043022698696728 ], [ 72.550881069693915, 34.350723167901947 ], [ 71.66130518636858, 34.350723224121005 ], [ 70.99420503034203, 34.350723234988585 ], [ 70.549471574588523, 34.350723249108825 ], [ 69.660004663673789, 34.350723258785131 ], [ 68.992795502863245, 34.350723135977738 ], [ 68.992802597681802, 28.043112252752824 ], [ 69.215271262853406, 28.043022775303555 ], [ 69.493229609706304, 28.043078755473665 ], [ 69.826779767830971, 28.042944469792175 ], [ 70.215921469738021, 28.043022744542935 ], [ 70.605063279054761, 28.042944462255619 ], [ 70.99420503034203, 28.043022762423043 ] ] ] } },
|
| 12 |
+
{ "type": "Feature", "properties": { "coincident_size": 31.0, "location": "Paraguay", "orbit": "DESCENDING", "rel_orbit_num": 68.0, "s1_date": "2018\/10\/31", "s2_date": "2018\/10\/31", "ID": 7, "ISO_CC": "PRY", "VH_thresh": -19.94, "train_chip": 316, "val_chip": 67 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -55.019298715543066, -28.187202406858713 ], [ -54.650031094336249, -28.187202373284943 ], [ -54.650036368197988, -21.638840525688526 ], [ -55.203881392604274, -21.638942594113136 ], [ -55.634574497705991, -21.639021917731309 ], [ -56.003739920655768, -21.639021847178462 ], [ -56.43443294880101, -21.638942635321303 ], [ -56.926653626675879, -21.638942623062729 ], [ -57.357346713889427, -21.639021931352872 ], [ -57.788039740714623, -21.638942641799773 ], [ -58.280260365622901, -21.638942639755882 ], [ -58.587995023147933, -21.639112430502962 ], [ -58.588000342895448, -28.187202347426823 ], [ -58.218732783030696, -28.187202389378854 ], [ -57.480401824214518, -28.18720236358962 ], [ -56.988181175588203, -28.18720238790215 ], [ -56.126795062812008, -28.187202402418873 ], [ -55.634574497705991, -28.187202368393017 ], [ -55.019298715543066, -28.187202406858713 ] ] ] } },
|
| 13 |
+
{ "type": "Feature", "properties": { "coincident_size": 18.0, "location": "Somalia", "orbit": "ASCENDING", "rel_orbit_num": 116.0, "s1_date": "2018\/05\/07", "s2_date": "2018\/05\/05", "ID": 8, "ISO_CC": "SOM", "VH_thresh": -21.06, "train_chip": 129, "val_chip": 26 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 44.205241728225516, 6.546877047983454 ], [ 44.20515112450974, 6.546807471327257 ], [ 44.205151703447768, 1.308710601623993 ], [ 44.205221320694321, 1.308620643626561 ], [ 44.799971400818428, 1.30862063951817 ], [ 45.39470096801837, 1.308620621625367 ], [ 45.989430608475089, 1.30862061294779 ], [ 46.584160256802399, 1.308620625737316 ], [ 46.584250280981941, 1.308690223088805 ], [ 46.584250869375801, 6.546877010620244 ], [ 46.286795477502295, 6.546877057880059 ], [ 45.989430608475082, 6.54687703605825 ], [ 45.692065796163938, 6.546877044329216 ], [ 45.39470096801837, 6.546877006339022 ], [ 45.09733614975093, 6.546877016116817 ], [ 44.799971400818428, 6.546877014527566 ], [ 44.502606551179127, 6.546877013174258 ], [ 44.205241728225516, 6.546877047983454 ] ] ] } },
|
| 14 |
+
{ "type": "Feature", "properties": { "coincident_size": 12.0, "location": "Spain", "orbit": "DESCENDING", "rel_orbit_num": 110.0, "s1_date": "2019\/09\/17", "s2_date": "2019\/09\/18", "ID": 9, "ISO_CC": "ESP", "VH_thresh": -25.13, "train_chip": 146, "val_chip": 30 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.528344150302215, 39.41255020820315 ], [ -0.819892364803714, 39.412550164522486 ], [ -1.111557042446269, 39.412550145843845 ], [ -1.111554262302887, 37.662901125130013 ], [ -0.892779408148489, 37.662833937340807 ], [ -0.601231195376171, 37.662833887099687 ], [ -0.309682941882246, 37.662833935706971 ], [ -0.091021811360282, 37.662901202424351 ], [ 0.127639372113517, 37.66283395755481 ], [ 0.419187609254726, 37.66283394457669 ], [ 0.710735847074027, 37.662833948106524 ], [ 1.002284052890403, 37.662833907274006 ], [ 1.221058879474336, 37.662901106323915 ], [ 1.221061666925504, 39.41255011090562 ], [ 1.002284052890403, 39.412550207112204 ], [ 0.492074638791196, 39.412550212670006 ], [ 0.127639372113517, 39.412550210843342 ], [ -0.236795938164505, 39.412550212819674 ], [ -0.528344150302215, 39.41255020820315 ] ] ] } },
|
| 15 |
+
{ "type": "Feature", "properties": { "coincident_size": 14.0, "location": "Sri-Lanka", "orbit": "DESCENDING", "rel_orbit_num": 19.0, "s1_date": "2017\/05\/30", "s2_date": "2017\/05\/28", "ID": 10, "ISO_CC": "LKA", "VH_thresh": -21.69, "train_chip": 190, "val_chip": 42 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 80.622673816115721, 9.786561306523275 ], [ 80.377837985832954, 9.786561261276532 ], [ 80.132910888791528, 9.786561260742376 ], [ 80.132911825900166, 5.136162416858391 ], [ 80.377837985832954, 5.136162424138692 ], [ 80.622673816115721, 5.136162396642468 ], [ 80.867509652772185, 5.136162409275948 ], [ 81.112345549675595, 5.136162382957245 ], [ 81.357181318386026, 5.136162383387888 ], [ 81.602017189544199, 5.136162394443308 ], [ 81.846853043816736, 5.136162386149391 ], [ 82.091779213248472, 5.136162414981568 ], [ 82.091780127144162, 9.786561221546688 ], [ 81.846853043816736, 9.786561260106902 ], [ 81.602017189544199, 9.786561276416572 ], [ 81.357181318386026, 9.786561264464225 ], [ 81.112345549675595, 9.786561301744838 ], [ 80.867509652772185, 9.786561272013559 ], [ 80.622673816115721, 9.786561306523275 ] ] ] } },
|
| 16 |
+
{ "type": "Feature", "properties": { "coincident_size": 8.0, "location": "USA", "orbit": "ASCENDING", "rel_orbit_num": 136.0, "s1_date": "2019\/05\/22", "s2_date": "2019\/05\/22", "ID": 11, "ISO_CC": "USA", "VH_thresh": -22.62, "train_chip": 486, "val_chip": 69 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.691758004799993, 38.357837829772819 ], [ -95.608594038100534, 38.357837889512247 ], [ -95.484020153361371, 38.357815956156962 ], [ -95.317921675840481, 38.357815960963336 ], [ -95.151823110070751, 38.357815913921293 ], [ -94.985724655291392, 38.357815893540149 ], [ -94.819626151024792, 38.357815906029799 ], [ -94.695052314729722, 38.357837924199501 ], [ -94.570478437577592, 38.357815923894755 ], [ -94.445904511854209, 38.357837886248639 ], [ -94.362740543720761, 38.357837821666749 ], [ -94.362735917281043, 41.061767135559627 ], [ -94.528953777955579, 41.061767195893367 ], [ -94.861150774815471, 41.061767190604321 ], [ -95.027249263225428, 41.061767232642516 ], [ -95.276397016907566, 41.06176723579587 ], [ -95.442495528882873, 41.061767222676252 ], [ -95.691762581460964, 41.061767167209496 ], [ -95.691758004799993, 38.357837829772819 ] ] ] } }
|
| 17 |
+
]
|
| 18 |
+
}
|
Sen1Floods11/v1.1/catalog.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f7e624e4a8b7ec862e42c3f7768cdb0d45444889bc4a7e6f8b5b139db38c51e
|
| 3 |
+
size 10467733
|
Sen1Floods11/v1.1/catalog/catalog.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "sen1floods11",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"description": "Sen1Floods11: a georeferenced dataset to train and test deep learning flood algorithms for Sentinel-1",
|
| 5 |
+
"links": [
|
| 6 |
+
{
|
| 7 |
+
"rel": "root",
|
| 8 |
+
"href": "./catalog.json",
|
| 9 |
+
"type": "application/json"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"rel": "child",
|
| 13 |
+
"href": "./sen1floods11_hand_labeled_source/collection.json",
|
| 14 |
+
"type": "application/json"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"rel": "child",
|
| 18 |
+
"href": "./sen1floods11_hand_labeled_label/collection.json",
|
| 19 |
+
"type": "application/json"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"rel": "child",
|
| 23 |
+
"href": "./sen1floods11_weak_labeled_source/collection.json",
|
| 24 |
+
"type": "application/json"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"rel": "child",
|
| 28 |
+
"href": "./sen1floods11_weak_labeled_label/collection.json",
|
| 29 |
+
"type": "application/json"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"rel": "self",
|
| 33 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/catalog/catalog.json",
|
| 34 |
+
"type": "application/json"
|
| 35 |
+
}
|
| 36 |
+
]
|
| 37 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_103757_label/Bolivia_103757_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_103757_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "103757",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.21912693153185,
|
| 28 |
+
-14.258060189545049
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.21912693153185,
|
| 32 |
+
-14.212066446998126
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.26512067407877,
|
| 36 |
+
-14.212066446998126
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.26512067407877,
|
| 40 |
+
-14.258060189545049
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.21912693153185,
|
| 44 |
+
-14.258060189545049
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_103757_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_103757_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_103757_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.26512067407877,
|
| 85 |
+
-14.258060189545049,
|
| 86 |
+
-65.21912693153185,
|
| 87 |
+
-14.212066446998126
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_129334_label/Bolivia_129334_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_129334_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "129334",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.17313318898492,
|
| 28 |
+
-14.442035159732725
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.17313318898492,
|
| 32 |
+
-14.396041417185803
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.21912693153185,
|
| 36 |
+
-14.396041417185803
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.21912693153185,
|
| 40 |
+
-14.442035159732725
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.17313318898492,
|
| 44 |
+
-14.442035159732725
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_129334_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_129334_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_129334_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.21912693153185,
|
| 85 |
+
-14.442035159732725,
|
| 86 |
+
-65.17313318898492,
|
| 87 |
+
-14.396041417185803
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_195474_label/Bolivia_195474_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_195474_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "195474",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.31111441662568,
|
| 28 |
+
-15.407903753218037
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.31111441662568,
|
| 32 |
+
-15.361910010671114
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.35710815917261,
|
| 36 |
+
-15.361910010671114
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.35710815917261,
|
| 40 |
+
-15.407903753218037
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.31111441662568,
|
| 44 |
+
-15.407903753218037
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_195474_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_195474_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_195474_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.35710815917261,
|
| 85 |
+
-15.407903753218037,
|
| 86 |
+
-65.31111441662568,
|
| 87 |
+
-15.361910010671114
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_23014_label/Bolivia_23014_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_23014_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "23014",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-64.85117699115649,
|
| 28 |
+
-13.614147793888176
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-64.85117699115649,
|
| 32 |
+
-13.568154051341253
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-64.89717073370342,
|
| 36 |
+
-13.568154051341253
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-64.89717073370342,
|
| 40 |
+
-13.614147793888176
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-64.85117699115649,
|
| 44 |
+
-13.614147793888176
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_23014_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_23014_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_23014_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-64.89717073370342,
|
| 85 |
+
-13.614147793888176,
|
| 86 |
+
-64.85117699115649,
|
| 87 |
+
-13.568154051341253
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_233925_label/Bolivia_233925_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_233925_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "233925",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-64.66720202096882,
|
| 28 |
+
-12.832254170590543
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-64.66720202096882,
|
| 32 |
+
-12.78626042804362
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-64.71319576351574,
|
| 36 |
+
-12.78626042804362
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-64.71319576351574,
|
| 40 |
+
-12.832254170590543
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-64.66720202096882,
|
| 44 |
+
-12.832254170590543
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_233925_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_233925_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_233925_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-64.71319576351574,
|
| 85 |
+
-12.832254170590543,
|
| 86 |
+
-64.66720202096882,
|
| 87 |
+
-12.78626042804362
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_242570_label/Bolivia_242570_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_242570_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "242570",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-64.75918950606265,
|
| 28 |
+
-13.15421036841898
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-64.75918950606265,
|
| 32 |
+
-13.108216625872057
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-64.80518324860958,
|
| 36 |
+
-13.108216625872057
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-64.80518324860958,
|
| 40 |
+
-13.15421036841898
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-64.75918950606265,
|
| 44 |
+
-13.15421036841898
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_242570_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_242570_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_242570_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-64.80518324860958,
|
| 85 |
+
-13.15421036841898,
|
| 86 |
+
-64.75918950606265,
|
| 87 |
+
-13.108216625872057
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_290290_label/Bolivia_290290_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_290290_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "290290",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-64.85117699115649,
|
| 28 |
+
-13.062222883325141
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-64.85117699115649,
|
| 32 |
+
-13.016229140778218
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-64.89717073370342,
|
| 36 |
+
-13.016229140778218
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-64.89717073370342,
|
| 40 |
+
-13.062222883325141
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-64.85117699115649,
|
| 44 |
+
-13.062222883325141
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_290290_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_290290_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_290290_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-64.89717073370342,
|
| 85 |
+
-13.062222883325141,
|
| 86 |
+
-64.85117699115649,
|
| 87 |
+
-13.016229140778218
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_294583_label/Bolivia_294583_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_294583_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "294583",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-64.66720202096882,
|
| 28 |
+
-12.18834177493367
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-64.66720202096882,
|
| 32 |
+
-12.142348032386748
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-64.71319576351574,
|
| 36 |
+
-12.142348032386748
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-64.71319576351574,
|
| 40 |
+
-12.18834177493367
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-64.66720202096882,
|
| 44 |
+
-12.18834177493367
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_294583_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_294583_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_294583_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-64.71319576351574,
|
| 85 |
+
-12.18834177493367,
|
| 86 |
+
-64.66720202096882,
|
| 87 |
+
-12.142348032386748
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_312675_label/Bolivia_312675_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_312675_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "312675",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.31111441662568,
|
| 28 |
+
-14.763991357561164
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.31111441662568,
|
| 32 |
+
-14.71799761501424
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.35710815917261,
|
| 36 |
+
-14.71799761501424
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.35710815917261,
|
| 40 |
+
-14.763991357561164
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.31111441662568,
|
| 44 |
+
-14.763991357561164
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_312675_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_312675_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_312675_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.35710815917261,
|
| 85 |
+
-14.763991357561164,
|
| 86 |
+
-65.31111441662568,
|
| 87 |
+
-14.71799761501424
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_314919_label/Bolivia_314919_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_314919_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "314919",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.08114570389108,
|
| 28 |
+
-14.350047674638887
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.08114570389108,
|
| 32 |
+
-14.304053932091964
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.12713944643801,
|
| 36 |
+
-14.304053932091964
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.12713944643801,
|
| 40 |
+
-14.350047674638887
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.08114570389108,
|
| 44 |
+
-14.350047674638887
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_314919_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_314919_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_314919_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.12713944643801,
|
| 85 |
+
-14.350047674638887,
|
| 86 |
+
-65.08114570389108,
|
| 87 |
+
-14.304053932091964
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_360519_label/Bolivia_360519_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_360519_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "360519",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-64.85117699115649,
|
| 28 |
+
-13.568154051341256
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-64.85117699115649,
|
| 32 |
+
-13.522160308794334
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-64.89717073370342,
|
| 36 |
+
-13.522160308794334
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-64.89717073370342,
|
| 40 |
+
-13.568154051341256
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-64.85117699115649,
|
| 44 |
+
-13.568154051341256
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_360519_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_360519_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_360519_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-64.89717073370342,
|
| 85 |
+
-13.568154051341256,
|
| 86 |
+
-64.85117699115649,
|
| 87 |
+
-13.522160308794334
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_379434_label/Bolivia_379434_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_379434_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "379434",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.40310190171952,
|
| 28 |
+
-15.177935040483439
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.40310190171952,
|
| 32 |
+
-15.131941297936516
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.44909564426645,
|
| 36 |
+
-15.131941297936516
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.44909564426645,
|
| 40 |
+
-15.177935040483439
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.40310190171952,
|
| 44 |
+
-15.177935040483439
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_379434_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_379434_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_379434_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.44909564426645,
|
| 85 |
+
-15.177935040483439,
|
| 86 |
+
-65.40310190171952,
|
| 87 |
+
-15.131941297936516
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_432776_label/Bolivia_432776_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_432776_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "432776",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.03515196134417,
|
| 28 |
+
-14.396041417185806
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.03515196134417,
|
| 32 |
+
-14.350047674638883
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.0811457038911,
|
| 36 |
+
-14.350047674638883
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.0811457038911,
|
| 40 |
+
-14.396041417185806
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.03515196134417,
|
| 44 |
+
-14.396041417185806
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_432776_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_432776_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_432776_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.0811457038911,
|
| 85 |
+
-14.396041417185806,
|
| 86 |
+
-65.03515196134417,
|
| 87 |
+
-14.350047674638883
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_60373_label/Bolivia_60373_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_60373_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "60373",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-65.03515196134417,
|
| 28 |
+
-13.568154051341256
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-65.03515196134417,
|
| 32 |
+
-13.522160308794334
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-65.0811457038911,
|
| 36 |
+
-13.522160308794334
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-65.0811457038911,
|
| 40 |
+
-13.568154051341256
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-65.03515196134417,
|
| 44 |
+
-13.568154051341256
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_60373_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_60373_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_60373_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-65.0811457038911,
|
| 85 |
+
-13.568154051341256,
|
| 86 |
+
-65.03515196134417,
|
| 87 |
+
-13.522160308794334
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Bolivia_76104_label/Bolivia_76104_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Bolivia_76104_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Bolivia",
|
| 7 |
+
"chip_id": "76104",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-02-15T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-64.71319576351573,
|
| 28 |
+
-12.832254170590543
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-64.71319576351573,
|
| 32 |
+
-12.78626042804362
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-64.75918950606265,
|
| 36 |
+
-12.78626042804362
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-64.75918950606265,
|
| 40 |
+
-12.832254170590543
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-64.71319576351573,
|
| 44 |
+
-12.832254170590543
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Bolivia_76104_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Bolivia_76104_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Bolivia_76104_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-64.75918950606265,
|
| 85 |
+
-12.832254170590543,
|
| 86 |
+
-64.71319576351573,
|
| 87 |
+
-12.78626042804362
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_103272_label/Ghana_103272_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_103272_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "103272",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.1038498211260683,
|
| 28 |
+
9.428717222118498
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.1038498211260683,
|
| 32 |
+
9.474710964665418
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.1498435636729876,
|
| 36 |
+
9.474710964665418
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.1498435636729876,
|
| 40 |
+
9.428717222118498
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.1038498211260683,
|
| 44 |
+
9.428717222118498
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_103272_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_103272_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_103272_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.1498435636729876,
|
| 85 |
+
9.428717222118498,
|
| 86 |
+
-1.1038498211260683,
|
| 87 |
+
9.474710964665418
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_1033830_label/Ghana_1033830_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_1033830_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "1033830",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.1958373062199072,
|
| 28 |
+
9.152754766836981
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.1958373062199072,
|
| 32 |
+
9.1987485093839
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.2418310487668265,
|
| 36 |
+
9.1987485093839
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.2418310487668265,
|
| 40 |
+
9.152754766836981
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.1958373062199072,
|
| 44 |
+
9.152754766836981
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_1033830_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_1033830_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_1033830_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.2418310487668265,
|
| 85 |
+
9.152754766836981,
|
| 86 |
+
-1.1958373062199072,
|
| 87 |
+
9.1987485093839
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_1078550_label/Ghana_1078550_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_1078550_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "1078550",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.1038498211260683,
|
| 28 |
+
10.624554528338404
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.1038498211260683,
|
| 32 |
+
10.670548270885323
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.1498435636729876,
|
| 36 |
+
10.670548270885323
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.1498435636729876,
|
| 40 |
+
10.624554528338404
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.1038498211260683,
|
| 44 |
+
10.624554528338404
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_1078550_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_1078550_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_1078550_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.1498435636729876,
|
| 85 |
+
10.624554528338404,
|
| 86 |
+
-1.1038498211260683,
|
| 87 |
+
10.670548270885323
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_1089161_label/Ghana_1089161_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_1089161_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "1089161",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.2418310487668267,
|
| 28 |
+
10.716542013432244
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.2418310487668267,
|
| 32 |
+
10.762535755979163
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.287824791313746,
|
| 36 |
+
10.762535755979163
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.287824791313746,
|
| 40 |
+
10.716542013432244
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.2418310487668267,
|
| 44 |
+
10.716542013432244
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_1089161_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_1089161_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_1089161_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.287824791313746,
|
| 85 |
+
10.716542013432244,
|
| 86 |
+
-1.2418310487668267,
|
| 87 |
+
10.762535755979163
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_11745_label/Ghana_11745_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_11745_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "11745",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.3338185338606658,
|
| 28 |
+
10.026635875228452
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.3338185338606658,
|
| 32 |
+
10.072629617775371
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.379812276407585,
|
| 36 |
+
10.072629617775371
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.379812276407585,
|
| 40 |
+
10.026635875228452
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.3338185338606658,
|
| 44 |
+
10.026635875228452
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_11745_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_11745_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_11745_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.379812276407585,
|
| 85 |
+
10.026635875228452,
|
| 86 |
+
-1.3338185338606658,
|
| 87 |
+
10.072629617775371
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_124834_label/Ghana_124834_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_124834_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "124834",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.5177935040483437,
|
| 28 |
+
10.624554528338404
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.5177935040483437,
|
| 32 |
+
10.670548270885323
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.563787246595263,
|
| 36 |
+
10.670548270885323
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.563787246595263,
|
| 40 |
+
10.624554528338404
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.5177935040483437,
|
| 44 |
+
10.624554528338404
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_124834_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_124834_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_124834_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.563787246595263,
|
| 85 |
+
10.624554528338404,
|
| 86 |
+
-1.5177935040483437,
|
| 87 |
+
10.670548270885323
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_128663_label/Ghana_128663_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_128663_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "128663",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.1958373062199072,
|
| 28 |
+
9.566698449759256
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.1958373062199072,
|
| 32 |
+
9.612692192306175
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.2418310487668265,
|
| 36 |
+
9.612692192306175
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.2418310487668265,
|
| 40 |
+
9.566698449759256
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.1958373062199072,
|
| 44 |
+
9.566698449759256
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_128663_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_128663_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_128663_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.2418310487668265,
|
| 85 |
+
9.566698449759256,
|
| 86 |
+
-1.1958373062199072,
|
| 87 |
+
9.612692192306175
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_132163_label/Ghana_132163_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_132163_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "132163",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-0.8278873658445511,
|
| 28 |
+
9.336729737024658
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-0.8278873658445511,
|
| 32 |
+
9.382723479571577
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-0.8738811083914705,
|
| 36 |
+
9.382723479571577
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-0.8738811083914705,
|
| 40 |
+
9.336729737024658
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-0.8278873658445511,
|
| 44 |
+
9.336729737024658
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_132163_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_132163_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_132163_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-0.8738811083914705,
|
| 85 |
+
9.336729737024658,
|
| 86 |
+
-0.8278873658445511,
|
| 87 |
+
9.382723479571577
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_134751_label/Ghana_134751_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_134751_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "134751",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.7017684742360217,
|
| 28 |
+
9.1987485093839
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.7017684742360217,
|
| 32 |
+
9.24474225193082
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.747762216782941,
|
| 36 |
+
9.24474225193082
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.747762216782941,
|
| 40 |
+
9.1987485093839
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.7017684742360217,
|
| 44 |
+
9.1987485093839
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_134751_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_134751_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_134751_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.747762216782941,
|
| 85 |
+
9.1987485093839,
|
| 86 |
+
-1.7017684742360217,
|
| 87 |
+
9.24474225193082
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_135389_label/Ghana_135389_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_135389_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "135389",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.7937559593298609,
|
| 28 |
+
10.302598330509968
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.7937559593298609,
|
| 32 |
+
10.348592073056887
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.83974970187678,
|
| 36 |
+
10.348592073056887
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.83974970187678,
|
| 40 |
+
10.302598330509968
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.7937559593298609,
|
| 44 |
+
10.302598330509968
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_135389_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_135389_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_135389_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.83974970187678,
|
| 85 |
+
10.302598330509968,
|
| 86 |
+
-1.7937559593298609,
|
| 87 |
+
10.348592073056887
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_141271_label/Ghana_141271_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_141271_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "141271",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.7017684742360217,
|
| 28 |
+
10.486573300697646
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.7017684742360217,
|
| 32 |
+
10.532567043244565
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.747762216782941,
|
| 36 |
+
10.532567043244565
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.747762216782941,
|
| 40 |
+
10.486573300697646
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.7017684742360217,
|
| 44 |
+
10.486573300697646
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_141271_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_141271_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_141271_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.747762216782941,
|
| 85 |
+
10.486573300697646,
|
| 86 |
+
-1.7017684742360217,
|
| 87 |
+
10.532567043244565
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_141910_label/Ghana_141910_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_141910_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "141910",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.0578560785791487,
|
| 28 |
+
10.302598330509968
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.0578560785791487,
|
| 32 |
+
10.348592073056887
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.1038498211260679,
|
| 36 |
+
10.348592073056887
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.1038498211260679,
|
| 40 |
+
10.302598330509968
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.0578560785791487,
|
| 44 |
+
10.302598330509968
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_141910_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_141910_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_141910_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.1038498211260679,
|
| 85 |
+
10.302598330509968,
|
| 86 |
+
-1.0578560785791487,
|
| 87 |
+
10.348592073056887
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_142312_label/Ghana_142312_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_142312_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "142312",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.6097809891421828,
|
| 28 |
+
9.796667162493854
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.6097809891421828,
|
| 32 |
+
9.842660905040773
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.655774731689102,
|
| 36 |
+
9.842660905040773
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.655774731689102,
|
| 40 |
+
9.796667162493854
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.6097809891421828,
|
| 44 |
+
9.796667162493854
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_142312_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_142312_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_142312_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.655774731689102,
|
| 85 |
+
9.796667162493854,
|
| 86 |
+
-1.6097809891421828,
|
| 87 |
+
9.842660905040773
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_144050_label/Ghana_144050_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_144050_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "144050",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-0.5059311680161146,
|
| 28 |
+
10.440579558150727
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-0.5059311680161146,
|
| 32 |
+
10.486573300697646
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-0.5519249105630339,
|
| 36 |
+
10.486573300697646
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-0.5519249105630339,
|
| 40 |
+
10.440579558150727
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-0.5059311680161146,
|
| 44 |
+
10.440579558150727
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_144050_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_144050_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_144050_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-0.5519249105630339,
|
| 85 |
+
10.440579558150727,
|
| 86 |
+
-0.5059311680161146,
|
| 87 |
+
10.486573300697646
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_146222_label/Ghana_146222_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_146222_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "146222",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-0.32195619782843665,
|
| 28 |
+
9.106761024290062
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-0.32195619782843665,
|
| 32 |
+
9.152754766836981
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-0.367949940375356,
|
| 36 |
+
9.152754766836981
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-0.367949940375356,
|
| 40 |
+
9.106761024290062
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-0.32195619782843665,
|
| 44 |
+
9.106761024290062
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_146222_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_146222_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_146222_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-0.367949940375356,
|
| 85 |
+
9.106761024290062,
|
| 86 |
+
-0.32195619782843665,
|
| 87 |
+
9.152754766836981
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_147015_label/Ghana_147015_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_147015_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "147015",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-1.7017684742360217,
|
| 28 |
+
10.532567043244565
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-1.7017684742360217,
|
| 32 |
+
10.578560785791485
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-1.747762216782941,
|
| 36 |
+
10.578560785791485
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-1.747762216782941,
|
| 40 |
+
10.532567043244565
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-1.7017684742360217,
|
| 44 |
+
10.532567043244565
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_147015_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_147015_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_147015_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-1.747762216782941,
|
| 85 |
+
10.532567043244565,
|
| 86 |
+
-1.7017684742360217,
|
| 87 |
+
10.578560785791485
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|
Sen1Floods11/v1.1/catalog/sen1floods11_hand_labeled_label/Ghana_154838_label/Ghana_154838_label.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "Feature",
|
| 3 |
+
"stac_version": "1.0.0-beta.2",
|
| 4 |
+
"id": "Ghana_154838_label",
|
| 5 |
+
"properties": {
|
| 6 |
+
"country": "Ghana",
|
| 7 |
+
"chip_id": "154838",
|
| 8 |
+
"label:description": "-1: NoData. 0: Not Water. 1: Water.",
|
| 9 |
+
"label:type": "raster",
|
| 10 |
+
"label:properties": null,
|
| 11 |
+
"label:classes": [
|
| 12 |
+
[
|
| 13 |
+
0,
|
| 14 |
+
1
|
| 15 |
+
]
|
| 16 |
+
],
|
| 17 |
+
"label:tasks": [
|
| 18 |
+
"classification"
|
| 19 |
+
],
|
| 20 |
+
"datetime": "2018-09-18T00:00:00Z"
|
| 21 |
+
},
|
| 22 |
+
"geometry": {
|
| 23 |
+
"type": "Polygon",
|
| 24 |
+
"coordinates": [
|
| 25 |
+
[
|
| 26 |
+
[
|
| 27 |
+
-0.27596245528151714,
|
| 28 |
+
9.658685934853095
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
-0.27596245528151714,
|
| 32 |
+
9.704679677400014
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
-0.3219561978284365,
|
| 36 |
+
9.704679677400014
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-0.3219561978284365,
|
| 40 |
+
9.658685934853095
|
| 41 |
+
],
|
| 42 |
+
[
|
| 43 |
+
-0.27596245528151714,
|
| 44 |
+
9.658685934853095
|
| 45 |
+
]
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"links": [
|
| 50 |
+
{
|
| 51 |
+
"rel": "root",
|
| 52 |
+
"href": "../../catalog.json",
|
| 53 |
+
"type": "application/json"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"rel": "collection",
|
| 57 |
+
"href": "../collection.json",
|
| 58 |
+
"type": "application/json"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"rel": "parent",
|
| 62 |
+
"href": "../collection.json",
|
| 63 |
+
"type": "application/json"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"assets": {
|
| 67 |
+
"LabelHand": {
|
| 68 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/LabelHand/Ghana_154838_LabelHand.tif",
|
| 69 |
+
"type": "image/tiff; application=geotiff",
|
| 70 |
+
"title": "GeoTiff"
|
| 71 |
+
},
|
| 72 |
+
"JRCWaterHand": {
|
| 73 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/JRCWaterHand/Ghana_154838_JRCWaterHand.tif",
|
| 74 |
+
"type": "image/tiff; application=geotiff",
|
| 75 |
+
"title": "GeoTiff"
|
| 76 |
+
},
|
| 77 |
+
"S1OtsuLabelHand": {
|
| 78 |
+
"href": "https://storage.googleapis.com/sen1floods11/v1.1/data/flood_events/HandLabeled/S1OtsuLabelHand/Ghana_154838_S1OtsuLabelHand.tif",
|
| 79 |
+
"type": "image/tiff; application=geotiff",
|
| 80 |
+
"title": "GeoTiff"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"bbox": [
|
| 84 |
+
-0.3219561978284365,
|
| 85 |
+
9.658685934853095,
|
| 86 |
+
-0.27596245528151714,
|
| 87 |
+
9.704679677400014
|
| 88 |
+
],
|
| 89 |
+
"stac_extensions": [
|
| 90 |
+
"label"
|
| 91 |
+
],
|
| 92 |
+
"collection": "sen1floods11_hand_labeled_label"
|
| 93 |
+
}
|