Datasets:
Add files using upload-large-folder tool
Browse files- .gitattributes +7 -0
- README.md +106 -0
- data/test.lance/_indices/35dad343-8d36-4776-bb7a-a54ef422f15f/auxiliary.idx +3 -0
- data/test.lance/_indices/35dad343-8d36-4776-bb7a-a54ef422f15f/index.idx +0 -0
- data/test.lance/_indices/94524cd0-817f-4ff7-b26c-d44f3de9381d/bitmap_page_lookup.lance +0 -0
- data/test.lance/_indices/cb72ddbf-3cc3-4b82-aa04-25268df5e6b8/page_data.lance +0 -0
- data/test.lance/_indices/cb72ddbf-3cc3-4b82-aa04-25268df5e6b8/page_lookup.lance +0 -0
- data/test.lance/_transactions/0-b015eec0-6162-4797-8c79-138552c59456.txn +0 -0
- data/test.lance/_transactions/1-45b84247-671a-4c22-bb1e-09fa0bccb41f.txn +0 -0
- data/test.lance/_transactions/2-a4f53776-45d2-46fe-9b5c-6d80d535166a.txn +0 -0
- data/test.lance/_transactions/3-40375bc8-96d2-4d42-8330-ef0f69edb3ca.txn +0 -0
- data/test.lance/_versions/18446744073709551611.manifest +0 -0
- data/test.lance/_versions/18446744073709551612.manifest +0 -0
- data/test.lance/_versions/18446744073709551613.manifest +0 -0
- data/test.lance/_versions/18446744073709551614.manifest +0 -0
- data/test.lance/data/1000100010110001100111102e403e42b4aec2e479743eed7b.lance +3 -0
- data/train.lance/_indices/17ff10d3-586d-4b2d-8469-5c17e9f0629a/bitmap_page_lookup.lance +0 -0
- data/train.lance/_indices/85b07c59-167a-4dcc-9600-4bfc472695ab/auxiliary.idx +3 -0
- data/train.lance/_indices/85b07c59-167a-4dcc-9600-4bfc472695ab/index.idx +3 -0
- data/train.lance/_indices/bfefe2cf-0699-4743-ae0a-9f1dec9a4753/page_data.lance +0 -0
- data/train.lance/_indices/bfefe2cf-0699-4743-ae0a-9f1dec9a4753/page_lookup.lance +0 -0
- data/train.lance/_transactions/0-5ddcaa10-5a89-4af3-81a0-b938ec19bb64.txn +0 -0
- data/train.lance/_transactions/1-4226ba7c-f2b1-42ee-8516-062c7c311d1d.txn +0 -0
- data/train.lance/_transactions/2-5f8d6913-959e-4912-aced-b4ad0400df51.txn +0 -0
- data/train.lance/_transactions/3-f42ffc3e-03dc-4801-94cd-e24f7e5d2dcd.txn +0 -0
- data/train.lance/_versions/18446744073709551611.manifest +0 -0
- data/train.lance/_versions/18446744073709551612.manifest +0 -0
- data/train.lance/_versions/18446744073709551613.manifest +0 -0
- data/train.lance/_versions/18446744073709551614.manifest +0 -0
- data/train.lance/data/1101011001000100111110102ecf564f0a8186f69e9d02645a.lance +3 -0
- data/validation.lance/_indices/621e2dc1-1267-4052-b180-f6c82f7bb21f/bitmap_page_lookup.lance +0 -0
- data/validation.lance/_indices/a15c7106-72d6-4f0d-9fbe-b50fe99e4288/page_data.lance +0 -0
- data/validation.lance/_indices/a15c7106-72d6-4f0d-9fbe-b50fe99e4288/page_lookup.lance +0 -0
- data/validation.lance/_indices/fa4893e4-d0fa-43e2-a452-2d1b2122d331/auxiliary.idx +3 -0
- data/validation.lance/_indices/fa4893e4-d0fa-43e2-a452-2d1b2122d331/index.idx +0 -0
- data/validation.lance/_transactions/0-fd8546a5-33d5-4e92-9f02-a098bbcc12a1.txn +0 -0
- data/validation.lance/_transactions/1-2a182677-cfd5-4e93-a978-c623315c93eb.txn +0 -0
- data/validation.lance/_transactions/2-f62b696c-244c-4afd-81ed-9e5fd9e2e156.txn +0 -0
- data/validation.lance/_transactions/3-6f119c48-eea4-47f2-ad3b-0d2f3b073574.txn +0 -0
- data/validation.lance/_versions/18446744073709551611.manifest +0 -0
- data/validation.lance/_versions/18446744073709551612.manifest +0 -0
- data/validation.lance/_versions/18446744073709551613.manifest +0 -0
- data/validation.lance/_versions/18446744073709551614.manifest +0 -0
- data/validation.lance/data/11111000101100101101110187add04f8da4bf4cc5bab3b90f.lance +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
data/validation.lance/_indices/fa4893e4-d0fa-43e2-a452-2d1b2122d331/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
data/test.lance/_indices/35dad343-8d36-4776-bb7a-a54ef422f15f/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
data/train.lance/_indices/85b07c59-167a-4dcc-9600-4bfc472695ab/index.idx filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
data/train.lance/_indices/85b07c59-167a-4dcc-9600-4bfc472695ab/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
data/validation.lance/data/11111000101100101101110187add04f8da4bf4cc5bab3b90f.lance filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
data/test.lance/data/1000100010110001100111102e403e42b4aec2e479743eed7b.lance filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
data/train.lance/data/1101011001000100111110102ecf564f0a8186f69e9d02645a.lance filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
- image-feature-extraction
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- eurosat
|
| 10 |
+
- sentinel-2
|
| 11 |
+
- satellite
|
| 12 |
+
- remote-sensing
|
| 13 |
+
- geo
|
| 14 |
+
- lance
|
| 15 |
+
- clip-embeddings
|
| 16 |
+
pretty_name: eurosat-lance
|
| 17 |
+
size_categories:
|
| 18 |
+
- 10K<n<100K
|
| 19 |
+
---
|
| 20 |
+
# EuroSAT (Lance Format)
|
| 21 |
+
|
| 22 |
+
Lance-formatted version of [EuroSAT](https://github.com/phelber/eurosat) — Sentinel-2 satellite imagery (RGB) covering **27,000 64×64 tiles** across 10 land-cover classes, sourced from [`blanchon/EuroSAT_RGB`](https://huggingface.co/datasets/blanchon/EuroSAT_RGB).
|
| 23 |
+
|
| 24 |
+
This is the canonical "geo" tile-level classification benchmark, useful for remote sensing pre-training and small-tile retrieval research.
|
| 25 |
+
|
| 26 |
+
## Splits
|
| 27 |
+
|
| 28 |
+
| Split | Rows |
|
| 29 |
+
|-------|------|
|
| 30 |
+
| `train.lance` | 16,200 |
|
| 31 |
+
| `validation.lance` | 5,400 |
|
| 32 |
+
| `test.lance` | 5,400 |
|
| 33 |
+
|
| 34 |
+
## Schema
|
| 35 |
+
|
| 36 |
+
| Column | Type | Notes |
|
| 37 |
+
|---|---|---|
|
| 38 |
+
| `id` | `int64` | Row index within split |
|
| 39 |
+
| `image` | `large_binary` | Inline JPEG bytes (64×64 RGB Sentinel-2) |
|
| 40 |
+
| `label` | `int32` | Class id (0-9) |
|
| 41 |
+
| `label_name` | `string` | `Annual_Crop`, `Forest`, `Herbaceous_Vegetation`, `Highway`, `Industrial_Buildings`, `Pasture`, `Permanent_Crop`, `Residential_Buildings`, `River`, `SeaLake` |
|
| 42 |
+
| `image_emb` | `fixed_size_list<float32, 512>` | OpenCLIP `ViT-B-32` image embedding (cosine-normalized) |
|
| 43 |
+
|
| 44 |
+
## Pre-built indices
|
| 45 |
+
|
| 46 |
+
- `IVF_PQ` on `image_emb` — `metric=cosine`
|
| 47 |
+
- `BTREE` on `label`
|
| 48 |
+
- `BITMAP` on `label_name`
|
| 49 |
+
|
| 50 |
+
## Quick start
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
import lance
|
| 54 |
+
|
| 55 |
+
ds = lance.dataset("hf://datasets/lance-format/eurosat-lance/data/train.lance")
|
| 56 |
+
print(ds.count_rows(), ds.schema.names, ds.list_indices())
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## Visual similarity search
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
import lance
|
| 63 |
+
import pyarrow as pa
|
| 64 |
+
|
| 65 |
+
ds = lance.dataset("hf://datasets/lance-format/eurosat-lance/data/train.lance")
|
| 66 |
+
emb_field = ds.schema.field("image_emb")
|
| 67 |
+
ref = ds.take([0], columns=["image_emb", "label_name"]).to_pylist()[0]
|
| 68 |
+
query = pa.array([ref["image_emb"]], type=emb_field.type)
|
| 69 |
+
|
| 70 |
+
hits = ds.scanner(
|
| 71 |
+
nearest={"column": "image_emb", "q": query[0], "k": 5, "nprobes": 16, "refine_factor": 30},
|
| 72 |
+
columns=["id", "label_name"],
|
| 73 |
+
).to_table().to_pylist()
|
| 74 |
+
print(f"reference: {ref['label_name']}")
|
| 75 |
+
for h in hits:
|
| 76 |
+
print(h)
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
## Filter by class
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
import lance
|
| 83 |
+
ds = lance.dataset("hf://datasets/lance-format/eurosat-lance/data/train.lance")
|
| 84 |
+
rivers = ds.scanner(filter="label_name = 'River'", columns=["id"], limit=5).to_table()
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
## Why Lance?
|
| 88 |
+
|
| 89 |
+
- One dataset for tiles + embeddings + indices — no sidecar TIF folder per class.
|
| 90 |
+
- On-disk vector and FTS indices live next to the data, so search works on local copies and on the Hub.
|
| 91 |
+
- Schema evolution: add columns (multi-spectral channels, model predictions, fresh embeddings) without rewriting the data.
|
| 92 |
+
|
| 93 |
+
## Source & license
|
| 94 |
+
|
| 95 |
+
Converted from [`blanchon/EuroSAT_RGB`](https://huggingface.co/datasets/blanchon/EuroSAT_RGB). EuroSAT is released under the MIT license by Helber et al. The underlying Sentinel-2 imagery is © European Space Agency, made available under the [Copernicus open data policy](https://www.copernicus.eu/en/access-data/copyright-and-licences).
|
| 96 |
+
|
| 97 |
+
## Citation
|
| 98 |
+
|
| 99 |
+
```
|
| 100 |
+
@inproceedings{helber2019eurosat,
|
| 101 |
+
title={EuroSAT: A novel dataset and deep learning benchmark for land use and land cover classification},
|
| 102 |
+
author={Helber, Patrick and Bischke, Benjamin and Dengel, Andreas and Borth, Damian},
|
| 103 |
+
journal={IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing},
|
| 104 |
+
year={2019}
|
| 105 |
+
}
|
| 106 |
+
```
|
data/test.lance/_indices/35dad343-8d36-4776-bb7a-a54ef422f15f/auxiliary.idx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:280c18aa327f444fbd8cc439e3a4c95037fc4c643ec3f0913fd9d2f8f2b2e468
|
| 3 |
+
size 881796
|
data/test.lance/_indices/35dad343-8d36-4776-bb7a-a54ef422f15f/index.idx
ADDED
|
Binary file (33.1 kB). View file
|
|
|
data/test.lance/_indices/94524cd0-817f-4ff7-b26c-d44f3de9381d/bitmap_page_lookup.lance
ADDED
|
Binary file (11.9 kB). View file
|
|
|
data/test.lance/_indices/cb72ddbf-3cc3-4b82-aa04-25268df5e6b8/page_data.lance
ADDED
|
Binary file (9.93 kB). View file
|
|
|
data/test.lance/_indices/cb72ddbf-3cc3-4b82-aa04-25268df5e6b8/page_lookup.lance
ADDED
|
Binary file (1.26 kB). View file
|
|
|
data/test.lance/_transactions/0-b015eec0-6162-4797-8c79-138552c59456.txn
ADDED
|
Binary file (317 Bytes). View file
|
|
|
data/test.lance/_transactions/1-45b84247-671a-4c22-bb1e-09fa0bccb41f.txn
ADDED
|
Binary file (189 Bytes). View file
|
|
|
data/test.lance/_transactions/2-a4f53776-45d2-46fe-9b5c-6d80d535166a.txn
ADDED
|
Binary file (192 Bytes). View file
|
|
|
data/test.lance/_transactions/3-40375bc8-96d2-4d42-8330-ef0f69edb3ca.txn
ADDED
|
Binary file (183 Bytes). View file
|
|
|
data/test.lance/_versions/18446744073709551611.manifest
ADDED
|
Binary file (1.21 kB). View file
|
|
|
data/test.lance/_versions/18446744073709551612.manifest
ADDED
|
Binary file (1.08 kB). View file
|
|
|
data/test.lance/_versions/18446744073709551613.manifest
ADDED
|
Binary file (927 Bytes). View file
|
|
|
data/test.lance/_versions/18446744073709551614.manifest
ADDED
|
Binary file (903 Bytes). View file
|
|
|
data/test.lance/data/1000100010110001100111102e403e42b4aec2e479743eed7b.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be755e688703eca31b2abcc121bf4d46536fe121cebc2fb330155f4ac8b1442c
|
| 3 |
+
size 20651253
|
data/train.lance/_indices/17ff10d3-586d-4b2d-8469-5c17e9f0629a/bitmap_page_lookup.lance
ADDED
|
Binary file (33.5 kB). View file
|
|
|
data/train.lance/_indices/85b07c59-167a-4dcc-9600-4bfc472695ab/auxiliary.idx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67280821207f2279e11439905700bd26ab26e930ed04ae9954543f1c26c9531c
|
| 3 |
+
size 1593605
|
data/train.lance/_indices/85b07c59-167a-4dcc-9600-4bfc472695ab/index.idx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea49eb2c82eddb552b0b1580131344d5739080a6f45b9ca856f2d5837aec68d1
|
| 3 |
+
size 131722
|
data/train.lance/_indices/bfefe2cf-0699-4743-ae0a-9f1dec9a4753/page_data.lance
ADDED
|
Binary file (28 kB). View file
|
|
|
data/train.lance/_indices/bfefe2cf-0699-4743-ae0a-9f1dec9a4753/page_lookup.lance
ADDED
|
Binary file (1.26 kB). View file
|
|
|
data/train.lance/_transactions/0-5ddcaa10-5a89-4af3-81a0-b938ec19bb64.txn
ADDED
|
Binary file (317 Bytes). View file
|
|
|
data/train.lance/_transactions/1-4226ba7c-f2b1-42ee-8516-062c7c311d1d.txn
ADDED
|
Binary file (189 Bytes). View file
|
|
|
data/train.lance/_transactions/2-5f8d6913-959e-4912-aced-b4ad0400df51.txn
ADDED
|
Binary file (193 Bytes). View file
|
|
|
data/train.lance/_transactions/3-f42ffc3e-03dc-4801-94cd-e24f7e5d2dcd.txn
ADDED
|
Binary file (184 Bytes). View file
|
|
|
data/train.lance/_versions/18446744073709551611.manifest
ADDED
|
Binary file (1.21 kB). View file
|
|
|
data/train.lance/_versions/18446744073709551612.manifest
ADDED
|
Binary file (1.08 kB). View file
|
|
|
data/train.lance/_versions/18446744073709551613.manifest
ADDED
|
Binary file (928 Bytes). View file
|
|
|
data/train.lance/_versions/18446744073709551614.manifest
ADDED
|
Binary file (904 Bytes). View file
|
|
|
data/train.lance/data/1101011001000100111110102ecf564f0a8186f69e9d02645a.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7d07e32329134a3bf7130a05e23ab33871f90c34c9ce47f0b778bb3581a615a
|
| 3 |
+
size 61989719
|
data/validation.lance/_indices/621e2dc1-1267-4052-b180-f6c82f7bb21f/bitmap_page_lookup.lance
ADDED
|
Binary file (11.9 kB). View file
|
|
|
data/validation.lance/_indices/a15c7106-72d6-4f0d-9fbe-b50fe99e4288/page_data.lance
ADDED
|
Binary file (9.93 kB). View file
|
|
|
data/validation.lance/_indices/a15c7106-72d6-4f0d-9fbe-b50fe99e4288/page_lookup.lance
ADDED
|
Binary file (1.26 kB). View file
|
|
|
data/validation.lance/_indices/fa4893e4-d0fa-43e2-a452-2d1b2122d331/auxiliary.idx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e970e4047dd929494ae3c017bd273d60b206edf03a0a16af8402bb4942fc91c
|
| 3 |
+
size 881796
|
data/validation.lance/_indices/fa4893e4-d0fa-43e2-a452-2d1b2122d331/index.idx
ADDED
|
Binary file (33.1 kB). View file
|
|
|
data/validation.lance/_transactions/0-fd8546a5-33d5-4e92-9f02-a098bbcc12a1.txn
ADDED
|
Binary file (317 Bytes). View file
|
|
|
data/validation.lance/_transactions/1-2a182677-cfd5-4e93-a978-c623315c93eb.txn
ADDED
|
Binary file (189 Bytes). View file
|
|
|
data/validation.lance/_transactions/2-f62b696c-244c-4afd-81ed-9e5fd9e2e156.txn
ADDED
|
Binary file (192 Bytes). View file
|
|
|
data/validation.lance/_transactions/3-6f119c48-eea4-47f2-ad3b-0d2f3b073574.txn
ADDED
|
Binary file (183 Bytes). View file
|
|
|
data/validation.lance/_versions/18446744073709551611.manifest
ADDED
|
Binary file (1.21 kB). View file
|
|
|
data/validation.lance/_versions/18446744073709551612.manifest
ADDED
|
Binary file (1.08 kB). View file
|
|
|
data/validation.lance/_versions/18446744073709551613.manifest
ADDED
|
Binary file (927 Bytes). View file
|
|
|
data/validation.lance/_versions/18446744073709551614.manifest
ADDED
|
Binary file (903 Bytes). View file
|
|
|
data/validation.lance/data/11111000101100101101110187add04f8da4bf4cc5bab3b90f.lance
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c9108f069fb24456a3279a7282eb4cc769b9b3509b4314570128954b7df9247
|
| 3 |
+
size 20646069
|