group_id int64 0 386k | semantic_key stringlengths 31 45 | image_key stringlengths 20 22 | split stringclasses 2
values | width int64 59 640 | height int64 51 640 | category stringclasses 80
values | dx int64 0 98.3B | dy int64 -633,839 1k | local_min_x int64 -1,000 636k | local_min_y int64 -1,000 634k | local_max_x int64 0 640k | local_max_y int64 0 640k | global_min_x int64 1 98.3B | global_max_x int64 639k 98.3B | r1_start int64 0 886k | r1_count int64 0 27 | r2_start int64 0 1.07M | r2_count int64 0 662 | state stringclasses 4
values | attributes stringlengths 72 82 | overlap_count uint64 0 594 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | ["train","000000000009.jpg","bowl"] | train/000000000009.jpg | train | 640 | 480 | bowl | 1 | 1 | 0 | 0 | 639,000 | 479,000 | 1 | 639,001 | 0 | 3 | 0 | 4 | both_nonempty | {"coco_image_id":"9","file_name":"000000000009.jpg","sama_image_id":"9"} | 12 |
1 | ["train","000000000009.jpg","broccoli"] | train/000000000009.jpg | train | 640 | 480 | broccoli | 389,402 | -229,269 | 249,600 | 229,270 | 567,000 | 479,000 | 639,002 | 956,402 | 3 | 1 | 4 | 1 | both_nonempty | {"coco_image_id":"9","file_name":"000000000009.jpg","sama_image_id":"9"} | 1 |
2 | ["train","000000000009.jpg","orange"] | train/000000000009.jpg | train | 640 | 480 | orange | 592,353 | -2,489 | 364,050 | 2,490 | 523,850 | 144,170 | 956,403 | 1,116,203 | 4 | 4 | 5 | 0 | r1_only | {"coco_image_id":"9","file_name":"000000000009.jpg","sama_image_id":"9"} | 0 |
3 | ["train","000000000025.jpg","giraffe"] | train/000000000025.jpg | train | 640 | 426 | giraffe | 1,064,204 | -60,029 | 52,000 | 60,030 | 606,000 | 411,680 | 1,116,204 | 1,670,204 | 8 | 2 | 5 | 2 | both_nonempty | {"coco_image_id":"25","file_name":"000000000025.jpg","sama_image_id":"25"} | 2 |
4 | ["train","000000000030.jpg","potted plant"] | train/000000000030.jpg | train | 640 | 428 | potted plant | 1,465,345 | -30,999 | 204,860 | 31,000 | 460,000 | 355,140 | 1,670,205 | 1,925,345 | 10 | 1 | 7 | 1 | both_nonempty | {"coco_image_id":"30","file_name":"000000000030.jpg","sama_image_id":"30"} | 1 |
5 | ["train","000000000030.jpg","vase"] | train/000000000030.jpg | train | 640 | 428 | vase | 1,687,786 | -155,809 | 237,560 | 155,810 | 406,000 | 351,060 | 1,925,346 | 2,093,786 | 11 | 1 | 8 | 1 | both_nonempty | {"coco_image_id":"30","file_name":"000000000030.jpg","sama_image_id":"30"} | 1 |
6 | ["train","000000000034.jpg","zebra"] | train/000000000034.jpg | train | 640 | 425 | zebra | 2,093,787 | -20,059 | 0 | 20,060 | 442,190 | 399,210 | 2,093,787 | 2,535,977 | 12 | 1 | 9 | 1 | both_nonempty | {"coco_image_id":"34","file_name":"000000000034.jpg","sama_image_id":"34"} | 1 |
7 | ["train","000000000036.jpg","person"] | train/000000000036.jpg | train | 481 | 640 | person | 2,368,398 | -156,999 | 167,580 | 157,000 | 480,000 | 639,000 | 2,535,978 | 2,848,398 | 13 | 1 | 10 | 1 | both_nonempty | {"coco_image_id":"36","file_name":"000000000036.jpg","sama_image_id":"36"} | 1 |
8 | ["train","000000000036.jpg","umbrella"] | train/000000000036.jpg | train | 481 | 640 | umbrella | 2,848,399 | -49,999 | 0 | 50,000 | 457,680 | 483,000 | 2,848,399 | 3,306,079 | 14 | 1 | 11 | 1 | both_nonempty | {"coco_image_id":"36","file_name":"000000000036.jpg","sama_image_id":"36"} | 1 |
9 | ["train","000000000042.jpg","dog"] | train/000000000042.jpg | train | 640 | 478 | dog | 3,092,080 | -40,999 | 214,000 | 41,000 | 562,410 | 285,070 | 3,306,080 | 3,654,490 | 15 | 1 | 12 | 1 | both_nonempty | {"coco_image_id":"42","file_name":"000000000042.jpg","sama_image_id":"42"} | 1 |
10 | ["train","000000000049.jpg","horse"] | train/000000000049.jpg | train | 381 | 500 | horse | 3,574,491 | -226,559 | 80,000 | 226,560 | 292,980 | 410,990 | 3,654,491 | 3,867,471 | 16 | 2 | 13 | 2 | both_nonempty | {"coco_image_id":"49","file_name":"000000000049.jpg","sama_image_id":"49"} | 4 |
11 | ["train","000000000049.jpg","person"] | train/000000000049.jpg | train | 381 | 500 | person | 3,749,472 | -260,429 | 118,000 | 260,430 | 361,560 | 367,780 | 3,867,472 | 4,111,032 | 18 | 6 | 15 | 5 | both_nonempty | {"coco_image_id":"49","file_name":"000000000049.jpg","sama_image_id":"49"} | 5 |
12 | ["train","000000000049.jpg","potted plant"] | train/000000000049.jpg | train | 381 | 500 | potted plant | 3,910,033 | -426,189 | 201,000 | 426,190 | 272,610 | 473,420 | 4,111,033 | 4,182,643 | 24 | 1 | 20 | 1 | both_nonempty | {"coco_image_id":"49","file_name":"000000000049.jpg","sama_image_id":"49"} | 1 |
13 | ["train","000000000061.jpg","bench"] | train/000000000061.jpg | train | 640 | 488 | bench | 3,907,644 | -217,999 | 275,000 | 218,000 | 426,000 | 270,000 | 4,182,644 | 4,333,644 | 25 | 0 | 21 | 2 | r2_only | {"coco_image_id":"61","file_name":"000000000061.jpg","sama_image_id":"61"} | 0 |
14 | ["train","000000000061.jpg","elephant"] | train/000000000061.jpg | train | 640 | 488 | elephant | 4,113,645 | -239,999 | 220,000 | 240,000 | 453,200 | 327,810 | 4,333,645 | 4,566,845 | 25 | 2 | 23 | 2 | both_nonempty | {"coco_image_id":"61","file_name":"000000000061.jpg","sama_image_id":"61"} | 2 |
15 | ["train","000000000061.jpg","person"] | train/000000000061.jpg | train | 640 | 488 | person | 4,542,846 | -195,999 | 24,000 | 196,000 | 442,000 | 314,000 | 4,566,846 | 4,984,846 | 27 | 3 | 25 | 5 | both_nonempty | {"coco_image_id":"61","file_name":"000000000061.jpg","sama_image_id":"61"} | 6 |
16 | ["train","000000000064.jpg","car"] | train/000000000064.jpg | train | 480 | 640 | car | 4,932,847 | -387,769 | 52,000 | 387,770 | 228,720 | 545,390 | 4,984,847 | 5,161,567 | 30 | 1 | 30 | 1 | both_nonempty | {"coco_image_id":"64","file_name":"000000000064.jpg","sama_image_id":"64"} | 1 |
17 | ["train","000000000064.jpg","clock"] | train/000000000064.jpg | train | 480 | 640 | clock | 5,049,528 | -42,189 | 112,040 | 42,190 | 266,340 | 194,500 | 5,161,568 | 5,315,868 | 31 | 1 | 31 | 1 | both_nonempty | {"coco_image_id":"64","file_name":"000000000064.jpg","sama_image_id":"64"} | 1 |
18 | ["train","000000000064.jpg","person"] | train/000000000064.jpg | train | 480 | 640 | person | 4,846,869 | -365,999 | 469,000 | 366,000 | 478,000 | 387,000 | 5,315,869 | 5,324,869 | 32 | 0 | 32 | 2 | r2_only | {"coco_image_id":"64","file_name":"000000000064.jpg","sama_image_id":"64"} | 0 |
19 | ["train","000000000064.jpg","stop sign"] | train/000000000064.jpg | train | 480 | 640 | stop sign | 5,209,030 | -226,589 | 115,840 | 226,590 | 152,860 | 302,000 | 5,324,870 | 5,361,890 | 32 | 1 | 34 | 1 | both_nonempty | {"coco_image_id":"64","file_name":"000000000064.jpg","sama_image_id":"64"} | 1 |
20 | ["train","000000000064.jpg","truck"] | train/000000000064.jpg | train | 480 | 640 | truck | 5,309,891 | -353,779 | 52,000 | 353,780 | 177,220 | 418,000 | 5,361,891 | 5,487,111 | 33 | 1 | 35 | 1 | both_nonempty | {"coco_image_id":"64","file_name":"000000000064.jpg","sama_image_id":"64"} | 1 |
21 | ["train","000000000071.jpg","car"] | train/000000000071.jpg | train | 640 | 426 | car | 5,138,322 | -196,949 | 348,790 | 196,950 | 640,000 | 250,230 | 5,487,112 | 5,778,322 | 34 | 13 | 36 | 11 | both_nonempty | {"coco_image_id":"71","file_name":"000000000071.jpg","sama_image_id":"71"} | 24 |
22 | ["train","000000000071.jpg","train"] | train/000000000071.jpg | train | 640 | 426 | train | 5,730,453 | -185,719 | 47,870 | 185,720 | 531,300 | 305,380 | 5,778,323 | 6,261,753 | 47 | 1 | 47 | 1 | both_nonempty | {"coco_image_id":"71","file_name":"000000000071.jpg","sama_image_id":"71"} | 1 |
23 | ["train","000000000071.jpg","truck"] | train/000000000071.jpg | train | 640 | 426 | truck | 5,928,754 | -192,599 | 333,000 | 192,600 | 387,000 | 204,350 | 6,261,754 | 6,315,754 | 48 | 2 | 48 | 2 | both_nonempty | {"coco_image_id":"71","file_name":"000000000071.jpg","sama_image_id":"71"} | 2 |
24 | ["train","000000000072.jpg","giraffe"] | train/000000000072.jpg | train | 427 | 640 | giraffe | 6,265,755 | -64,999 | 50,000 | 65,000 | 426,000 | 640,000 | 6,315,755 | 6,691,755 | 50 | 2 | 50 | 3 | both_nonempty | {"coco_image_id":"72","file_name":"000000000072.jpg","sama_image_id":"72"} | 6 |
25 | ["train","000000000073.jpg","bicycle"] | train/000000000073.jpg | train | 565 | 640 | bicycle | 6,681,756 | -21,999 | 10,000 | 22,000 | 554,000 | 639,000 | 6,691,756 | 7,235,756 | 52 | 0 | 53 | 1 | r2_only | {"coco_image_id":"73","file_name":"000000000073.jpg","sama_image_id":"73"} | 0 |
26 | ["train","000000000073.jpg","motorcycle"] | train/000000000073.jpg | train | 565 | 640 | motorcycle | 7,235,757 | 1 | 0 | 0 | 548,980 | 632,420 | 7,235,757 | 7,784,737 | 52 | 2 | 54 | 1 | both_nonempty | {"coco_image_id":"73","file_name":"000000000073.jpg","sama_image_id":"73"} | 2 |
27 | ["train","000000000074.jpg","bicycle"] | train/000000000074.jpg | train | 640 | 426 | bicycle | 7,784,738 | 1 | 0 | 0 | 163,000 | 320,000 | 7,784,738 | 7,947,738 | 54 | 1 | 55 | 1 | both_nonempty | {"coco_image_id":"74","file_name":"000000000074.jpg","sama_image_id":"74"} | 1 |
28 | ["train","000000000074.jpg","dog"] | train/000000000074.jpg | train | 640 | 426 | dog | 7,885,869 | -275,999 | 61,870 | 276,000 | 358,290 | 379,430 | 7,947,739 | 8,244,159 | 55 | 1 | 56 | 1 | both_nonempty | {"coco_image_id":"74","file_name":"000000000074.jpg","sama_image_id":"74"} | 1 |
29 | ["train","000000000074.jpg","person"] | train/000000000074.jpg | train | 640 | 426 | person | 7,967,050 | -93,959 | 277,110 | 93,960 | 494,000 | 152,790 | 8,244,160 | 8,461,050 | 56 | 6 | 57 | 1 | both_nonempty | {"coco_image_id":"74","file_name":"000000000074.jpg","sama_image_id":"74"} | 1 |
30 | ["train","000000000077.jpg","person"] | train/000000000077.jpg | train | 500 | 375 | person | 8,436,221 | -53,729 | 24,830 | 53,730 | 420,000 | 332,940 | 8,461,051 | 8,856,221 | 62 | 5 | 58 | 5 | both_nonempty | {"coco_image_id":"77","file_name":"000000000077.jpg","sama_image_id":"77"} | 11 |
31 | ["train","000000000077.jpg","skateboard"] | train/000000000077.jpg | train | 500 | 375 | skateboard | 8,815,222 | -137,999 | 41,000 | 138,000 | 379,490 | 344,580 | 8,856,222 | 9,194,712 | 67 | 3 | 63 | 3 | both_nonempty | {"coco_image_id":"77","file_name":"000000000077.jpg","sama_image_id":"77"} | 3 |
32 | ["train","000000000078.jpg","clock"] | train/000000000078.jpg | train | 612 | 612 | clock | 8,839,713 | 1 | 355,000 | 0 | 574,000 | 237,980 | 9,194,713 | 9,413,713 | 70 | 1 | 66 | 1 | both_nonempty | {"coco_image_id":"78","file_name":"000000000078.jpg","sama_image_id":"78"} | 1 |
33 | ["train","000000000081.jpg","airplane"] | train/000000000081.jpg | train | 640 | 425 | airplane | 9,379,714 | -30,999 | 34,000 | 31,000 | 622,560 | 358,500 | 9,413,714 | 10,002,274 | 71 | 1 | 67 | 1 | both_nonempty | {"coco_image_id":"81","file_name":"000000000081.jpg","sama_image_id":"81"} | 1 |
34 | ["train","000000000086.jpg","handbag"] | train/000000000086.jpg | train | 512 | 640 | handbag | 9,739,275 | -294,589 | 263,000 | 294,590 | 400,000 | 405,000 | 10,002,275 | 10,139,275 | 72 | 1 | 68 | 1 | both_nonempty | {"coco_image_id":"86","file_name":"000000000086.jpg","sama_image_id":"86"} | 1 |
35 | ["train","000000000086.jpg","motorcycle"] | train/000000000086.jpg | train | 512 | 640 | motorcycle | 10,009,276 | -346,519 | 130,000 | 346,520 | 425,000 | 635,160 | 10,139,276 | 10,434,276 | 73 | 1 | 69 | 1 | both_nonempty | {"coco_image_id":"86","file_name":"000000000086.jpg","sama_image_id":"86"} | 1 |
36 | ["train","000000000086.jpg","person"] | train/000000000086.jpg | train | 512 | 640 | person | 10,286,277 | -146,999 | 148,000 | 147,000 | 281,260 | 559,070 | 10,434,277 | 10,567,537 | 74 | 1 | 70 | 1 | both_nonempty | {"coco_image_id":"86","file_name":"000000000086.jpg","sama_image_id":"86"} | 1 |
37 | ["train","000000000089.jpg","book"] | train/000000000089.jpg | train | 640 | 480 | book | 10,091,538 | -333,949 | 476,000 | 333,950 | 640,000 | 453,000 | 10,567,538 | 10,731,538 | 75 | 3 | 71 | 2 | both_nonempty | {"coco_image_id":"89","file_name":"000000000089.jpg","sama_image_id":"89"} | 2 |
38 | ["train","000000000089.jpg","knife"] | train/000000000089.jpg | train | 640 | 480 | knife | 10,256,539 | -95,999 | 475,000 | 96,000 | 600,700 | 240,000 | 10,731,539 | 10,857,239 | 78 | 5 | 73 | 5 | both_nonempty | {"coco_image_id":"89","file_name":"000000000089.jpg","sama_image_id":"89"} | 9 |
39 | ["train","000000000089.jpg","microwave"] | train/000000000089.jpg | train | 640 | 480 | microwave | 10,857,240 | -43,669 | 0 | 43,670 | 119,000 | 188,580 | 10,857,240 | 10,976,240 | 83 | 1 | 78 | 1 | both_nonempty | {"coco_image_id":"89","file_name":"000000000089.jpg","sama_image_id":"89"} | 1 |
40 | ["train","000000000089.jpg","oven"] | train/000000000089.jpg | train | 640 | 480 | oven | 10,852,241 | -202,699 | 124,000 | 202,700 | 476,000 | 479,000 | 10,976,241 | 11,328,241 | 84 | 1 | 79 | 1 | both_nonempty | {"coco_image_id":"89","file_name":"000000000089.jpg","sama_image_id":"89"} | 1 |
41 | ["train","000000000092.jpg","cake"] | train/000000000092.jpg | train | 640 | 427 | cake | 11,202,542 | 1 | 125,700 | 0 | 501,840 | 296,000 | 11,328,242 | 11,704,382 | 85 | 1 | 80 | 1 | both_nonempty | {"coco_image_id":"92","file_name":"000000000092.jpg","sama_image_id":"92"} | 1 |
42 | ["train","000000000092.jpg","fork"] | train/000000000092.jpg | train | 640 | 427 | fork | 11,287,383 | -118,599 | 417,000 | 118,600 | 583,330 | 427,000 | 11,704,383 | 11,870,713 | 86 | 1 | 81 | 1 | both_nonempty | {"coco_image_id":"92","file_name":"000000000092.jpg","sama_image_id":"92"} | 1 |
43 | ["train","000000000094.jpg","car"] | train/000000000094.jpg | train | 640 | 427 | car | 11,515,714 | -275,219 | 355,000 | 275,220 | 399,100 | 313,680 | 11,870,714 | 11,914,814 | 87 | 1 | 82 | 1 | both_nonempty | {"coco_image_id":"94","file_name":"000000000094.jpg","sama_image_id":"94"} | 1 |
44 | ["train","000000000094.jpg","truck"] | train/000000000094.jpg | train | 640 | 427 | truck | 11,374,815 | -262,999 | 540,000 | 263,000 | 627,000 | 356,510 | 11,914,815 | 12,001,815 | 88 | 1 | 83 | 1 | both_nonempty | {"coco_image_id":"94","file_name":"000000000094.jpg","sama_image_id":"94"} | 1 |
45 | ["train","000000000109.jpg","bench"] | train/000000000109.jpg | train | 640 | 416 | bench | 11,625,216 | -261,489 | 376,600 | 261,490 | 488,660 | 305,000 | 12,001,816 | 12,113,876 | 89 | 2 | 84 | 2 | both_nonempty | {"coco_image_id":"109","file_name":"000000000109.jpg","sama_image_id":"109"} | 2 |
46 | ["train","000000000109.jpg","dog"] | train/000000000109.jpg | train | 640 | 416 | dog | 11,574,157 | -295,449 | 539,720 | 295,450 | 562,630 | 313,840 | 12,113,877 | 12,136,787 | 91 | 1 | 86 | 1 | both_nonempty | {"coco_image_id":"109","file_name":"000000000109.jpg","sama_image_id":"109"} | 1 |
47 | ["train","000000000109.jpg","person"] | train/000000000109.jpg | train | 640 | 416 | person | 12,062,228 | -197,849 | 74,560 | 197,850 | 613,450 | 304,150 | 12,136,788 | 12,675,678 | 92 | 5 | 87 | 3 | both_nonempty | {"coco_image_id":"109","file_name":"000000000109.jpg","sama_image_id":"109"} | 4 |
48 | ["train","000000000110.jpg","chair"] | train/000000000110.jpg | train | 640 | 480 | chair | 12,675,399 | -76,999 | 280 | 77,000 | 436,430 | 303,510 | 12,675,679 | 13,111,829 | 97 | 4 | 90 | 2 | both_nonempty | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 2 |
49 | ["train","000000000110.jpg","clock"] | train/000000000110.jpg | train | 640 | 480 | clock | 12,627,830 | -339,999 | 484,000 | 340,000 | 529,000 | 441,000 | 13,111,830 | 13,156,830 | 101 | 0 | 92 | 1 | r2_only | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 0 |
50 | ["train","000000000110.jpg","cup"] | train/000000000110.jpg | train | 640 | 480 | cup | 12,994,831 | -74,999 | 162,000 | 75,000 | 244,650 | 101,300 | 13,156,831 | 13,239,481 | 101 | 4 | 93 | 4 | both_nonempty | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 5 |
51 | ["train","000000000110.jpg","dining table"] | train/000000000110.jpg | train | 640 | 480 | dining table | 13,239,482 | -75,299 | 0 | 75,300 | 640,000 | 480,000 | 13,239,482 | 13,879,482 | 105 | 3 | 97 | 3 | both_nonempty | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 3 |
52 | ["train","000000000110.jpg","fork"] | train/000000000110.jpg | train | 640 | 480 | fork | 13,842,483 | -366,999 | 37,000 | 367,000 | 484,630 | 480,000 | 13,879,483 | 14,327,113 | 108 | 1 | 100 | 2 | both_nonempty | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 1 |
53 | ["train","000000000110.jpg","knife"] | train/000000000110.jpg | train | 640 | 480 | knife | 14,054,114 | -360,359 | 273,000 | 360,360 | 291,030 | 480,000 | 14,327,114 | 14,345,144 | 109 | 1 | 102 | 1 | both_nonempty | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 1 |
54 | ["train","000000000110.jpg","person"] | train/000000000110.jpg | train | 640 | 480 | person | 14,345,145 | 1 | 0 | 0 | 640,000 | 474,610 | 14,345,145 | 14,985,145 | 110 | 10 | 103 | 11 | both_nonempty | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 44 |
55 | ["train","000000000110.jpg","pizza"] | train/000000000110.jpg | train | 640 | 480 | pizza | 14,855,146 | -385,999 | 130,000 | 386,000 | 475,000 | 479,000 | 14,985,146 | 15,330,146 | 120 | 1 | 114 | 1 | both_nonempty | {"coco_image_id":"110","file_name":"000000000110.jpg","sama_image_id":"110"} | 1 |
56 | ["train","000000000113.jpg","cake"] | train/000000000113.jpg | train | 416 | 640 | cake | 15,187,767 | -424,269 | 142,380 | 424,270 | 407,000 | 573,840 | 15,330,147 | 15,594,767 | 121 | 1 | 115 | 1 | both_nonempty | {"coco_image_id":"113","file_name":"000000000113.jpg","sama_image_id":"113"} | 1 |
57 | ["train","000000000113.jpg","chair"] | train/000000000113.jpg | train | 416 | 640 | chair | 15,583,738 | -380,999 | 11,030 | 381,000 | 248,810 | 639,480 | 15,594,768 | 15,832,548 | 122 | 2 | 116 | 2 | both_nonempty | {"coco_image_id":"113","file_name":"000000000113.jpg","sama_image_id":"113"} | 2 |
58 | ["train","000000000113.jpg","cup"] | train/000000000113.jpg | train | 416 | 640 | cup | 15,762,549 | -63,999 | 70,000 | 64,000 | 405,000 | 519,380 | 15,832,549 | 16,167,549 | 124 | 10 | 118 | 11 | both_nonempty | {"coco_image_id":"113","file_name":"000000000113.jpg","sama_image_id":"113"} | 12 |
59 | ["train","000000000113.jpg","dining table"] | train/000000000113.jpg | train | 416 | 640 | dining table | 16,148,170 | -392,939 | 19,380 | 392,940 | 416,000 | 640,000 | 16,167,550 | 16,564,170 | 134 | 1 | 129 | 0 | r1_only | {"coco_image_id":"113","file_name":"000000000113.jpg","sama_image_id":"113"} | 0 |
60 | ["train","000000000113.jpg","knife"] | train/000000000113.jpg | train | 416 | 640 | knife | 16,311,171 | -363,239 | 253,000 | 363,240 | 301,000 | 450,280 | 16,564,171 | 16,612,171 | 135 | 1 | 129 | 1 | both_nonempty | {"coco_image_id":"113","file_name":"000000000113.jpg","sama_image_id":"113"} | 1 |
61 | ["train","000000000113.jpg","person"] | train/000000000113.jpg | train | 416 | 640 | person | 16,607,842 | -31,419 | 4,330 | 31,420 | 416,000 | 619,000 | 16,612,172 | 17,023,842 | 136 | 3 | 130 | 3 | both_nonempty | {"coco_image_id":"113","file_name":"000000000113.jpg","sama_image_id":"113"} | 6 |
62 | ["train","000000000127.jpg","bench"] | train/000000000127.jpg | train | 640 | 481 | bench | 17,023,843 | -86,329 | 0 | 86,330 | 250,000 | 231,000 | 17,023,843 | 17,273,843 | 139 | 4 | 133 | 3 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 5 |
63 | ["train","000000000127.jpg","book"] | train/000000000127.jpg | train | 640 | 481 | book | 17,016,844 | -193,999 | 257,000 | 194,000 | 386,290 | 287,000 | 17,273,844 | 17,403,134 | 143 | 1 | 136 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
64 | ["train","000000000127.jpg","cake"] | train/000000000127.jpg | train | 640 | 481 | cake | 17,223,985 | -263,569 | 179,150 | 263,570 | 308,000 | 405,000 | 17,403,135 | 17,531,985 | 144 | 1 | 137 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
65 | ["train","000000000127.jpg","cup"] | train/000000000127.jpg | train | 640 | 481 | cup | 17,150,016 | -221,209 | 381,970 | 221,210 | 567,170 | 346,000 | 17,531,986 | 17,717,186 | 145 | 1 | 138 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
66 | ["train","000000000127.jpg","dining table"] | train/000000000127.jpg | train | 640 | 481 | dining table | 17,618,187 | -95,149 | 99,000 | 95,150 | 639,450 | 481,000 | 17,717,187 | 18,257,637 | 146 | 2 | 139 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
67 | ["train","000000000127.jpg","handbag"] | train/000000000127.jpg | train | 640 | 481 | handbag | 18,151,638 | -122,999 | 106,000 | 123,000 | 586,000 | 287,000 | 18,257,638 | 18,737,638 | 148 | 1 | 140 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
68 | ["train","000000000127.jpg","knife"] | train/000000000127.jpg | train | 640 | 481 | knife | 18,436,719 | -283,999 | 300,920 | 284,000 | 405,140 | 445,240 | 18,737,639 | 18,841,859 | 149 | 1 | 141 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
69 | ["train","000000000127.jpg","person"] | train/000000000127.jpg | train | 640 | 481 | person | 18,438,860 | -7,999 | 403,000 | 8,000 | 466,920 | 44,420 | 18,841,860 | 18,905,780 | 150 | 1 | 142 | 2 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
70 | ["train","000000000127.jpg","potted plant"] | train/000000000127.jpg | train | 640 | 481 | potted plant | 18,692,231 | -49,559 | 213,550 | 49,560 | 278,240 | 120,160 | 18,905,781 | 18,970,471 | 151 | 1 | 144 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
71 | ["train","000000000127.jpg","spoon"] | train/000000000127.jpg | train | 640 | 481 | spoon | 18,623,802 | -274,999 | 346,670 | 275,000 | 431,580 | 358,600 | 18,970,472 | 19,055,382 | 152 | 1 | 145 | 1 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 1 |
72 | ["train","000000000127.jpg","umbrella"] | train/000000000127.jpg | train | 640 | 481 | umbrella | 18,953,383 | 1 | 102,000 | 0 | 399,000 | 104,670 | 19,055,383 | 19,352,383 | 153 | 3 | 146 | 3 | both_nonempty | {"coco_image_id":"127","file_name":"000000000127.jpg","sama_image_id":"127"} | 5 |
73 | ["train","000000000133.jpg","bed"] | train/000000000133.jpg | train | 640 | 480 | bed | 19,338,394 | 1 | 13,990 | 0 | 640,000 | 421,520 | 19,352,384 | 19,978,394 | 156 | 1 | 149 | 1 | both_nonempty | {"coco_image_id":"133","file_name":"000000000133.jpg","sama_image_id":"133"} | 1 |
74 | ["train","000000000133.jpg","teddy bear"] | train/000000000133.jpg | train | 640 | 480 | teddy bear | 19,453,055 | -20,929 | 525,340 | 20,930 | 573,290 | 49,650 | 19,978,395 | 20,026,345 | 157 | 1 | 150 | 1 | both_nonempty | {"coco_image_id":"133","file_name":"000000000133.jpg","sama_image_id":"133"} | 1 |
75 | ["train","000000000136.jpg","giraffe"] | train/000000000136.jpg | train | 500 | 374 | giraffe | 19,946,346 | -114,999 | 80,000 | 115,000 | 447,000 | 373,000 | 20,026,346 | 20,393,346 | 158 | 2 | 151 | 2 | both_nonempty | {"coco_image_id":"136","file_name":"000000000136.jpg","sama_image_id":"136"} | 2 |
76 | ["train","000000000136.jpg","person"] | train/000000000136.jpg | train | 500 | 374 | person | 20,393,347 | -60,999 | 0 | 61,000 | 69,000 | 374,000 | 20,393,347 | 20,462,347 | 160 | 2 | 153 | 2 | both_nonempty | {"coco_image_id":"136","file_name":"000000000136.jpg","sama_image_id":"136"} | 4 |
77 | ["train","000000000138.jpg","bowl"] | train/000000000138.jpg | train | 640 | 573 | bowl | 20,304,888 | -184,109 | 157,460 | 184,110 | 203,050 | 203,640 | 20,462,348 | 20,507,938 | 162 | 1 | 155 | 1 | both_nonempty | {"coco_image_id":"138","file_name":"000000000138.jpg","sama_image_id":"138"} | 1 |
78 | ["train","000000000138.jpg","clock"] | train/000000000138.jpg | train | 640 | 573 | clock | 20,192,319 | -19,599 | 315,620 | 19,600 | 384,120 | 88,100 | 20,507,939 | 20,576,439 | 163 | 1 | 156 | 1 | both_nonempty | {"coco_image_id":"138","file_name":"000000000138.jpg","sama_image_id":"138"} | 1 |
79 | ["train","000000000138.jpg","oven"] | train/000000000138.jpg | train | 640 | 573 | oven | 20,318,440 | -175,119 | 258,000 | 175,120 | 380,000 | 533,080 | 20,576,440 | 20,698,440 | 164 | 1 | 157 | 2 | both_nonempty | {"coco_image_id":"138","file_name":"000000000138.jpg","sama_image_id":"138"} | 2 |
80 | ["train","000000000138.jpg","potted plant"] | train/000000000138.jpg | train | 640 | 573 | potted plant | 20,143,441 | -45,269 | 555,000 | 45,270 | 604,650 | 104,060 | 20,698,441 | 20,748,091 | 165 | 1 | 159 | 1 | both_nonempty | {"coco_image_id":"138","file_name":"000000000138.jpg","sama_image_id":"138"} | 1 |
81 | ["train","000000000138.jpg","refrigerator"] | train/000000000138.jpg | train | 640 | 573 | refrigerator | 20,739,092 | -95,999 | 9,000 | 96,000 | 157,000 | 348,790 | 20,748,092 | 20,896,092 | 166 | 1 | 160 | 1 | both_nonempty | {"coco_image_id":"138","file_name":"000000000138.jpg","sama_image_id":"138"} | 1 |
82 | ["train","000000000138.jpg","sink"] | train/000000000138.jpg | train | 640 | 573 | sink | 20,401,093 | -201,999 | 495,000 | 202,000 | 625,900 | 256,700 | 20,896,093 | 21,026,993 | 167 | 1 | 161 | 1 | both_nonempty | {"coco_image_id":"138","file_name":"000000000138.jpg","sama_image_id":"138"} | 1 |
83 | ["train","000000000138.jpg","vase"] | train/000000000138.jpg | train | 640 | 573 | vase | 20,866,994 | -41,999 | 160,000 | 42,000 | 252,020 | 564,000 | 21,026,994 | 21,119,014 | 168 | 1 | 162 | 3 | both_nonempty | {"coco_image_id":"138","file_name":"000000000138.jpg","sama_image_id":"138"} | 1 |
84 | ["train","000000000142.jpg","banana"] | train/000000000142.jpg | train | 480 | 640 | banana | 21,012,825 | -374,529 | 106,190 | 374,530 | 378,830 | 568,000 | 21,119,015 | 21,391,655 | 169 | 1 | 165 | 7 | both_nonempty | {"coco_image_id":"142","file_name":"000000000142.jpg","sama_image_id":"142"} | 7 |
85 | ["train","000000000142.jpg","bottle"] | train/000000000142.jpg | train | 480 | 640 | bottle | 21,134,946 | -88,939 | 256,710 | 88,940 | 416,780 | 342,810 | 21,391,656 | 21,551,726 | 170 | 1 | 172 | 0 | r1_only | {"coco_image_id":"142","file_name":"000000000142.jpg","sama_image_id":"142"} | 0 |
86 | ["train","000000000142.jpg","dining table"] | train/000000000142.jpg | train | 480 | 640 | dining table | 21,551,727 | -224,999 | 0 | 225,000 | 480,000 | 457,000 | 21,551,727 | 22,031,727 | 171 | 1 | 172 | 1 | both_nonempty | {"coco_image_id":"142","file_name":"000000000142.jpg","sama_image_id":"142"} | 1 |
87 | ["train","000000000142.jpg","sandwich"] | train/000000000142.jpg | train | 480 | 640 | sandwich | 21,957,148 | -376,339 | 74,580 | 376,340 | 438,140 | 640,000 | 22,031,728 | 22,395,288 | 172 | 1 | 173 | 0 | r1_only | {"coco_image_id":"142","file_name":"000000000142.jpg","sama_image_id":"142"} | 0 |
88 | ["train","000000000143.jpg","bird"] | train/000000000143.jpg | train | 600 | 500 | bird | 22,364,289 | -16,999 | 31,000 | 17,000 | 563,000 | 480,470 | 22,395,289 | 22,927,289 | 173 | 8 | 173 | 8 | both_nonempty | {"coco_image_id":"143","file_name":"000000000143.jpg","sama_image_id":"143"} | 18 |
89 | ["train","000000000144.jpg","giraffe"] | train/000000000144.jpg | train | 640 | 480 | giraffe | 22,878,750 | -79,819 | 48,540 | 79,820 | 599,730 | 480,000 | 22,927,290 | 23,478,480 | 181 | 3 | 181 | 3 | both_nonempty | {"coco_image_id":"144","file_name":"000000000144.jpg","sama_image_id":"144"} | 9 |
90 | ["train","000000000149.jpg","car"] | train/000000000149.jpg | train | 640 | 428 | car | 23,222,131 | -311,709 | 256,350 | 311,710 | 321,760 | 328,590 | 23,478,481 | 23,543,891 | 184 | 4 | 184 | 0 | r1_only | {"coco_image_id":"149","file_name":"000000000149.jpg","sama_image_id":"149"} | 0 |
91 | ["train","000000000149.jpg","kite"] | train/000000000149.jpg | train | 640 | 428 | kite | 23,481,892 | -82,729 | 62,000 | 82,730 | 569,000 | 353,910 | 23,543,892 | 24,050,892 | 188 | 6 | 184 | 4 | both_nonempty | {"coco_image_id":"149","file_name":"000000000149.jpg","sama_image_id":"149"} | 3 |
92 | ["train","000000000149.jpg","person"] | train/000000000149.jpg | train | 640 | 428 | person | 23,830,833 | -313,449 | 220,060 | 313,450 | 590,960 | 340,660 | 24,050,893 | 24,421,793 | 194 | 12 | 188 | 0 | r1_only | {"coco_image_id":"149","file_name":"000000000149.jpg","sama_image_id":"149"} | 0 |
93 | ["train","000000000151.jpg","person"] | train/000000000151.jpg | train | 480 | 640 | person | 23,987,794 | -61,509 | 434,000 | 61,510 | 465,170 | 115,000 | 24,421,794 | 24,452,964 | 206 | 1 | 188 | 1 | both_nonempty | {"coco_image_id":"151","file_name":"000000000151.jpg","sama_image_id":"151"} | 1 |
94 | ["train","000000000151.jpg","stop sign"] | train/000000000151.jpg | train | 480 | 640 | stop sign | 24,240,965 | -328,999 | 212,000 | 329,000 | 250,730 | 364,560 | 24,452,965 | 24,491,695 | 207 | 1 | 189 | 1 | both_nonempty | {"coco_image_id":"151","file_name":"000000000151.jpg","sama_image_id":"151"} | 1 |
95 | ["train","000000000151.jpg","train"] | train/000000000151.jpg | train | 480 | 640 | train | 24,280,936 | -4,599 | 210,760 | 4,600 | 480,000 | 640,000 | 24,491,696 | 24,760,936 | 208 | 1 | 190 | 0 | r1_only | {"coco_image_id":"151","file_name":"000000000151.jpg","sama_image_id":"151"} | 0 |
96 | ["train","000000000151.jpg","truck"] | train/000000000151.jpg | train | 480 | 640 | truck | 24,552,937 | 1 | 208,000 | 0 | 479,000 | 639,000 | 24,760,937 | 25,031,937 | 209 | 0 | 190 | 1 | r2_only | {"coco_image_id":"151","file_name":"000000000151.jpg","sama_image_id":"151"} | 0 |
97 | ["train","000000000154.jpg","zebra"] | train/000000000154.jpg | train | 427 | 640 | zebra | 25,019,958 | -93,629 | 11,980 | 93,630 | 361,060 | 640,000 | 25,031,938 | 25,381,018 | 209 | 3 | 191 | 3 | both_nonempty | {"coco_image_id":"154","file_name":"000000000154.jpg","sama_image_id":"154"} | 5 |
98 | ["train","000000000164.jpg","book"] | train/000000000164.jpg | train | 640 | 480 | book | 25,342,019 | -452,999 | 39,000 | 453,000 | 92,000 | 479,000 | 25,381,019 | 25,434,019 | 212 | 0 | 194 | 1 | r2_only | {"coco_image_id":"164","file_name":"000000000164.jpg","sama_image_id":"164"} | 0 |
99 | ["train","000000000164.jpg","bottle"] | train/000000000164.jpg | train | 640 | 480 | bottle | 25,220,020 | -130,999 | 214,000 | 131,000 | 473,020 | 319,230 | 25,434,020 | 25,693,040 | 212 | 10 | 195 | 16 | both_nonempty | {"coco_image_id":"164","file_name":"000000000164.jpg","sama_image_id":"164"} | 14 |
VOSMA Real Rectangle Datasets
Construction pipeline for three real-data rectangle relations for area-weighted and IoU-weighted spatial join sampling. Release v0.2.0 contains completed DocLayNet, MOT20, and COCO/Sama-COCO datasets. Each retained source annotation or exported prediction becomes one rectangle with unit record weight. This release contains integer arrays and provenance metadata; images, segmentation masks, algorithm indexes, and materialized join pairs are not included.
| Dataset directory | R1 | R2 | Retained R1 records | Retained R2 records | Groups |
|---|---|---|---|---|---|
doclaynet |
Official test-page ground truth | Fixed Aryn model predictions | 66,531 | 50,084 | 4,999 |
mot20 |
Valid pedestrian ground truth | Official detections | 1,134,614 | 661,143 | 8,931 |
coco_sama |
COCO 2017 non-crowd instances | Sama-COCO non-crowd instances | 886,282 | 1,068,028 | 386,072 |
Counts refer to this processed release. Empty sides and groups remain represented according to the group universes below. The per-dataset dataset.json and validation.json provide filtering counts and validation results.
Release status
All 4,999 selected official DocLayNet test pages completed fixed-model inference and the independent image/provenance audit. The three datasets passed record-level geometry and group-isolation validation.
| Completed dataset | Positive-area record pairs | Groups with positive mass | Groups with zero mass |
|---|---|---|---|
| DocLayNet | 52,670 | 4,876 | 123 |
| MOT20 | 3,176,148 | 8,931 | 0 |
| COCO/Sama-COCO | 1,508,091 | 322,274 | 63,798 |
The pair counts are validation statistics. No pair list is distributed. COCO has two zero-height non-crowd boxes; Sama has eight zero-width/height non-crowd boxes. These ten source records are itemized in coco_sama/independent-audit.json. All 119 train and 5 validation Sama shards passed an independent manifest, identity, grouping, and row-count audit. Out-of-bounds diagnostics use quantized local coordinates and the source's pixel origin.
Builder: DANNHIROAKI/VOSMA-Dataset-Build. Built arrays: DannHiroaki/VOSMA-Dataset. See BUILD_INFO.json for the construction commit and environment.
Source selection and grouping
DocLayNet. R1 contains all original precedence-0 ground-truth boxes on all 4,999 official test pages from the DocLayNet 1.0.0 Core archive, using COCO/test.json. R2 contains the exported predictions of the fixed Aryn/deformable-detr-DocLayNet model. A group is (split, source_image_id). The physical key (doc_category, collection, doc_name, page_no) is unique across selected pages; official PNG filename, dimensions, source identity, and per-image bytes are checked. All selected pages remain groups, including successful pages with zero predictions. Missing, failed, or duplicate inference pages stop the build. All classes remain in their page groups, so cross-class intersections are included. Predictions are not matched to GT or selected using GT.
The released model run uses CPU float32, batch size 1, and four PyTorch threads per worker. It began with eight workers and resumed with sixteen workers under the same frozen numerical protocol; completed page results were reused only after protocol and image-hash checks. The reproduction command uses sixteen workers. The fixed processor produces [1,3,800,800] model inputs and restores predicted xyxy boxes to each original PNG's dimensions. Native postprocessing takes the top 100 scores over the flattened 200-query × 12-class sigmoid output. The mutually exclusive exclusions are nonfinite scores, finite scores at most 0.7, and remaining class-0 (N/A) candidates, in that order. All remaining records are exported. There is no NMS, clipping, deduplication, GT-based threshold tuning, or class-pair filtering. Original top-100 rank, query index, label, score, and PNG-coordinate endpoints are retained in metadata. Geometry exclusions are applied subsequently by the common dataset conversion.
The checkpoint revision is d5503a90ae08dd43565de6984a5dd7924cad2400 and its model-card license is Apache-2.0. The model's training overlap with these DocLayNet test pages is unknown. These relations measure spatial-join sampling on GT and frozen predictions; they do not establish an unseen-test-set detection result. Model files, page selection, protocol, predictions, and image hashes are recorded in provenance; doclaynet/inference-audit.json reports the independent all-page PNG, provenance, and prediction-accounting audit. See doclaynet/README.md for the completed counts and hash links.
MOT20. The source is MOT20Labels.zip. Only training sequences MOT20-01, MOT20-02, MOT20-03, and MOT20-05 are used. A group is (sequence, frame); all 8,931 frames are retained. R1 keeps GT rows with valid=1 and class=1, without a visibility threshold. R2 keeps official detections with a finite score and valid geometry, without a score threshold. Detection scores, track IDs, and visibility are metadata; they never become sampling weights. The original MOT coordinate convention is preserved before quantization, with no one-pixel origin adjustment. Official benchmark and downloads.
COCO/Sama-COCO. R1 uses the COCO 2017 train/validation instance annotations; R2 uses the official Sama train and Sama validation annotations. Images are paired by source file identity within the original split, with dimension checks. Category names establish the mapping between the 80 classes. A group is (split, image, category) from the union of category mentions on either side before filtering. Both sides require iscrowd=0. Annotation-free images remain in images.parquet; unmentioned image-category combinations are not synthesized as groups. Sama reannotation began with COCO annotations, so this is a comparison of annotation versions, not a claim of independent blind annotation. Sama's description of its labeling process.
Geometry contract
For each source bbox=[x,y,w,h], construct the endpoints exactly from the original decimal values, then compute:
Q(z) = nearest integer to 1000*z, with exact ties rounded to even
(x0,y0,x1,y1) = (Q(x), Q(y), Q(x+w), Q(y+h))
Raw annotation decimals are parsed as Decimal, and source endpoint arithmetic is exact. The DocLayNet model itself intentionally runs in float32. Its restored PNG-coordinate xyxy outputs are serialized with Python float round-trip precision, read back as exact decimals, and converted to xywh with exact endpoint differences before Q1000 quantization. Dataset conversion performs no additional float32 coercion after the model output. Rectangles are half-open: [x0,x1) × [y0,y1). A join pair requires strictly positive intersection width and height; boundary contact alone is not an intersection.
Malformed or non-finite boxes, nonpositive source widths/heights, and rectangles that become degenerate after quantization are excluded and counted. Finite negative coordinates and boxes outside the declared image bounds are retained. Coordinates are not clipped or resized during dataset conversion. Representability failures stop the build rather than silently wrapping integers.
After quantization, each group receives one shared integer translation for both R1 and R2. Its minimum retained y-coordinate becomes 1. Groups occupy disjoint x intervals with a one-unit gap, using the union of retained rectangle extents on both sides. The translation and local bounds are stored in groups.parquet. Translation preserves the quantized within-group geometry, areas, and IoUs while preventing intersections between different groups. Quantization itself may change the original continuous geometry slightly.
Every output weight is 1. Area sampling uses the quantized intersection area; IoU sampling uses intersection area divided by union area. No object matching, IoU threshold, NMS, deduplication, bbox merging, or annotation-count balancing is performed. Equal numbers of samples per group do not implement global mass-weighted sampling. Algorithm preprocessing remains part of measured algorithm cost. Int64 coordinate storage does not guarantee that area or cumulative-mass intermediates fit int64. Equal rectangles remain distinct records when they originate from distinct source annotation or prediction records.
Files and schema
Each of the three completed dataset directories contains the following files.
| File | Contents |
|---|---|
R1.npy, R2.npy |
NumPy arrays with shape (N,7), little-endian signed int64, no pickle |
R1_metadata.parquet, R2_metadata.parquet |
One row per retained rectangle, aligned with array row order |
groups.parquet |
Group identity, image dimensions, common translation, bounds, contiguous array slices, empty-side state, and validated overlap counts |
dataset.json |
Schema version, relation definitions, counts, filtering statistics, and numerical contract |
validation.json |
Validation results and clearly scoped geometric spot checks |
exclusions.jsonl.gz |
Rejected source records and exclusion reasons |
SHA256SUMS |
Checksums for the processed files |
Dataset-specific pairing reports, category mappings, and images.parquet are included where applicable. Each dataset's sources/*.json records source URLs, versions, retrieval metadata, archive members, and SHA-256 checksums of the extracted original annotation files. Source fingerprints identify the exact input bytes used for the release.
The seven array columns are:
record_id, group_id, x0, y0, x1, y1, weight
record_id is a zero-based row number unique within its relation; (relation, record_id) is the full generated record identity. It is not the source annotation ID. group_id is shared across the two relations. Coordinates are quantized and translated; weight is always 1.
The source record position is a 1-based CSV line number for MOT20 and a 0-based annotations-array index for JSON sources. Metadata includes source file, record position, annotation/image/category IDs, the original bbox decimal values, quantized local endpoints, and source-specific attributes. In groups.parquet, r1_start/r1_count and r2_start/r2_count identify contiguous row slices. state is one of both_nonempty, r1_only, r2_only, or both_empty. A group with two nonempty sides can still have zero positive-area join pairs.
Load a frozen release
Use an immutable Hugging Face commit SHA rather than a moving branch. Install numpy, pyarrow, and huggingface_hub, then:
from pathlib import Path
import json
import numpy as np
import pyarrow.parquet as pq
from huggingface_hub import snapshot_download, HfApi
revision = HfApi().dataset_info("DannHiroaki/VOSMA-Dataset", revision="v0.2.0").sha
print("Record this immutable revision with your experiment:", revision)
dataset = "doclaynet" # also available: mot20, coco_sama
root = Path(snapshot_download(
repo_id="DannHiroaki/VOSMA-Dataset",
repo_type="dataset",
revision=revision,
allow_patterns=[f"{dataset}/*"],
)) / dataset
r1 = np.load(root / "R1.npy", mmap_mode="r", allow_pickle=False)
r2 = np.load(root / "R2.npy", mmap_mode="r", allow_pickle=False)
groups = pq.read_table(root / "groups.parquet")
info = json.loads((root / "dataset.json").read_text())
assert info["schema_version"] == "vosma-real-rectangles-v1"
assert r1.shape[1] == r2.shape[1] == 7
# Read one group's original row slices, including an empty side if present.
g = groups.slice(0, 1).to_pylist()[0]
a = r1[g["r1_start"]:g["r1_start"] + g["r1_count"]]
b = r2[g["r2_start"]:g["r2_start"] + g["r2_count"]]
print(r1.shape, r2.shape, groups.num_rows, a.shape, b.shape)
The arrays can be used directly as benchmark inputs. Keep download, model inference, source conversion, and file-loading costs separate from algorithm measurements. Algorithm preprocessing remains part of measured algorithm cost. Report the release revision and requested sample count with results.
Rebuild from original annotations
From the builder repository root, with Python 3.12 and a C++17 compiler available:
python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt -r requirements-inference.txt
.venv/bin/python fetch_sources.py --raw-root raw --sources doclaynet mot20 coco2017 sama_train sama_val
.venv/bin/python fetch_doclaynet_model.py --output-root runtime/doclaynet
.venv/bin/python fetch_doclaynet_images.py --raw-root raw --output-root runtime/doclaynet --splits test --workers 16
.venv/bin/python infer_doclaynet.py --pages runtime/doclaynet/pages.json --images runtime/doclaynet/images --model runtime/doclaynet/model --model-manifest runtime/doclaynet/model-manifest.json --output-root runtime/doclaynet/predictions --workers 16 --threads 4
.venv/bin/python build.py --raw-root raw --output-root data --datasets doclaynet mot20 coco_sama --doc-pages runtime/doclaynet/pages.json --doc-predictions runtime/doclaynet/predictions/predictions.jsonl.gz --doc-protocol runtime/doclaynet/predictions/protocol.json
.venv/bin/python -m unittest discover -s tests
.venv/bin/python validate.py --data-root data --work-root runtime/validation --datasets doclaynet mot20 coco_sama
.venv/bin/python audit_doclaynet_inference.py --pages runtime/doclaynet/pages.json --images-manifest runtime/doclaynet/images-manifest.json --predictions runtime/doclaynet/predictions/predictions.jsonl.gz --protocol runtime/doclaynet/predictions/protocol.json --images runtime/doclaynet/images --output data/doclaynet/inference-audit.json
.venv/bin/python audit_doclaynet_relations.py --raw-root raw --data-root data --pages runtime/doclaynet/pages.json --predictions runtime/doclaynet/predictions/predictions.jsonl.gz --output data/doclaynet/independent-audit.json
.venv/bin/python independent_coco_audit.py --raw-root raw --data-root data --output data/coco_sama/independent-audit.json
Retain the independent image/protocol/prediction audit as doclaynet/inference-audit.json and the full relation audit as doclaynet/independent-audit.json. Both image fetching and inference began with eight workers and resumed with sixteen; inference kept four PyTorch threads per worker. Construction concurrency is recorded separately from the frozen numerical protocol. The original construction's run-history.json records the complete run; the inference summary's elapsed time covers only its resumed phase.
The annotation fetcher uses HTTP byte ranges and ZIP/ZIP64 member extraction. It enforces sources.lock.json, checks archive ETag/size and the exact selected member set, verifies ZIP CRC32 when reusing files, and pins each extracted member's SHA-256. The DocLayNet image fetcher additionally obtains only the selected official test PNGs needed for model inference. These images are build inputs and are not redistributed in the processed dataset. Model files are pinned by revision, size, and SHA-256; inference verifies the model manifest before loading.
The adapter checks each result's exact protocol SHA-256, the protocol's page-manifest SHA-256, fixed postprocessing, page completeness, dimensions, and the original category map. The independent inference audit reads all selected PNG bytes and checks image hashes, CRCs, dimensions, prediction identity, and provenance. The separate relation audit checks full record membership against the selected original GT and frozen predictions, including geometry filtering, metadata, and group assignment. The validator checks output records, IDs, group slices, unit weights, common translations, actual slab containment, and group separation, and counts positive-area overlaps without saving join pairs. Geometric spot checks are diagnostics, not full-pair population estimates. The independent inference audit checks the protocol's recorded model manifest; it does not itself reread checkpoint weights.
Licenses
Licenses apply to each dataset portion separately; this collection does not replace them with one blanket license.
| Portion | Source license | Conditions carried with this release |
|---|---|---|
| DocLayNet-derived data | CDLA-Permissive-1.0 | Preserve source attribution and license access; identify the modifications described above. |
| Aryn source model | Apache-2.0 model card | Model weights are fetched as build inputs; their pinned revision and license remain recorded in provenance. |
| MOT20-derived data | CC BY-NC-SA 3.0 | Attribution, noncommercial use, and ShareAlike conditions apply. |
| COCO/Sama-COCO-derived annotation data | CC BY 4.0 | Preserve attribution and license access, and indicate modifications. |
Credit the original DocLayNet, MOT20, COCO, and Sama-COCO creators when using their portions. This derivative changes annotation selection, numerical representation, and group placement as documented above. Source image licenses are separate; source images are not redistributed here. See the COCO terms and Sama dataset information for the original resources.
Cite the sources
- Pfitzmann et al. (2022), DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysis.
- Dendorfer et al. (2020), MOT20: A benchmark for multi object tracking in crowded scenes.
- Lin et al. (2014), Microsoft COCO: Common Objects in Context.
- Zimmermann et al. (2023), Benchmarking a Benchmark: How Reliable is MS-COCO?.
Also identify this dataset repository and the exact release commit SHA in experiment reports. Model predictions versus GT, detection versus GT, and annotation-version comparisons have different provenance and should be reported separately.
- Downloads last month
- 229