Datasets:
Modalities:
Image
Size:
1K<n<10K
Tags:
computer-vision
segmentation
instance-segmentation
semantic-segmentation
panoptic-segmentation
mask2former
License:
Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'annotation'}) and 1 missing columns ({'annotations'}).
This happened while the json dataset builder was generating data using
hf://datasets/Spatiallysaying/rwy_obb_mask2former-300-65-65/train/train_annotations.json (at revision fd1903fd3a3c79a7dac1de134cfd997c10fdc340)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
image: struct<id: int64, file_name: string, width: int64, height: int64>
child 0, id: int64
child 1, file_name: string
child 2, width: int64
child 3, height: int64
annotation: struct<id: int64, category_id: int64, bbox: list<item: int64>, area: int64, segmentation: list<item: (... 36 chars omitted)
child 0, id: int64
child 1, category_id: int64
child 2, bbox: list<item: int64>
child 0, item: int64
child 3, area: int64
child 4, segmentation: list<item: list<item: int64>>
child 0, item: list<item: int64>
child 0, item: int64
child 5, iscrowd: int64
to
{'image': {'id': Value('int64'), 'file_name': Value('string'), 'width': Value('int64'), 'height': Value('int64')}, 'annotations': List({'id': Value('int64'), 'category_id': Value('int64'), 'bbox': List(Value('int64')), 'area': Value('int64'), 'segmentation': List(List(Value('int64'))), 'iscrowd': Value('int64')})}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1339, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'annotation'}) and 1 missing columns ({'annotations'}).
This happened while the json dataset builder was generating data using
hf://datasets/Spatiallysaying/rwy_obb_mask2former-300-65-65/train/train_annotations.json (at revision fd1903fd3a3c79a7dac1de134cfd997c10fdc340)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
image dict | annotations list |
|---|---|
{
"id": 143,
"file_name": "000deb258d46c009edca08ad0cff0dad.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
133,
372,
603,
425
],
"area": 11452,
"segmentation": [
[
727,
797,
736,
785,
142,
372,
133,
384,
727,
797
]
],
"iscrowd": 0
},
... |
{
"id": 290,
"file_name": "0093d04a5787d8f84e4d7e5e6eac8f80.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
287,
48,
376,
64
],
"area": 2476,
"segmentation": [
[
287,
106,
288,
112,
663,
53,
663,
48,
287,
106
]
],
"iscrowd": 0
},
{
... |
{
"id": 301,
"file_name": "009ad74100191f36e2bf42a5df30a6ff.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
64,
575,
876,
54
],
"area": 14909,
"segmentation": [
[
940,
629,
940,
613,
64,
575,
64,
591,
940,
629
]
],
"iscrowd": 0
},
{
... |
{
"id": 61,
"file_name": "00b111cd4b63db90594ae83482b5d939.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
605,
182,
105,
699
],
"area": 18362,
"segmentation": [
[
710,
185,
685,
182,
605,
878,
630,
881,
710,
185
]
],
"iscrowd": 0
},
... |
{
"id": 226,
"file_name": "00d1e0cdefdbe074f8ca90edeeee1dfa.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
53,
552,
911,
65
],
"area": 8233,
"segmentation": [
[
53,
609,
54,
617,
964,
560,
964,
552,
53,
609
]
],
"iscrowd": 0
},
{
... |
{
"id": 287,
"file_name": "016ca434fa696934cc0b33fc4ba5e2e6.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
111,
245,
884,
512
],
"area": 13554,
"segmentation": [
[
117,
245,
111,
256,
989,
757,
995,
746,
117,
245
]
],
"iscrowd": 0
},
... |
{
"id": 230,
"file_name": "01a2d0343f71aa0d76dc2188fdd2ebd3.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
784,
327,
13,
617
],
"area": 8652,
"segmentation": [
[
797,
327,
784,
327,
784,
944,
797,
944,
797,
327
]
],
"iscrowd": 0
},
... |
{
"id": 115,
"file_name": "0275f35dd082f4bf06c9464e23282c68.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
397,
278,
423,
364
],
"area": 10380,
"segmentation": [
[
808,
642,
820,
628,
409,
278,
397,
292,
808,
642
]
],
"iscrowd": 0
},
... |
{
"id": 275,
"file_name": "037ac743a4dad980df6cbe85b437e082.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
86,
250,
850,
733
],
"area": 23918,
"segmentation": [
[
936,
266,
923,
250,
86,
967,
100,
983,
936,
266
]
],
"iscrowd": 0
},
... |
{
"id": 256,
"file_name": "04280d0575a883ca36b970fa9d63ad44.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
490,
76,
13,
441
],
"area": 5083,
"segmentation": [
[
500,
76,
490,
76,
492,
517,
503,
517,
500,
76
]
],
"iscrowd": 0
},
{
... |
{
"id": 9,
"file_name": "04f839ef0c0bcd6af432e021473d95ac.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
430,
344,
209,
235
],
"area": 2520,
"segmentation": [
[
639,
349,
633,
344,
430,
574,
435,
579,
639,
349
]
],
"iscrowd": 0
},
... |
{
"id": 30,
"file_name": "05666c76859a94819673d2b92f564dc8.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
281,
526,
440,
74
],
"area": 4930,
"segmentation": [
[
283,
526,
281,
536,
720,
600,
721,
590,
283,
526
]
],
"iscrowd": 0
},
... |
{
"id": 30,
"file_name": "0575dd8b5c9a52edfae1b35ea97d971a.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
9,
111,
980,
549
],
"area": 18875,
"segmentation": [
[
981,
660,
989,
646,
17,
111,
9,
125,
981,
660
]
],
"iscrowd": 0
},
{
... |
{
"id": 138,
"file_name": "076b5f0aa081e34df9432d8f5205d008.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
47,
125,
369,
621
],
"area": 13598,
"segmentation": [
[
416,
134,
400,
125,
47,
737,
63,
746,
416,
134
]
],
"iscrowd": 0
},
{... |
{
"id": 64,
"file_name": "077a9f54fc4d87672deccad8b2dbb1df.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
327,
597,
378,
373
],
"area": 4999,
"segmentation": [
[
333,
597,
327,
603,
699,
970,
705,
963,
333,
597
]
],
"iscrowd": 0
},
... |
{
"id": 209,
"file_name": "0783d74208d28cc7fd8297bfff41c794.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
108,
481,
804,
130
],
"area": 3744,
"segmentation": [
[
109,
481,
108,
484,
911,
611,
912,
607,
109,
481
]
],
"iscrowd": 0
},
... |
{
"id": 81,
"file_name": "08b8237d1ccf6c2aad0041946f3ae3c4.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
417,
226,
489,
667
],
"area": 15498,
"segmentation": [
[
432,
226,
417,
237,
891,
893,
906,
883,
432,
226
]
],
"iscrowd": 0
},
... |
{
"id": 58,
"file_name": "090c144e450341a0ce09adc497c8afa3.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
25,
356,
821,
14
],
"area": 10275,
"segmentation": [
[
846,
367,
846,
356,
25,
358,
25,
370,
846,
367
]
],
"iscrowd": 0
},
{
... |
{
"id": 29,
"file_name": "09423849c5f655e89ba12a6623720bfa.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
40,
159,
607,
711
],
"area": 19222,
"segmentation": [
[
647,
172,
632,
159,
40,
857,
56,
870,
647,
172
]
],
"iscrowd": 0
},
{... |
{
"id": 49,
"file_name": "095ea660c4969b3465f0f51baa70d9f3.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
226,
208,
664,
324
],
"area": 12040,
"segmentation": [
[
226,
518,
233,
532,
890,
222,
883,
208,
226,
518
]
],
"iscrowd": 0
},
... |
{
"id": 246,
"file_name": "0a8d6c5ff57428ad18a6c0bde699a39d.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
421,
363,
457,
288
],
"area": 13016,
"segmentation": [
[
866,
651,
878,
630,
433,
363,
421,
384,
866,
651
]
],
"iscrowd": 0
},
... |
{
"id": 277,
"file_name": "0ca6c5553a73cd9170535d9428e489d1.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
240,
352,
608,
34
],
"area": 4263,
"segmentation": [
[
848,
358,
848,
352,
240,
380,
240,
386,
848,
358
]
],
"iscrowd": 0
},
... |
{
"id": 204,
"file_name": "0ce446fa6811375ea362c3271d758ff2.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
53,
552,
911,
65
],
"area": 8233,
"segmentation": [
[
53,
609,
54,
617,
964,
560,
964,
552,
53,
609
]
],
"iscrowd": 0
},
{
... |
{
"id": 233,
"file_name": "0cefddd01ef040f18ac9e43908c2395b.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
61,
448,
463,
230
],
"area": 5590,
"segmentation": [
[
524,
457,
520,
448,
61,
669,
66,
678,
524,
457
]
],
"iscrowd": 0
},
{
... |
{
"id": 23,
"file_name": "0d39ff4c15358691413c19e310fae1db.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
81,
235,
927,
572
],
"area": 15893,
"segmentation": [
[
1001,
807,
1008,
795,
88,
235,
81,
247,
1001,
807
]
],
"iscrowd": 0
},
... |
{
"id": 285,
"file_name": "0e1f30832081b0f3051cd236b9f34d4f.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
80,
418,
214,
283
],
"area": 3873,
"segmentation": [
[
88,
418,
80,
424,
285,
701,
294,
695,
88,
418
]
],
"iscrowd": 0
},
{
... |
{
"id": 148,
"file_name": "0e29ad748b43ecd8ec9da8cd78d1431d.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
176,
666,
715,
18
],
"area": 8947,
"segmentation": [
[
891,
677,
890,
666,
176,
672,
176,
684,
891,
677
]
],
"iscrowd": 0
},
... |
{
"id": 125,
"file_name": "0e3d63b5b65bf24afd47c89a57aeac6d.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
228,
267,
19,
490
],
"area": 8838,
"segmentation": [
[
247,
267,
230,
267,
228,
757,
245,
757,
247,
267
]
],
"iscrowd": 0
},
... |
{
"id": 238,
"file_name": "0e7d64714c07c46c750e74b670b46ff0.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
318,
278,
382,
561
],
"area": 6606,
"segmentation": [
[
326,
278,
318,
283,
693,
839,
700,
834,
326,
278
]
],
"iscrowd": 0
},
... |
{
"id": 1,
"file_name": "0ec35a8ea7a767ac41eb77484c03e3c2.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
138,
244,
680,
658
],
"area": 15157,
"segmentation": [
[
818,
255,
807,
244,
138,
891,
149,
902,
818,
255
]
],
"iscrowd": 0
},
... |
{
"id": 66,
"file_name": "0f7e012b0317c1b3c5bc6746fe41eaf0.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
209,
140,
706,
813
],
"area": 21069,
"segmentation": [
[
915,
152,
901,
140,
209,
940,
224,
953,
915,
152
]
],
"iscrowd": 0
},
... |
{
"id": 221,
"file_name": "0f96edfa7c5e2c01817ee8b6bd33b17e.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
136,
253,
670,
326
],
"area": 8091,
"segmentation": [
[
806,
262,
802,
253,
136,
570,
141,
579,
806,
262
]
],
"iscrowd": 0
},
... |
{
"id": 204,
"file_name": "1001e3be74d62606888d47403dda63d4.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
123,
678,
667,
16
],
"area": 10354,
"segmentation": [
[
790,
694,
790,
680,
123,
678,
123,
693,
790,
694
]
],
"iscrowd": 0
},
... |
{
"id": 131,
"file_name": "102e37cc24acb565a25c1556f19909f4.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
100,
410,
902,
273
],
"area": 11586,
"segmentation": [
[
1002,
421,
999,
410,
100,
672,
103,
683,
1002,
421
]
],
"iscrowd": 0
}... |
{
"id": 69,
"file_name": "1032d159f8daf7d953dbca2e97dbe086.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
317,
520,
548,
10
],
"area": 3843,
"segmentation": [
[
865,
526,
865,
520,
317,
524,
317,
530,
865,
526
]
],
"iscrowd": 0
},
... |
{
"id": 127,
"file_name": "10865206036ba36601b79df1c17683d1.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
69,
252,
875,
143
],
"area": 11565,
"segmentation": [
[
944,
264,
942,
252,
69,
383,
70,
395,
944,
264
]
],
"iscrowd": 0
},
{... |
{
"id": 211,
"file_name": "112f709df6fd5b0cb3b30d8f0ddaadf1.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
63,
356,
615,
475
],
"area": 13402,
"segmentation": [
[
678,
369,
668,
356,
63,
817,
73,
831,
678,
369
]
],
"iscrowd": 0
},
{... |
{
"id": 22,
"file_name": "116c4c5f84e071fcac637a4e88abbf7f.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
35,
405,
393,
279
],
"area": 7659,
"segmentation": [
[
420,
684,
428,
671,
44,
405,
35,
418,
420,
684
]
],
"iscrowd": 0
},
{
... |
{
"id": 191,
"file_name": "11fdbff8670fb4dab8c83e3cc2ea32d5.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
260,
94,
38,
887
],
"area": 16429,
"segmentation": [
[
260,
980,
277,
981,
298,
94,
280,
94,
260,
980
]
],
"iscrowd": 0
},
{
... |
{
"id": 172,
"file_name": "121e2fec444da9451174ec9757c9d638.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
912,
167,
38,
742
],
"area": 19312,
"segmentation": [
[
925,
909,
950,
908,
937,
167,
912,
167,
925,
909
]
],
"iscrowd": 0
},
... |
{
"id": 177,
"file_name": "1263afe7e60eb1937aebec775da31780.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
799,
140,
71,
630
],
"area": 11098,
"segmentation": [
[
853,
770,
870,
769,
815,
140,
799,
142,
853,
770
]
],
"iscrowd": 0
},
... |
{
"id": 281,
"file_name": "1293b9c57934a40bd6431ed85139d8cc.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
363,
594,
384,
295
],
"area": 6934,
"segmentation": [
[
363,
878,
371,
889,
747,
605,
738,
594,
363,
878
]
],
"iscrowd": 0
},
... |
{
"id": 86,
"file_name": "12b4fd9dacc62a94d589fd5fa1afe4e7.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
230,
501,
593,
201
],
"area": 10184,
"segmentation": [
[
234,
501,
230,
516,
819,
702,
823,
687,
234,
501
]
],
"iscrowd": 0
},
... |
{
"id": 211,
"file_name": "1441e3cd9cba188f94630f48b274c4f2.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
493,
294,
162,
344
],
"area": 3348,
"segmentation": [
[
493,
634,
500,
638,
655,
298,
648,
294,
493,
634
]
],
"iscrowd": 0
},
... |
{
"id": 169,
"file_name": "153796909546853b8f67a0e6c5b86dfb.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
145,
121,
17,
772
],
"area": 9658,
"segmentation": [
[
150,
893,
162,
893,
156,
121,
145,
122,
150,
893
]
],
"iscrowd": 0
},
... |
{
"id": 231,
"file_name": "156c1d9d1f559697138f2f06373f0534.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
913,
850,
59,
55
],
"area": 558,
"segmentation": [
[
967,
905,
972,
900,
917,
850,
913,
855,
967,
905
]
],
"iscrowd": 0
},
{
... |
{
"id": 62,
"file_name": "15efd1fbda09f387cd9b7c26560710d6.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
440,
72,
240,
672
],
"area": 9609,
"segmentation": [
[
680,
76,
668,
72,
440,
740,
452,
744,
680,
76
]
],
"iscrowd": 0
},
{
... |
{
"id": 152,
"file_name": "1717707bcb0cd2b23f372ce9d1d105ee.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
28,
431,
464,
81
],
"area": 2823,
"segmentation": [
[
28,
507,
29,
512,
492,
436,
492,
431,
28,
507
]
],
"iscrowd": 0
},
{
... |
{
"id": 185,
"file_name": "173d096e43756cb2bcb54b1b9c0fadd5.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
306,
210,
494,
317
],
"area": 7221,
"segmentation": [
[
312,
210,
306,
220,
794,
527,
800,
517,
312,
210
]
],
"iscrowd": 0
},
... |
{
"id": 135,
"file_name": "1751036d062d691bb826f82c499c6e20.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
86,
243,
834,
489
],
"area": 13693,
"segmentation": [
[
913,
732,
920,
721,
93,
243,
86,
255,
913,
732
]
],
"iscrowd": 0
}
] |
{
"id": 264,
"file_name": "1786d73d5f6b76a26d4cbc24de6c071a.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
147,
518,
558,
88
],
"area": 3393,
"segmentation": [
[
704,
606,
705,
601,
147,
518,
147,
523,
704,
606
]
],
"iscrowd": 0
},
... |
{
"id": 216,
"file_name": "1795b161f205f0273b4cb8248eb0dd5a.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
462,
9,
279,
458
],
"area": 6597,
"segmentation": [
[
741,
15,
731,
9,
462,
461,
472,
467,
741,
15
]
],
"iscrowd": 0
},
{
... |
{
"id": 183,
"file_name": "17d95cd083e5efe342b9ed85ccd80a50.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
489,
309,
443,
315
],
"area": 5635,
"segmentation": [
[
926,
624,
932,
616,
494,
309,
489,
317,
926,
624
]
],
"iscrowd": 0
},
... |
{
"id": 255,
"file_name": "184583d7a4bfebe139d0ea4bf351bd0a.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
605,
229,
346,
265
],
"area": 3689,
"segmentation": [
[
610,
229,
605,
235,
946,
494,
951,
488,
610,
229
]
],
"iscrowd": 0
},
... |
{
"id": 183,
"file_name": "188187202245303d49c8f21c1a41ddf8.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
503,
11,
318,
645
],
"area": 10790,
"segmentation": [
[
808,
656,
821,
650,
516,
11,
503,
17,
808,
656
]
],
"iscrowd": 0
},
{... |
{
"id": 278,
"file_name": "192daad0f47a1f318d03f26838337e54.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
293,
24,
543,
992
],
"area": 19984,
"segmentation": [
[
821,
1016,
836,
1008,
308,
24,
293,
32,
821,
1016
]
],
"iscrowd": 0
},
... |
{
"id": 122,
"file_name": "1a1b7009bdb682078b1be6865d672502.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
156,
317,
694,
490
],
"area": 10928,
"segmentation": [
[
850,
327,
843,
317,
156,
797,
163,
807,
850,
327
]
],
"iscrowd": 0
},
... |
{
"id": 23,
"file_name": "1ae14c20282c2f88d0b79da9c95f738e.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
201,
52,
45,
887
],
"area": 19538,
"segmentation": [
[
222,
52,
201,
53,
225,
939,
246,
938,
222,
52
]
],
"iscrowd": 0
},
{
... |
{
"id": 39,
"file_name": "1b2e3f304a237a74d5796120117bc271.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
503,
11,
318,
645
],
"area": 10790,
"segmentation": [
[
808,
656,
821,
650,
516,
11,
503,
17,
808,
656
]
],
"iscrowd": 0
},
{... |
{
"id": 17,
"file_name": "1bccb10babe812c55f3271a28f892caa.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
542,
197,
321,
624
],
"area": 14431,
"segmentation": [
[
542,
812,
560,
821,
863,
206,
845,
197,
542,
812
]
],
"iscrowd": 0
},
... |
{
"id": 44,
"file_name": "1c00200e065bfea6b7ea4ee25d62e11c.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
80,
160,
815,
592
],
"area": 17472,
"segmentation": [
[
90,
160,
80,
173,
885,
752,
895,
738,
90,
160
]
],
"iscrowd": 0
},
{
... |
{
"id": 180,
"file_name": "1c0949082b35f7d26610d0b3c1792642.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
502,
100,
99,
749
],
"area": 9860,
"segmentation": [
[
589,
849,
601,
848,
514,
100,
502,
102,
589,
849
]
],
"iscrowd": 0
},
... |
{
"id": 283,
"file_name": "1c1a9bede318f0dfaad8fcc9478381e8.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
98,
95,
849,
689
],
"area": 17026,
"segmentation": [
[
938,
784,
947,
772,
107,
95,
98,
107,
938,
784
]
],
"iscrowd": 0
},
{
... |
{
"id": 244,
"file_name": "1c2a79a46c5b8ebeaed9e3f0835e4636.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
719,
504,
147,
80
],
"area": 919,
"segmentation": [
[
864,
584,
866,
580,
722,
504,
719,
508,
864,
584
]
],
"iscrowd": 0
},
{... |
{
"id": 163,
"file_name": "1ccb9a5a3b7b38d4066ecbaa0e9d4f15.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
295,
29,
211,
941
],
"area": 17105,
"segmentation": [
[
506,
32,
490,
29,
295,
966,
312,
970,
506,
32
]
],
"iscrowd": 0
},
{
... |
{
"id": 187,
"file_name": "1cdc9b8e6e10f781b0fd173ee7db0ee4.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
179,
202,
503,
175
],
"area": 6580,
"segmentation": [
[
679,
377,
682,
366,
183,
202,
179,
213,
679,
377
]
],
"iscrowd": 0
},
... |
{
"id": 288,
"file_name": "1d62c462b3e5f92bdf101623263c3b14.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
3,
481,
940,
13
],
"area": 10351,
"segmentation": [
[
3,
481,
3,
491,
943,
494,
943,
484,
3,
481
]
],
"iscrowd": 0
}
] |
{
"id": 100,
"file_name": "1d83877690b588ed039d0b048c086296.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
209,
408,
571,
423
],
"area": 12244,
"segmentation": [
[
219,
408,
209,
421,
770,
831,
780,
817,
219,
408
]
],
"iscrowd": 0
},
... |
{
"id": 4,
"file_name": "1da20726b4f0053d1027dd0723f9ecf8.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
22,
272,
953,
576
],
"area": 18492,
"segmentation": [
[
975,
286,
967,
272,
22,
835,
31,
848,
975,
286
]
],
"iscrowd": 0
},
{... |
{
"id": 152,
"file_name": "1dd270024aa3fb7cde624bc8a3bb82bf.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
498,
432,
88,
373
],
"area": 4248,
"segmentation": [
[
508,
432,
498,
434,
576,
805,
586,
803,
508,
432
]
],
"iscrowd": 0
},
... |
{
"id": 224,
"file_name": "1f1967e86b86a96463c4bc883f2bd8ff.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
260,
168,
694,
520
],
"area": 11977,
"segmentation": [
[
268,
168,
260,
178,
946,
688,
954,
677,
268,
168
]
],
"iscrowd": 0
},
... |
{
"id": 195,
"file_name": "1f8e14573342772ef7d34cdd48d29aaa.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
401,
290,
427,
481
],
"area": 12860,
"segmentation": [
[
401,
758,
416,
771,
828,
303,
813,
290,
401,
758
]
],
"iscrowd": 0
},
... |
{
"id": 175,
"file_name": "1fc3a61319015cd9c6519169bee0bc2c.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
713,
24,
31,
975
],
"area": 25376,
"segmentation": [
[
713,
999,
738,
999,
744,
24,
719,
24,
713,
999
]
],
"iscrowd": 0
},
{
... |
{
"id": 94,
"file_name": "1ffc96f386fbafd9fc2858d1b6b53f07.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
542,
302,
426,
261
],
"area": 5601,
"segmentation": [
[
963,
563,
968,
554,
548,
302,
542,
311,
963,
563
]
],
"iscrowd": 0
},
... |
{
"id": 167,
"file_name": "2080d6245488f7193a5974828d1c986f.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
40,
585,
588,
127
],
"area": 6691,
"segmentation": [
[
628,
595,
626,
585,
40,
702,
42,
712,
628,
595
]
],
"iscrowd": 0
},
{
... |
{
"id": 3,
"file_name": "20c1de4e67cb60b542da37b97857c56d.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
20,
175,
880,
633
],
"area": 73420,
"segmentation": [
[
900,
234,
860,
175,
20,
749,
60,
808,
900,
234
]
],
"iscrowd": 0
}
] |
{
"id": 55,
"file_name": "2156bb663fa5336e5794dd4f77040bdb.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
117,
330,
829,
489
],
"area": 19480,
"segmentation": [
[
946,
347,
936,
330,
117,
802,
127,
819,
946,
347
]
],
"iscrowd": 0
}
] |
{
"id": 111,
"file_name": "21ff5f25c29e39db19244c2914e6f1c3.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
343,
155,
576,
605
],
"area": 15910,
"segmentation": [
[
357,
155,
343,
168,
906,
760,
919,
747,
357,
155
]
],
"iscrowd": 0
},
... |
{
"id": 107,
"file_name": "22a5ee80c9718bc128898a6f39255154.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
660,
49,
211,
486
],
"area": 5638,
"segmentation": [
[
862,
535,
871,
531,
669,
49,
660,
53,
862,
535
]
],
"iscrowd": 0
},
{
... |
{
"id": 12,
"file_name": "22d386707812d1ef9cb62875a0599829.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
420,
330,
60,
676
],
"area": 7486,
"segmentation": [
[
480,
331,
470,
330,
420,
1005,
430,
1006,
480,
331
]
],
"iscrowd": 0
},
... |
{
"id": 118,
"file_name": "23be9cfbb28049944eb6c66ca559e63e.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
21,
358,
919,
516
],
"area": 19742,
"segmentation": [
[
21,
858,
30,
874,
940,
374,
932,
358,
21,
858
]
],
"iscrowd": 0
},
{
... |
{
"id": 165,
"file_name": "23dd69ffa7a2a473541b843d839a47c5.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
64,
136,
651,
662
],
"area": 11679,
"segmentation": [
[
64,
789,
72,
798,
715,
144,
706,
136,
64,
789
]
],
"iscrowd": 0
},
{
... |
{
"id": 241,
"file_name": "241e1c48b38ecbf0f581c412d236679e.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
719,
504,
147,
80
],
"area": 919,
"segmentation": [
[
864,
584,
866,
580,
722,
504,
719,
508,
864,
584
]
],
"iscrowd": 0
},
{... |
{
"id": 242,
"file_name": "24975152e97d73e0c59efc9313f382d9.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
97,
200,
562,
669
],
"area": 14080,
"segmentation": [
[
647,
869,
659,
859,
109,
200,
97,
210,
647,
869
]
],
"iscrowd": 0
},
... |
{
"id": 9,
"file_name": "249d3951fafd38cb196f0281c0d9773e.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
176,
506,
732,
9
],
"area": 6964,
"segmentation": [
[
908,
514,
908,
506,
176,
506,
176,
515,
908,
514
]
],
"iscrowd": 0
},
{... |
{
"id": 69,
"file_name": "24b452de9ecbb587e1c2b45c00172f82.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
520,
392,
221,
631
],
"area": 8688,
"segmentation": [
[
520,
1019,
531,
1023,
741,
396,
729,
392,
520,
1019
]
],
"iscrowd": 0
}... |
{
"id": 188,
"file_name": "252467c55d2869ddcd47a429f7ca35f0.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
651,
56,
27,
910
],
"area": 23686,
"segmentation": [
[
676,
56,
651,
56,
653,
966,
678,
966,
676,
56
]
],
"iscrowd": 0
},
{
... |
{
"id": 102,
"file_name": "257a52bbdc9cd5d7ececa68950488ad8.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
81,
303,
695,
214
],
"area": 5520,
"segmentation": [
[
81,
511,
83,
517,
776,
310,
775,
303,
81,
511
]
],
"iscrowd": 0
},
{
... |
{
"id": 213,
"file_name": "25b85b866ab5f86253a2cd57b0900f50.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
318,
278,
382,
561
],
"area": 6606,
"segmentation": [
[
326,
278,
318,
283,
693,
839,
700,
834,
326,
278
]
],
"iscrowd": 0
},
... |
{
"id": 82,
"file_name": "263537df832733ed858a7a002666b872.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
106,
153,
773,
331
],
"area": 11592,
"segmentation": [
[
879,
165,
874,
153,
106,
472,
111,
484,
879,
165
]
],
"iscrowd": 0
},
... |
{
"id": 258,
"file_name": "26367dcd812368c318310c3dd5a1b473.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
646,
90,
33,
834
],
"area": 16697,
"segmentation": [
[
665,
90,
646,
91,
660,
924,
679,
924,
665,
90
]
],
"iscrowd": 0
},
{
... |
{
"id": 163,
"file_name": "281793bfe8c8c2d426df83c3cb49bbc8.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
136,
98,
714,
879
],
"area": 24921,
"segmentation": [
[
850,
112,
834,
98,
136,
963,
153,
977,
850,
112
]
],
"iscrowd": 0
},
... |
{
"id": 112,
"file_name": "283008aada082017f49fa2acd95b5209.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
203,
454,
352,
375
],
"area": 5367,
"segmentation": [
[
548,
829,
555,
822,
210,
454,
203,
461,
548,
829
]
],
"iscrowd": 0
},
... |
{
"id": 290,
"file_name": "2853ea742984ce97be530c97267d707e.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
389,
347,
614,
343
],
"area": 8697,
"segmentation": [
[
395,
347,
389,
357,
997,
690,
1003,
680,
395,
347
]
],
"iscrowd": 0
}
] |
{
"id": 124,
"file_name": "28aea39b33898b5a2fd4817b4937bb3b.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
132,
161,
267,
767
],
"area": 17607,
"segmentation": [
[
132,
921,
152,
928,
399,
167,
379,
161,
132,
921
]
],
"iscrowd": 0
},
... |
{
"id": 292,
"file_name": "296130a4a692a4cbc22d968d492ebfcd.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
92,
517,
841,
74
],
"area": 18137,
"segmentation": [
[
932,
591,
933,
571,
93,
517,
92,
538,
932,
591
]
],
"iscrowd": 0
},
{
... |
{
"id": 66,
"file_name": "29ba9847bd7125f4c3142528a1c5e76a.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
146,
153,
699,
763
],
"area": 22978,
"segmentation": [
[
829,
916,
845,
901,
162,
153,
146,
168,
829,
916
]
],
"iscrowd": 0
},
... |
{
"id": 302,
"file_name": "2c8d122bfbc1298b3950b67e7a3ca430.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
117,
538,
835,
17
],
"area": 9196,
"segmentation": [
[
952,
555,
952,
545,
117,
538,
117,
548,
952,
555
]
],
"iscrowd": 0
},
... |
{
"id": 13,
"file_name": "2cdd56f3d37e0a38a0a4c805c8274bf5.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
60,
118,
555,
887
],
"area": 17092,
"segmentation": [
[
73,
118,
60,
126,
601,
1005,
615,
997,
73,
118
]
],
"iscrowd": 0
},
{... |
{
"id": 280,
"file_name": "2d49d837ad47f98c2b2b17003f181154.jpg",
"width": 1024,
"height": 1024
} | [
{
"id": 0,
"category_id": 1,
"bbox": [
281,
726,
325,
243
],
"area": 2172,
"segmentation": [
[
603,
969,
606,
966,
284,
726,
281,
730,
603,
969
]
],
"iscrowd": 0
},
... |
End of preview.
Runway Object-Oriented Bounding Box (OBB) Mask2Former Dataset v2
Dataset Description
This dataset contains aerial/satellite imagery for runway segmentation using Mask2Former architecture. The dataset supports both semantic and instance segmentation tasks, specifically designed for runway detection and delineation in aerial imagery.
Key Features
- Architecture: Optimized for Mask2Former universal segmentation
- Task Support: Semantic, instance, and panoptic segmentation
- Format: COCO-style annotations + semantic masks
- Domain: Aerial/satellite runway imagery
Dataset Statistics
| Split | Images | Semantic Masks | Instance Annotations |
|---|---|---|---|
| Train | 303 | 303 | 303 |
| Val | 65 | 65 | 65 |
| Test | 65 | 65 | 65 |
Classes
{
"0": "_background_",
"1": "rwy_obb"
}
Categories (COCO format)
[
{
"id": 0,
"name": "_background_",
"supercategory": "background"
},
{
"id": 1,
"name": "rwy_obb",
"supercategory": "object"
}
]
Usage
Loading the Dataset
from datasets import load_dataset
dataset = load_dataset("Spatiallysaying/rwy_obb_mask2former-300-65-65")
# Load class mappings
import json
with open('id2label.json', 'r') as f:
id2label = json.load(f)
with open('label2id.json', 'r') as f:
label2id = json.load(f)
with open('categories.json', 'r') as f:
categories = json.load(f)
Using with Mask2Former
from transformers import Mask2FormerImageProcessor, Mask2FormerForUniversalSegmentation
import torch
from PIL import Image
import numpy as np
# Load model and processor
processor = Mask2FormerImageProcessor.from_pretrained("facebook/mask2former-swin-large-ade-semantic")
model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-large-ade-semantic")
# Load image and semantic mask
image = Image.open("path/to/image.jpg")
semantic_mask = np.array(Image.open("path/to/semantic_mask.png"))
# Process for training
inputs = processor(images=image, segmentation_maps=semantic_mask, return_tensors="pt")
Data Format
File Structure
dataset/
βββ train/
β βββ images/ # RGB images (JPEG)
β βββ labels/ # Semantic masks (PNG)
β βββ annotations/ # Instance annotations (JSON)
β βββ train_annotations.json # Complete COCO format
βββ val/
β βββ ... (same structure)
βββ test/
β βββ ... (same structure)
βββ id2label.json # Class ID to label mapping
βββ label2id.json # Label to class ID mapping
βββ categories.json # COCO categories format
Data Types
- Images: RGB images in JPEG format
- Semantic Labels: Grayscale segmentation masks in PNG format
- Pixel values correspond to class IDs (0=background, 1=runway)
- Instance Annotations: COCO-format JSON files per image
- Bounding boxes, segmentation polygons, areas, category IDs
- Resolution: Variable (original image dimensions preserved)
Annotation Format (COCO-style)
{
"image": {
"id": 0,
"file_name": "image.jpg",
"width": 1024,
"height": 768
},
"annotations": [
{
"id": 0,
"category_id": 1,
"bbox": [x, y, width, height],
"area": 12345,
"segmentation": [[x1, y1, x2, y2, ...]],
"iscrowd": 0
}
]
}
Applications
- Semantic Segmentation: Pixel-level runway classification
- Instance Segmentation: Individual runway object detection
- Panoptic Segmentation: Combined semantic + instance understanding
- Object Detection: Runway bounding box detection
- Multi-task Learning: Universal segmentation training
Citation
@dataset{rwy_obb_mask2former_300_65_65_v2,
title={Runway Object-Oriented Bounding Box Mask2Former Dataset v2},
author={Spatiallysaying},
year={2026},
url={https://huggingface.co/datasets/Spatiallysaying/rwy_obb_mask2former-300-65-65}
}
License
MIT License
- Downloads last month
- 109