# Dataset Card for "FLAIR_OSM_CLIP"

Dataset for the Seg2Sat model: https://github.com/RubenGres/Seg2Sat

Derived from [FLAIR#1](https://huggingface.co/datasets/IGNF/FLAIR) train split.

This dataset incudes the following features:
- **image**: FLAIR#1 .tif files RBG bands converted into a more managable jpg format
- **segmentation**: FLAIR#1 segmentation converted to JPG using the [LUT from the documentation](https://ignf.github.io/FLAIR/index_fr.html)
- **metadata**: OSM metadata for the centroid of the image
- **clip_label**: [CLIP ViT-H](https://github.com/openai/CLIP) description
- **class_rep**: ratio of appearance of each class in the segmentation
- **prompt**: Prompt used for the Seg2Sat model

<!---
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
--->
size_categories:10K<n<100K IGN region:us
{"size_categories": ["10K<n<100K"], "dataset_info": {"features": [{"name": "image", "dtype": "image"}, {"name": "segmentation", "dtype": "image"}, {"name": "metadata", "struct": [{"name": "address", "struct": [{"name": "ISO3166-2-lvl4", "dtype": "string"}, {"name": "ISO3166-2-lvl6", "dtype": "string"}, {"name": "ISO3166-2-lvl7", "dtype": "string"}, {"name": "aerialway", "dtype": "string"}, {"name": "aeroway", "dtype": "string"}, {"name": "allotments", "dtype": "string"}, {"name": "amenity", "dtype": "string"}, {"name": "bridge", "dtype": "string"}, {"name": "building", "dtype": "string"}, {"name": "city", "dtype": "string"}, {"name": "city_district", "dtype": "string"}, {"name": "club", "dtype": "string"}, {"name": "commercial", "dtype": "string"}, {"name": "country", "dtype": "string"}, {"name": "country_code", "dtype": "string"}, {"name": "county", "dtype": "string"}, {"name": "craft", "dtype": "string"}, {"name": "emergency", "dtype": "string"}, {"name": "farm", "dtype": "string"}, {"name": "farmyard", "dtype": "string"}, {"name": "hamlet", "dtype": "string"}, {"name": "healthcare", "dtype": "string"}, {"name": "highway", "dtype": "string"}, {"name": "historic", "dtype": "string"}, {"name": "house_number", "dtype": "string"}, {"name": "industrial", "dtype": "string"}, {"name": "isolated_dwelling", "dtype": "string"}, {"name": "junction", "dtype": "string"}, {"name": "landuse", "dtype": "string"}, {"name": "leisure", "dtype": "string"}, {"name": "locality", "dtype": "string"}, {"name": "man_made", "dtype": "string"}, {"name": "military", "dtype": "string"}, {"name": "municipality", "dtype": "string"}, {"name": "natural", "dtype": "string"}, {"name": "neighbourhood", "dtype": "string"}, {"name": "office", "dtype": "string"}, {"name": "place", "dtype": "string"}, {"name": "postcode", "dtype": "string"}, {"name": "province", "dtype": "string"}, {"name": "quarter", "dtype": "string"}, {"name": "railway", "dtype": "string"}, {"name": "region", "dtype": "string"}, {"name": "residential", "dtype": "string"}, {"name": "retail", "dtype": "string"}, {"name": "road", "dtype": "string"}, {"name": "shop", "dtype": "string"}, {"name": "square", "dtype": "string"}, {"name": "state", "dtype": "string"}, {"name": "state_district", "dtype": "string"}, {"name": "suburb", "dtype": "string"}, {"name": "tourism", "dtype": "string"}, {"name": "town", "dtype": "string"}, {"name": "village", "dtype": "string"}]}, {"name": "boundingbox", "sequence": "string"}, {"name": "camera", "dtype": "string"}, {"name": "code", "dtype": "string"}, {"name": "date", "dtype": "string"}, {"name": "dimensions", "sequence": "int64"}, {"name": "display_name", "dtype": "string"}, {"name": "domain", "dtype": "string"}, {"name": "lat", "dtype": "string"}, {"name": "latlong", "sequence": "float64"}, {"name": "licence", "dtype": "string"}, {"name": "lon", "dtype": "string"}, {"name": "origin", "sequence": "float64"}, {"name": "osm_id", "dtype": "int64"}, {"name": "osm_type", "dtype": "string"}, {"name": "patch_centroid_x", "dtype": "float64"}, {"name": "patch_centroid_y", "dtype": "float64"}, {"name": "patch_centroid_z", "dtype": "float64"}, {"name": "place_id", "dtype": "int64"}, {"name": "time", "dtype": "string"}, {"name": "unit_system", "dtype": "string"}, {"name": "zone", "dtype": "string"}]}, {"name": "class_rep", "struct": [{"name": "class_repartition", "struct": [{"name": "agricultural land", "dtype": "float64"}, {"name": "bare soil", "dtype": "float64"}, {"name": "brushwood", "dtype": "float64"}, {"name": "building", "dtype": "float64"}, {"name": "clear cut", "dtype": "float64"}, {"name": "coniferous", "dtype": "float64"}, {"name": "deciduous", "dtype": "float64"}, {"name": "greenhouse", "dtype": "float64"}, {"name": "herbaceous vegetation", "dtype": "float64"}, {"name": "impervious surface", "dtype": "float64"}, {"name": "ligneous", "dtype": "float64"}, {"name": "mixed", "dtype": "float64"}, {"name": "other", "dtype": "float64"}, {"name": "pervious surface", "dtype": "float64"}, {"name": "plowed land", "dtype": "float64"}, {"name": "snow", "dtype": "float64"}, {"name": "swimming pool", "dtype": "float64"}, {"name": "vineyard", "dtype": "float64"}, {"name": "water", "dtype": "float64"}]}]}, {"name": "prompt", "dtype": "string"}, {"name": "clip_label", "dtype": "string"}], "splits": [{"name": "train", "num_bytes": 26842989610.0, "num_examples": 61712}], "download_size": 26786210818, "dataset_size": 26842989610.0}, "tags": ["IGN"], "configs": [{"config_name": "default", "data_files": [{"split": "train", "path": "data/train-*"}]}]}
TAGS
#size_categories-10K<n<100K #IGN #region-us 

# Dataset Card for "FLAIR_OSM_CLIP"

Dataset for the Seg2Sat model: URL

Derived from FLAIR#1 train split.

This dataset incudes the following features:
- image: FLAIR#1 .tif files RBG bands converted into a more managable jpg format
- segmentation: FLAIR#1 segmentation converted to JPG using the LUT from the documentation
- metadata: OSM metadata for the centroid of the image
- clip_label: CLIP ViT-H description
- class_rep: ratio of appearance of each class in the segmentation
- prompt: Prompt used for the Seg2Sat model


# Dataset Card for "FLAIR_OSM_CLIP"

Dataset for the Seg2Sat model: URL

Derived from FLAIR#1 train split.

This dataset incudes the following features:
- image: FLAIR#1 .tif files RBG bands converted into a more managable jpg format
- segmentation: FLAIR#1 segmentation converted to JPG using the LUT from the documentation
- metadata: OSM metadata for the centroid of the image
- clip_label: CLIP ViT-H description
- class_rep: ratio of appearance of each class in the segmentation
- prompt: Prompt used for the Seg2Sat model
TAGS
#size_categories-10K<n<100K #IGN #region-us 
 # Dataset Card for "FLAIR_OSM_CLIP"

Dataset for the Seg2Sat model: URL

Derived from FLAIR#1 train split.

This dataset incudes the following features:
- image: FLAIR#1 .tif files RBG bands converted into a more managable jpg format
- segmentation: FLAIR#1 segmentation converted to JPG using the LUT from the documentation
- metadata: OSM metadata for the centroid of the image
- clip_label: CLIP ViT-H description
- class_rep: ratio of appearance of each class in the segmentation
- prompt: Prompt used for the Seg2Sat model
passage: TAGS
#size_categories-10K<n<100K #IGN #region-us 
# Dataset Card for "FLAIR_OSM_CLIP"

Dataset for the Seg2Sat model: URL

Derived from FLAIR#1 train split.

This dataset incudes the following features:
- image: FLAIR#1 .tif files RBG bands converted into a more managable jpg format
- segmentation: FLAIR#1 segmentation converted to JPG using the LUT from the documentation
- metadata: OSM metadata for the centroid of the image
- clip_label: CLIP ViT-H description
- class_rep: ratio of appearance of each class in the segmentation
- prompt: Prompt used for the Seg2Sat model