RicardoString commited on
Commit
3354adf
·
verified ·
1 Parent(s): b14b750

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
.gitattributes CHANGED
@@ -58,3 +58,4 @@ 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
+ test/metadata.jsonl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,99 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ # RSReasoner-Bench
6
+
7
+ RSReasoner-Bench is a diagnostic benchmark for evaluating geospatial reasoning segmentation across category expression, attribute nature, and same-category competition. It also serves as the held-out test set of RSReasoner. Each target has one aerial image, one segmentation mask, and 13 query conditions referring to the same target.
8
+
9
+ ## Data scale
10
+
11
+ | Item | Count |
12
+ |---|---:|
13
+ | Split | `test` |
14
+ | Targets / images / masks | 5,800 each |
15
+ | Image format and resolution | RGB PNG, 448 × 448 pixels |
16
+ | Canonical queries | 23,200 |
17
+ | Controlled diagnostic queries | 52,200 |
18
+ | Total query-mask pairs | 75,400 |
19
+ | Text answers (EI and II) | 11,600 |
20
+ | Area / non-area targets | 2,800 / 3,000 |
21
+ | With / without same-category competitors | 2,784 / 3,016 |
22
+
23
+ ## Query types
24
+
25
+ All 13 conditions contain 5,800 queries each and share the same target masks.
26
+
27
+ | Type | Description | JSONL field |
28
+ |---|---|---|
29
+ | EP | Explicit-perceptual | `ep_query` |
30
+ | IP | Implicit-perceptual | `ip_query` |
31
+ | EI | Explicit-inferential | `ei_query` |
32
+ | II | Implicit-inferential | `ii_query` |
33
+ | C | Category-only reference | `c_query` |
34
+ | Ctrl-EP | Controlled explicit-perceptual | `ctrl_ep_query` |
35
+ | Ctrl-EI | Controlled explicit-inferential | `ctrl_ei_query` |
36
+ | M-PI | Perceptual-first mixed attributes | `m_pi_query` |
37
+ | M-IP | Inferential-first mixed attributes | `m_ip_query` |
38
+ | EP-Imp | EP with an implicit category reference | `ep_implicit_query` |
39
+ | IP-Exp | IP with an explicit category reference | `ip_explicit_query` |
40
+ | EI-Imp | EI with an implicit category reference | `ei_implicit_query` |
41
+ | II-Exp | II with an explicit category reference | `ii_explicit_query` |
42
+
43
+ ## Fields
44
+
45
+ Each line of `test/metadata.jsonl` describes one target. In addition to the query fields above, each record contains the following fields.
46
+
47
+ | Field | Type | Description |
48
+ |---|---|---|
49
+ | `id` | integer | Unique target identifier. |
50
+ | `patch_id` | integer | Source image-patch identifier. |
51
+ | `file_name` | string | Image path relative to `test/`, such as `images/000001.png`. |
52
+ | `type` | string | Target geometry: `area` or `non-area`. |
53
+ | `has_same_category_instance` | integer | `1` if another instance of the same category is present in the image; otherwise `0`. |
54
+ | `main_tag` | string | Normalized main OSM tag, expressed as `key=value`. |
55
+ | `full_tag` | object | Original OSM key-value dictionary; keys and values are strings. |
56
+ | `mask_rle` | object | COCO compressed RLE: `size` is `[height, width]`, and `counts` is a string. |
57
+ | `bbox` | array | Target bounding box in pixels: `[x, y, width, height]`. |
58
+ | `category_only_category` | string | Category phrase associated with category-only and controlled query construction. |
59
+ | `ei_answer` | string | Reference reasoning answer for the EI query. |
60
+ | `ii_answer` | string | Reference reasoning answer for the II query. |
61
+
62
+ ## Reading images and masks
63
+
64
+ ```text
65
+ RSReasoner-Bench/
66
+ ├── README.md
67
+ └── test/
68
+ ├── metadata.jsonl
69
+ └── images/
70
+ ├── 000001.png
71
+ └── ...
72
+ ```
73
+
74
+ The following example reads one JSONL record and loads its image and segmentation mask. Set `root` to your local dataset directory. Image and mask loading requires `Pillow` and `pycocotools`.
75
+
76
+ ```python
77
+ import json
78
+ from pathlib import Path
79
+ from PIL import Image
80
+ from pycocotools import mask as mask_utils
81
+
82
+ root = Path("RSReasoner-Bench")
83
+ split = root / "test"
84
+
85
+ with (split / "metadata.jsonl").open(encoding="utf-8") as f:
86
+ sample = json.loads(next(f)) # For all records: for line in f: sample = json.loads(line)
87
+
88
+ with Image.open(split / sample["file_name"]) as src:
89
+ image = src.copy()
90
+
91
+ rle = sample["mask_rle"]
92
+ mask = mask_utils.decode({
93
+ "size": rle["size"],
94
+ "counts": rle["counts"].encode("ascii"),
95
+ }) # 1 = target, 0 = background
96
+
97
+ print(sample["id"], sample["ei_query"])
98
+ print(image.size, mask.shape) # (448, 448), (448, 448)
99
+ ```
test/images/000001.png ADDED

Git LFS Details

  • SHA256: 7c6aad58d02ab0d5ed87ea52c27b67a18363f20bcbc74fe67800286344ad438c
  • Pointer size: 131 Bytes
  • Size of remote file: 430 kB
test/images/000002.png ADDED

Git LFS Details

  • SHA256: 8c5618aba947bbb9ede7b98f744feeef2359d5542cfcb36048be834e60e47f07
  • Pointer size: 131 Bytes
  • Size of remote file: 284 kB
test/images/000003.png ADDED

Git LFS Details

  • SHA256: 0d5e4dbbbfda37205094b5e21d7d5de758b0c667f0be196d60ce7ce446771ca7
  • Pointer size: 131 Bytes
  • Size of remote file: 363 kB
test/images/000004.png ADDED

Git LFS Details

  • SHA256: 0c16da45ae630c2113c3cf000134c1decc68c310c0420a199b6f6faca59d80bc
  • Pointer size: 131 Bytes
  • Size of remote file: 285 kB
test/images/000005.png ADDED

Git LFS Details

  • SHA256: c52bdcbc9c2a207777b0f0faea8b28442a8c109a26e0171b37db112f3c8a4ab9
  • Pointer size: 131 Bytes
  • Size of remote file: 289 kB
test/images/000006.png ADDED

Git LFS Details

  • SHA256: 0f3e7f5aafb2100adf322291327aad9120a88ba77f77408c8336c20e322ae91e
  • Pointer size: 131 Bytes
  • Size of remote file: 336 kB
test/images/000007.png ADDED

Git LFS Details

  • SHA256: bb0ed93bca38094b6f0df805a862139418e22969fed971563430e4d82882ef1d
  • Pointer size: 131 Bytes
  • Size of remote file: 316 kB
test/images/000008.png ADDED

Git LFS Details

  • SHA256: 220e7ff9d6813d7294ca1e786ab2a35076eda19d29304c9ff638eb2a3d01f56c
  • Pointer size: 131 Bytes
  • Size of remote file: 323 kB
test/images/000009.png ADDED

Git LFS Details

  • SHA256: 3a5419288879cb46fad94387ab8ed0e0b32f0acb0a184823a85d8d5dcd4184be
  • Pointer size: 131 Bytes
  • Size of remote file: 203 kB
test/images/000010.png ADDED

Git LFS Details

  • SHA256: 02bfd3a477460a75ed69cd8e8fa584dfe436117912eca31cf802763ec74336d7
  • Pointer size: 131 Bytes
  • Size of remote file: 346 kB
test/images/000011.png ADDED

Git LFS Details

  • SHA256: fd80908de0ff2077536412b668ac1b5516a9355c81e90d1c87f38b1a16c54877
  • Pointer size: 131 Bytes
  • Size of remote file: 376 kB
test/images/000012.png ADDED

Git LFS Details

  • SHA256: ffa671851ae3336ccd5167330ff7d65a666ee698962a4120db6f9cbe4f657f4d
  • Pointer size: 131 Bytes
  • Size of remote file: 282 kB
test/images/000013.png ADDED

Git LFS Details

  • SHA256: 445df193418d1bf12f1c777d6d5784159345f81b7d8fddc12f09827dea7d1f96
  • Pointer size: 131 Bytes
  • Size of remote file: 273 kB
test/images/000014.png ADDED

Git LFS Details

  • SHA256: dd96f2d5d655763218a4c6a58d581260c84f8be33ae87670339e8d08f63db134
  • Pointer size: 131 Bytes
  • Size of remote file: 417 kB
test/images/000015.png ADDED

Git LFS Details

  • SHA256: 5c656eeb9d1fdbf701e643a6e1c2dd7ec8cb23c50a73fef1f9622e2e8972eb3c
  • Pointer size: 131 Bytes
  • Size of remote file: 376 kB
test/images/000016.png ADDED

Git LFS Details

  • SHA256: bef92e6677c820fb62aeef2418a1fb2c0325c389ece140f753f84ab15dd85b9c
  • Pointer size: 131 Bytes
  • Size of remote file: 347 kB
test/images/000017.png ADDED

Git LFS Details

  • SHA256: 72019b1101ae6ae74363310ab21a4e8e44a3c2f04c156c5a7fd742563cb7f0b8
  • Pointer size: 131 Bytes
  • Size of remote file: 242 kB
test/images/000018.png ADDED

Git LFS Details

  • SHA256: 1f62ecd025e49cdfa48e52347efc688604ac3c8a83377e56ad7e6f9a4197193f
  • Pointer size: 131 Bytes
  • Size of remote file: 362 kB
test/images/000019.png ADDED

Git LFS Details

  • SHA256: 8ba2e639021b52a7ee09f00e8245d9452149da0b7e6fd80f56db531b69c29803
  • Pointer size: 131 Bytes
  • Size of remote file: 298 kB
test/images/000020.png ADDED

Git LFS Details

  • SHA256: 06d2738159f106d284e673abb567e9f6126838dbe303d3bbf531b89db9ceb1f6
  • Pointer size: 131 Bytes
  • Size of remote file: 250 kB
test/images/000021.png ADDED

Git LFS Details

  • SHA256: df343ee6827545e22a2baa74266594474c98cebed90349dc58abbe47106a7eb8
  • Pointer size: 131 Bytes
  • Size of remote file: 276 kB
test/images/000022.png ADDED

Git LFS Details

  • SHA256: dd8335a6a15043def50ddc87c67dcb982e39418cb1f66a49febe98cc234c158c
  • Pointer size: 131 Bytes
  • Size of remote file: 296 kB
test/images/000023.png ADDED

Git LFS Details

  • SHA256: 2fdca28e5d6034911b7bfc7e5988cb69ef38fb7819eb912ddb949714f1d26101
  • Pointer size: 131 Bytes
  • Size of remote file: 335 kB
test/images/000024.png ADDED

Git LFS Details

  • SHA256: 81e58e886039b99cca0d601d07024b913715256b6041f3c07ecac069f6852ffc
  • Pointer size: 131 Bytes
  • Size of remote file: 326 kB
test/images/000025.png ADDED

Git LFS Details

  • SHA256: b334139baa21564c1c67936dab887c50c31f4b14d6387e6df4559c45de0c4abe
  • Pointer size: 131 Bytes
  • Size of remote file: 301 kB
test/images/000026.png ADDED

Git LFS Details

  • SHA256: 61913696c305c8eef3574982510a52a8c124c7eaef75a7f815a9a3b01bbb7da5
  • Pointer size: 131 Bytes
  • Size of remote file: 338 kB
test/images/000027.png ADDED

Git LFS Details

  • SHA256: 634ed8130a6362b877f09d57559cea9a5eecddf0d5523e683c692f30a1e95365
  • Pointer size: 131 Bytes
  • Size of remote file: 366 kB
test/images/000028.png ADDED

Git LFS Details

  • SHA256: 125828bdf70baeddbb890051ade0b3183e8b577caffba8e45a929e7effc60109
  • Pointer size: 131 Bytes
  • Size of remote file: 297 kB
test/images/000029.png ADDED

Git LFS Details

  • SHA256: 86fe55c27296edfcbc8500d7f705c0471bbef93188b3976d2ede0b8bf5b839da
  • Pointer size: 131 Bytes
  • Size of remote file: 308 kB
test/images/000030.png ADDED

Git LFS Details

  • SHA256: bab180e330a525ea60056a03ad58621d77ab88de7a3a4d8790b8b460c95866c5
  • Pointer size: 131 Bytes
  • Size of remote file: 315 kB
test/images/000031.png ADDED

Git LFS Details

  • SHA256: d629fda15bc989d5e1deaa9f0e5609c58fb2408afb850b42a882560fdcc7a75a
  • Pointer size: 131 Bytes
  • Size of remote file: 353 kB
test/images/000032.png ADDED

Git LFS Details

  • SHA256: 5c7f04ac73a26bf09dda501d13df6837967063bed0772facf9f4c039bb695093
  • Pointer size: 131 Bytes
  • Size of remote file: 342 kB
test/images/000033.png ADDED

Git LFS Details

  • SHA256: c0cea0d906da39e5e9c929f65897935078ad3d819c04742b3c6d1cc77c5f74f7
  • Pointer size: 131 Bytes
  • Size of remote file: 290 kB
test/images/000034.png ADDED

Git LFS Details

  • SHA256: a97584648a18175830b434218960ca75f2d8b4ed8d58901af2ad04da3f72cd35
  • Pointer size: 131 Bytes
  • Size of remote file: 359 kB
test/images/000035.png ADDED

Git LFS Details

  • SHA256: f2bbd3b091ee441e989367e4219f666b64cd99848c653a6589ce851f776de76d
  • Pointer size: 131 Bytes
  • Size of remote file: 339 kB
test/images/000036.png ADDED

Git LFS Details

  • SHA256: f098493e1fae7eb4177c47991534238b9100af06a05096b6bc60c3d69965cfaa
  • Pointer size: 131 Bytes
  • Size of remote file: 239 kB
test/images/000037.png ADDED

Git LFS Details

  • SHA256: 6f63b4b74596a13df61783634431dafcede06460edd2f720aaf9deef302fbb67
  • Pointer size: 131 Bytes
  • Size of remote file: 252 kB
test/images/000038.png ADDED

Git LFS Details

  • SHA256: 9f80a212029a5ce6276883a7e5bb010746b7a6821bb51aad7a2e403f23b17d91
  • Pointer size: 131 Bytes
  • Size of remote file: 280 kB
test/images/000039.png ADDED

Git LFS Details

  • SHA256: 34d157d48227ece8053c2ec24a6659cb1d538e542e3697a927d2ae8a34c56307
  • Pointer size: 131 Bytes
  • Size of remote file: 335 kB
test/images/000040.png ADDED

Git LFS Details

  • SHA256: c14cd720459579fbcaf717ee4a2e908bc9e49380e40e9d5a0d54124f51e50188
  • Pointer size: 131 Bytes
  • Size of remote file: 335 kB
test/images/000041.png ADDED

Git LFS Details

  • SHA256: 8e96a6804924c70fd281022ecb7a87fc330646df80995556936ad56425160e4d
  • Pointer size: 131 Bytes
  • Size of remote file: 303 kB
test/images/000042.png ADDED

Git LFS Details

  • SHA256: a79af1e3e257ab193af41205679640656cd158f5356c15024c5e34703ee90bc9
  • Pointer size: 131 Bytes
  • Size of remote file: 358 kB
test/images/000043.png ADDED

Git LFS Details

  • SHA256: c7529b0ac5fff849b42d7e637ce79164c85d9e7af7fba7414ccdd1b6570efdff
  • Pointer size: 131 Bytes
  • Size of remote file: 237 kB
test/images/000044.png ADDED

Git LFS Details

  • SHA256: ba9c7d455a98f014ac314c00121d06a2c004dd63b324a49abc73d60c75e1bd12
  • Pointer size: 131 Bytes
  • Size of remote file: 231 kB
test/images/000045.png ADDED

Git LFS Details

  • SHA256: 9592c8d34e29205de7167f19be5dadc0727b7b6876b4fd7991d1351193a0d0a4
  • Pointer size: 131 Bytes
  • Size of remote file: 314 kB
test/images/000046.png ADDED

Git LFS Details

  • SHA256: 1a1588d5b5748f2090209e077980a02ca773adf8ce39dfa149b38130b26fb826
  • Pointer size: 131 Bytes
  • Size of remote file: 256 kB
test/images/000047.png ADDED

Git LFS Details

  • SHA256: 14baf0336325014403fc84860652248cd0010e5a443f52aba24827e1d86792e2
  • Pointer size: 131 Bytes
  • Size of remote file: 304 kB
test/images/000048.png ADDED

Git LFS Details

  • SHA256: 66b0666ad80e44b7fc3fd57ca77539c38bc42952a558115029e8e255128ca42a
  • Pointer size: 131 Bytes
  • Size of remote file: 281 kB