File size: 146,157 Bytes
002bd9b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 |
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"os.chdir(\"../..\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"import os.path as osp\n",
"from pathlib import Path\n",
"import numpy as np\n",
"import pandas as pd\n",
"import json"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"def _add_prefix_suffix_to_path(path: str, prefix: str, suffix: str) -> str:\n",
" base_dir, filename = os.path.split(path)\n",
" return os.path.join(base_dir, prefix + filename + suffix)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"pred_json_dict = {\n",
" \"sca\": \"amlt/exp-verb-metric/infer-train-sca-ablat-lsj-scale_lr-110423-110723.running-2/last-fp16-ollm3bv2-large-lsj-1xlr.110423.octo-4x8-v100-16g-no_pre/vg-densecap-region_descriptions/infer/infer-visual_genome-region_descriptions_v1.2.0-test.json\",\n",
" \"blip2-opt-2.7b\": \"amlt/exp-verb-metric/infer-sam_captioner/Salesforce/blip2-opt-2.7b/infer-post_processed/infer-visual_genome-densecap-local-densecap-test.json.post.json\",\n",
" \"blip2-opt-2.7b-coco\": \"amlt/exp-verb-metric/infer-sam_captioner/Salesforce/blip2-opt-2.7b-coco/infer-post_processed/infer-visual_genome-densecap-local-densecap-test.json.post.json\",\n",
" \"blip2-opt-6.7b\": \"amlt/exp-verb-metric/infer-sam_captioner/Salesforce/blip2-opt-6.7b/infer-post_processed/infer-visual_genome-densecap-local-densecap-test.json.post.json\",\n",
" \"blip2-opt-6.7b-coco\": \"amlt/exp-verb-metric/infer-sam_captioner/Salesforce/blip2-opt-6.7b-coco/infer-post_processed/infer-visual_genome-densecap-local-densecap-test.json.post.json\",\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"SCORE_PREFIXS = [\"noun_distance\", \"noun_recall\", \"verb_distance\", \"verb_recall\"]\n",
"score_json_dict = {}\n",
"for score_prefix in SCORE_PREFIXS:\n",
" score_json_dict[score_prefix] = {}\n",
" for pred_name, pred_json_path in pred_json_dict.items():\n",
" score_json_dict[score_prefix][pred_name] = _add_prefix_suffix_to_path(pred_json_path, score_prefix + \"-\", \".json\")"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
"# check the existence of the files\n",
"for k, v in pred_json_dict.items():\n",
" assert osp.exists(v), f\"{v} does not exist\"\n",
"\n",
"for score_prefix, _score_json_dict in score_json_dict.items():\n",
" for pred_name, pred_json_path in _score_json_dict.items():\n",
" assert osp.exists(pred_json_path), f\"{pred_json_path} does not exist\""
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>_id</th>\n",
" <th>ref</th>\n",
" <th>pred</th>\n",
" <th>noun_distance</th>\n",
" <th>noun_recall</th>\n",
" <th>verb_distance</th>\n",
" <th>verb_recall</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a button on a jacket</td>\n",
" <td>0.690787</td>\n",
" <td>0.666667</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>1</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>the name of the photographer</td>\n",
" <td>0.521651</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>2</td>\n",
" <td>photographer logo and name</td>\n",
" <td>the writing is in white</td>\n",
" <td>0.234670</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>3</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>The man is wearing a tie.</td>\n",
" <td>1.000000</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>4</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>The man is wearing a black vest.</td>\n",
" <td>0.743470</td>\n",
" <td>0.500000</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" _id ref \\\n",
"0 0 button on the mans jacket \n",
"1 1 photography website for the company that took ... \n",
"2 2 photographer logo and name \n",
"3 3 black tie the man is wearing \n",
"4 4 a vest that is under the coat \n",
"\n",
" pred noun_distance noun_recall \\\n",
"0 a button on a jacket 0.690787 0.666667 \n",
"1 the name of the photographer 0.521651 0.000000 \n",
"2 the writing is in white 0.234670 0.000000 \n",
"3 The man is wearing a tie. 1.000000 1.000000 \n",
"4 The man is wearing a black vest. 0.743470 0.500000 \n",
"\n",
" verb_distance verb_recall \n",
"0 0.0 0.0 \n",
"1 0.0 0.0 \n",
"2 0.0 0.0 \n",
"3 1.0 1.0 \n",
"4 0.0 0.0 "
]
},
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# load json and score and combine them into one dataframe\n",
"\n",
"def read_pred_score(pred_name):\n",
" pred_json_path = pred_json_dict[pred_name]\n",
" with open(pred_json_path, \"r\") as pred_json_path:\n",
" pred_json = json.load(pred_json_path)\n",
"\n",
" scores = []\n",
" for score_prefix in SCORE_PREFIXS:\n",
" score_json_path = score_json_dict[score_prefix][pred_name]\n",
" with open(score_json_path, \"r\") as score_json_path:\n",
" score_json = json.load(score_json_path)\n",
" scores.append(np.array(score_json))\n",
" scores = np.stack(scores, axis=-1) # (N, num_score_type)\n",
"\n",
" if len(pred_json) != len(scores):\n",
" raise ValueError(f\"pred_json and score_json have different length: {len(pred_json)} vs {len(scores)}, in {pred_json_path} and {score_json_path}\")\n",
"\n",
" conbined_json = []\n",
" for pred, score in zip(pred_json, scores):\n",
" pred_dict = {\n",
" \"_id\": pred[\"_id\"],\n",
" \"ref\": pred[\"references\"][0],\n",
" \"pred\": pred[\"candidates\"][0],\n",
" }\n",
" score_dict = {score_prefix: score[i] for i, score_prefix in enumerate(SCORE_PREFIXS)}\n",
" conbine_dict = {**pred_dict, **score_dict}\n",
" conbined_json.append(conbine_dict)\n",
"\n",
" conbined_df = pd.DataFrame(conbined_json)\n",
" return conbined_df\n",
"\n",
"pred_name = \"sca\"\n",
"conbined_df = read_pred_score(pred_name)\n",
"conbined_df.head()"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"outputs": [],
"source": [
"conbined_dict = {}\n",
"for pred_name in pred_json_dict.keys():\n",
" conbined_dict[pred_name] = read_pred_score(pred_name)\n"
]
},
{
"cell_type": "code",
"execution_count": 41,
"metadata": {},
"outputs": [],
"source": [
"combined_df = pd.concat([conbined_dict[df_name].add_prefix(df_name + \"-\") for df_name in pred_json_dict.keys()], axis=1)"
]
},
{
"cell_type": "code",
"execution_count": 42,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>sca-_id</th>\n",
" <th>sca-ref</th>\n",
" <th>sca-pred</th>\n",
" <th>sca-noun_distance</th>\n",
" <th>sca-noun_recall</th>\n",
" <th>sca-verb_distance</th>\n",
" <th>sca-verb_recall</th>\n",
" <th>blip2-opt-2.7b-_id</th>\n",
" <th>blip2-opt-2.7b-ref</th>\n",
" <th>blip2-opt-2.7b-pred</th>\n",
" <th>...</th>\n",
" <th>blip2-opt-6.7b-noun_recall</th>\n",
" <th>blip2-opt-6.7b-verb_distance</th>\n",
" <th>blip2-opt-6.7b-verb_recall</th>\n",
" <th>blip2-opt-6.7b-coco-_id</th>\n",
" <th>blip2-opt-6.7b-coco-ref</th>\n",
" <th>blip2-opt-6.7b-coco-pred</th>\n",
" <th>blip2-opt-6.7b-coco-noun_distance</th>\n",
" <th>blip2-opt-6.7b-coco-noun_recall</th>\n",
" <th>blip2-opt-6.7b-coco-verb_distance</th>\n",
" <th>blip2-opt-6.7b-coco-verb_recall</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a button on a jacket</td>\n",
" <td>0.690787</td>\n",
" <td>0.666667</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a black and white photo of a person in a dark ...</td>\n",
" <td>...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a blurry image of a person standing in front o...</td>\n",
" <td>0.314736</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>1</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>the name of the photographer</td>\n",
" <td>0.521651</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>1</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>a black and white image of a line of white lin...</td>\n",
" <td>...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>1</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>a close up of a clock with a black background\\n</td>\n",
" <td>0.403307</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>2</td>\n",
" <td>photographer logo and name</td>\n",
" <td>the writing is in white</td>\n",
" <td>0.234670</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>2</td>\n",
" <td>photographer logo and name</td>\n",
" <td>a man is standing in front of a blue background\\n</td>\n",
" <td>...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>2</td>\n",
" <td>photographer logo and name</td>\n",
" <td>a close up of a man wearing a white shirt and ...</td>\n",
" <td>0.282883</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>3</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>The man is wearing a tie.</td>\n",
" <td>1.000000</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>3</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>a man wearing a suit and tie\\n</td>\n",
" <td>...</td>\n",
" <td>0.5</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>3</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>a close up of a woman's legs in a pair of high...</td>\n",
" <td>0.591417</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>4</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>The man is wearing a black vest.</td>\n",
" <td>0.743470</td>\n",
" <td>0.500000</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>4</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>a man is sitting on a chair\\n</td>\n",
" <td>...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>4</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>a close up of a pair of shoes with a person we...</td>\n",
" <td>0.460147</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>5 rows × 35 columns</p>\n",
"</div>"
],
"text/plain": [
" sca-_id sca-ref \\\n",
"0 0 button on the mans jacket \n",
"1 1 photography website for the company that took ... \n",
"2 2 photographer logo and name \n",
"3 3 black tie the man is wearing \n",
"4 4 a vest that is under the coat \n",
"\n",
" sca-pred sca-noun_distance sca-noun_recall \\\n",
"0 a button on a jacket 0.690787 0.666667 \n",
"1 the name of the photographer 0.521651 0.000000 \n",
"2 the writing is in white 0.234670 0.000000 \n",
"3 The man is wearing a tie. 1.000000 1.000000 \n",
"4 The man is wearing a black vest. 0.743470 0.500000 \n",
"\n",
" sca-verb_distance sca-verb_recall blip2-opt-2.7b-_id \\\n",
"0 0.0 0.0 0 \n",
"1 0.0 0.0 1 \n",
"2 0.0 0.0 2 \n",
"3 1.0 1.0 3 \n",
"4 0.0 0.0 4 \n",
"\n",
" blip2-opt-2.7b-ref \\\n",
"0 button on the mans jacket \n",
"1 photography website for the company that took ... \n",
"2 photographer logo and name \n",
"3 black tie the man is wearing \n",
"4 a vest that is under the coat \n",
"\n",
" blip2-opt-2.7b-pred ... \\\n",
"0 a black and white photo of a person in a dark ... ... \n",
"1 a black and white image of a line of white lin... ... \n",
"2 a man is standing in front of a blue background\\n ... \n",
"3 a man wearing a suit and tie\\n ... \n",
"4 a man is sitting on a chair\\n ... \n",
"\n",
" blip2-opt-6.7b-noun_recall blip2-opt-6.7b-verb_distance \\\n",
"0 0.0 0.0 \n",
"1 0.0 0.0 \n",
"2 0.0 0.0 \n",
"3 0.5 1.0 \n",
"4 0.0 0.0 \n",
"\n",
" blip2-opt-6.7b-verb_recall blip2-opt-6.7b-coco-_id \\\n",
"0 0.0 0 \n",
"1 0.0 1 \n",
"2 0.0 2 \n",
"3 1.0 3 \n",
"4 0.0 4 \n",
"\n",
" blip2-opt-6.7b-coco-ref \\\n",
"0 button on the mans jacket \n",
"1 photography website for the company that took ... \n",
"2 photographer logo and name \n",
"3 black tie the man is wearing \n",
"4 a vest that is under the coat \n",
"\n",
" blip2-opt-6.7b-coco-pred \\\n",
"0 a blurry image of a person standing in front o... \n",
"1 a close up of a clock with a black background\\n \n",
"2 a close up of a man wearing a white shirt and ... \n",
"3 a close up of a woman's legs in a pair of high... \n",
"4 a close up of a pair of shoes with a person we... \n",
"\n",
" blip2-opt-6.7b-coco-noun_distance blip2-opt-6.7b-coco-noun_recall \\\n",
"0 0.314736 0.0 \n",
"1 0.403307 0.0 \n",
"2 0.282883 0.0 \n",
"3 0.591417 0.0 \n",
"4 0.460147 0.0 \n",
"\n",
" blip2-opt-6.7b-coco-verb_distance blip2-opt-6.7b-coco-verb_recall \n",
"0 0.0 0.0 \n",
"1 0.0 0.0 \n",
"2 0.0 0.0 \n",
"3 0.0 0.0 \n",
"4 0.0 0.0 \n",
"\n",
"[5 rows x 35 columns]"
]
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"combined_df.head()"
]
},
{
"cell_type": "code",
"execution_count": 63,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>sca-ref</th>\n",
" <th>sca-pred</th>\n",
" <th>sca-verb_distance</th>\n",
" <th>sca-verb_recall</th>\n",
" <th>blip2-opt-2.7b-ref</th>\n",
" <th>blip2-opt-2.7b-pred</th>\n",
" <th>blip2-opt-2.7b-verb_distance</th>\n",
" <th>blip2-opt-2.7b-verb_recall</th>\n",
" <th>blip2-opt-2.7b-coco-ref</th>\n",
" <th>blip2-opt-2.7b-coco-pred</th>\n",
" <th>blip2-opt-2.7b-coco-verb_distance</th>\n",
" <th>blip2-opt-2.7b-coco-verb_recall</th>\n",
" <th>blip2-opt-6.7b-ref</th>\n",
" <th>blip2-opt-6.7b-pred</th>\n",
" <th>blip2-opt-6.7b-verb_distance</th>\n",
" <th>blip2-opt-6.7b-verb_recall</th>\n",
" <th>blip2-opt-6.7b-coco-ref</th>\n",
" <th>blip2-opt-6.7b-coco-pred</th>\n",
" <th>blip2-opt-6.7b-coco-verb_distance</th>\n",
" <th>blip2-opt-6.7b-coco-verb_recall</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>button on the mans jacket</td>\n",
" <td>a button on a jacket</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a black and white photo of a person in a dark ...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a blurry picture of a black and white picture ...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a black and white photo of a person with a whi...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>button on the mans jacket</td>\n",
" <td>a blurry image of a person standing in front o...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>the name of the photographer</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>a black and white image of a line of white lin...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>a blurry image of a bunch of white lines on a ...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>a black and white image of a wave pattern\\n</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photography website for the company that took ...</td>\n",
" <td>a close up of a clock with a black background\\n</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>photographer logo and name</td>\n",
" <td>the writing is in white</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photographer logo and name</td>\n",
" <td>a man is standing in front of a blue background\\n</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photographer logo and name</td>\n",
" <td>a man is holding a camera and taking a picture\\n</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photographer logo and name</td>\n",
" <td>profile picture for sc photography\\n</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>photographer logo and name</td>\n",
" <td>a close up of a man wearing a white shirt and ...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>black tie the man is wearing</td>\n",
" <td>The man is wearing a tie.</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>a man wearing a suit and tie\\n</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>a man wearing a tie and a shirt with a tie\\n</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>a man wearing a suit and tie\\n</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>black tie the man is wearing</td>\n",
" <td>a close up of a woman's legs in a pair of high...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>a vest that is under the coat</td>\n",
" <td>The man is wearing a black vest.</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>a man is sitting on a chair\\n</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>a black cat sitting on a couch with a blanket ...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>a man is sitting on a chair\\n</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>a vest that is under the coat</td>\n",
" <td>a close up of a pair of shoes with a person we...</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" sca-ref \\\n",
"0 button on the mans jacket \n",
"1 photography website for the company that took ... \n",
"2 photographer logo and name \n",
"3 black tie the man is wearing \n",
"4 a vest that is under the coat \n",
"\n",
" sca-pred sca-verb_distance sca-verb_recall \\\n",
"0 a button on a jacket 0.0 0.0 \n",
"1 the name of the photographer 0.0 0.0 \n",
"2 the writing is in white 0.0 0.0 \n",
"3 The man is wearing a tie. 1.0 1.0 \n",
"4 The man is wearing a black vest. 0.0 0.0 \n",
"\n",
" blip2-opt-2.7b-ref \\\n",
"0 button on the mans jacket \n",
"1 photography website for the company that took ... \n",
"2 photographer logo and name \n",
"3 black tie the man is wearing \n",
"4 a vest that is under the coat \n",
"\n",
" blip2-opt-2.7b-pred \\\n",
"0 a black and white photo of a person in a dark ... \n",
"1 a black and white image of a line of white lin... \n",
"2 a man is standing in front of a blue background\\n \n",
"3 a man wearing a suit and tie\\n \n",
"4 a man is sitting on a chair\\n \n",
"\n",
" blip2-opt-2.7b-verb_distance blip2-opt-2.7b-verb_recall \\\n",
"0 0.0 0.0 \n",
"1 0.0 0.0 \n",
"2 0.0 0.0 \n",
"3 1.0 1.0 \n",
"4 0.0 0.0 \n",
"\n",
" blip2-opt-2.7b-coco-ref \\\n",
"0 button on the mans jacket \n",
"1 photography website for the company that took ... \n",
"2 photographer logo and name \n",
"3 black tie the man is wearing \n",
"4 a vest that is under the coat \n",
"\n",
" blip2-opt-2.7b-coco-pred \\\n",
"0 a blurry picture of a black and white picture ... \n",
"1 a blurry image of a bunch of white lines on a ... \n",
"2 a man is holding a camera and taking a picture\\n \n",
"3 a man wearing a tie and a shirt with a tie\\n \n",
"4 a black cat sitting on a couch with a blanket ... \n",
"\n",
" blip2-opt-2.7b-coco-verb_distance blip2-opt-2.7b-coco-verb_recall \\\n",
"0 0.0 0.0 \n",
"1 0.0 0.0 \n",
"2 0.0 0.0 \n",
"3 1.0 1.0 \n",
"4 0.0 0.0 \n",
"\n",
" blip2-opt-6.7b-ref \\\n",
"0 button on the mans jacket \n",
"1 photography website for the company that took ... \n",
"2 photographer logo and name \n",
"3 black tie the man is wearing \n",
"4 a vest that is under the coat \n",
"\n",
" blip2-opt-6.7b-pred \\\n",
"0 a black and white photo of a person with a whi... \n",
"1 a black and white image of a wave pattern\\n \n",
"2 profile picture for sc photography\\n \n",
"3 a man wearing a suit and tie\\n \n",
"4 a man is sitting on a chair\\n \n",
"\n",
" blip2-opt-6.7b-verb_distance blip2-opt-6.7b-verb_recall \\\n",
"0 0.0 0.0 \n",
"1 0.0 0.0 \n",
"2 0.0 0.0 \n",
"3 1.0 1.0 \n",
"4 0.0 0.0 \n",
"\n",
" blip2-opt-6.7b-coco-ref \\\n",
"0 button on the mans jacket \n",
"1 photography website for the company that took ... \n",
"2 photographer logo and name \n",
"3 black tie the man is wearing \n",
"4 a vest that is under the coat \n",
"\n",
" blip2-opt-6.7b-coco-pred \\\n",
"0 a blurry image of a person standing in front o... \n",
"1 a close up of a clock with a black background\\n \n",
"2 a close up of a man wearing a white shirt and ... \n",
"3 a close up of a woman's legs in a pair of high... \n",
"4 a close up of a pair of shoes with a person we... \n",
"\n",
" blip2-opt-6.7b-coco-verb_distance blip2-opt-6.7b-coco-verb_recall \n",
"0 0.0 0.0 \n",
"1 0.0 0.0 \n",
"2 0.0 0.0 \n",
"3 0.0 0.0 \n",
"4 0.0 0.0 "
]
},
"execution_count": 63,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"filtered_combined_df = combined_df[[i for i in combined_df.columns if \"verb\" in i or \"pred\" in i or \"ref\" in i]]\n",
"filtered_combined_df.head()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 67,
"metadata": {},
"outputs": [],
"source": [
"df = filtered_combined_df"
]
},
{
"cell_type": "code",
"execution_count": 72,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>sca-ref</th>\n",
" <th>sca-pred</th>\n",
" <th>sca-verb_distance</th>\n",
" <th>sca-verb_recall</th>\n",
" <th>blip2-opt-2.7b-ref</th>\n",
" <th>blip2-opt-2.7b-pred</th>\n",
" <th>blip2-opt-2.7b-verb_distance</th>\n",
" <th>blip2-opt-2.7b-verb_recall</th>\n",
" <th>blip2-opt-2.7b-coco-ref</th>\n",
" <th>blip2-opt-2.7b-coco-pred</th>\n",
" <th>blip2-opt-2.7b-coco-verb_distance</th>\n",
" <th>blip2-opt-2.7b-coco-verb_recall</th>\n",
" <th>blip2-opt-6.7b-ref</th>\n",
" <th>blip2-opt-6.7b-pred</th>\n",
" <th>blip2-opt-6.7b-verb_distance</th>\n",
" <th>blip2-opt-6.7b-verb_recall</th>\n",
" <th>blip2-opt-6.7b-coco-ref</th>\n",
" <th>blip2-opt-6.7b-coco-pred</th>\n",
" <th>blip2-opt-6.7b-coco-verb_distance</th>\n",
" <th>blip2-opt-6.7b-coco-verb_recall</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>12766</th>\n",
" <td>truck hauling an airplane's cargo</td>\n",
" <td>A truck is next to the plane.</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>truck hauling an airplane's cargo</td>\n",
" <td>a truck is driving down the road\\n</td>\n",
" <td>0.599886</td>\n",
" <td>0.0</td>\n",
" <td>truck hauling an airplane's cargo</td>\n",
" <td>a truck is carrying boxes on the back of it\\n</td>\n",
" <td>0.726537</td>\n",
" <td>0.0</td>\n",
" <td>truck hauling an airplane's cargo</td>\n",
" <td>a truck with a load of boxes on the back\\n</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>truck hauling an airplane's cargo</td>\n",
" <td>a truck with a load of furniture on the back o...</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>238035</th>\n",
" <td>sliding glass door</td>\n",
" <td>the window is open</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>sliding glass door</td>\n",
" <td>a man is holding a white towel\\n</td>\n",
" <td>0.599672</td>\n",
" <td>0.0</td>\n",
" <td>sliding glass door</td>\n",
" <td>a blurry picture of a cell phone with a red li...</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>sliding glass door</td>\n",
" <td>a person is holding a cell phone in front of a...</td>\n",
" <td>0.599672</td>\n",
" <td>0.0</td>\n",
" <td>sliding glass door</td>\n",
" <td>a blurry picture of a man standing in front of...</td>\n",
" <td>0.612457</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13302</th>\n",
" <td>Tree trunk providing shade</td>\n",
" <td>the trunk of a tree</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>Tree trunk providing shade</td>\n",
" <td>a man is standing in front of a building\\n</td>\n",
" <td>0.599651</td>\n",
" <td>0.0</td>\n",
" <td>Tree trunk providing shade</td>\n",
" <td>a blurry image of a giraffe standing in a field\\n</td>\n",
" <td>0.599651</td>\n",
" <td>0.0</td>\n",
" <td>Tree trunk providing shade</td>\n",
" <td>a person is standing in front of a building\\n</td>\n",
" <td>0.599651</td>\n",
" <td>0.0</td>\n",
" <td>Tree trunk providing shade</td>\n",
" <td>a man standing in the shade of a tree with a s...</td>\n",
" <td>0.599651</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>123060</th>\n",
" <td>railing is green</td>\n",
" <td>a green fence on the side of the platform</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>railing is green</td>\n",
" <td>a train is pulling into a station\\n</td>\n",
" <td>0.599623</td>\n",
" <td>0.0</td>\n",
" <td>railing is green</td>\n",
" <td>a man is walking down a sidewalk with a skateb...</td>\n",
" <td>0.495665</td>\n",
" <td>0.0</td>\n",
" <td>railing is green</td>\n",
" <td>a train is coming\\n</td>\n",
" <td>0.418080</td>\n",
" <td>0.0</td>\n",
" <td>railing is green</td>\n",
" <td>a man walking down a sidewalk next to a green ...</td>\n",
" <td>0.495665</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>96716</th>\n",
" <td>person siting on the side</td>\n",
" <td>a man standing in front of a wall</td>\n",
" <td>0.742729</td>\n",
" <td>0.0</td>\n",
" <td>person siting on the side</td>\n",
" <td>a man is painting a wall\\n</td>\n",
" <td>0.599327</td>\n",
" <td>0.0</td>\n",
" <td>person siting on the side</td>\n",
" <td>a woman is sitting on a chair in a bathroom\\n</td>\n",
" <td>0.656225</td>\n",
" <td>0.0</td>\n",
" <td>person siting on the side</td>\n",
" <td>a man standing in front of a large white board\\n</td>\n",
" <td>0.742729</td>\n",
" <td>0.0</td>\n",
" <td>person siting on the side</td>\n",
" <td>a woman standing in front of a large white boa...</td>\n",
" <td>0.742729</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>123993</th>\n",
" <td>man eating chocolate glazed doughnut with spri...</td>\n",
" <td>a man eating a donut</td>\n",
" <td>0.599321</td>\n",
" <td>0.5</td>\n",
" <td>man eating chocolate glazed doughnut with spri...</td>\n",
" <td>a man eating a doughnut\\n</td>\n",
" <td>0.599321</td>\n",
" <td>0.5</td>\n",
" <td>man eating chocolate glazed doughnut with spri...</td>\n",
" <td>a man eating a doughnut with sprinkles on it\\n</td>\n",
" <td>0.599321</td>\n",
" <td>0.5</td>\n",
" <td>man eating chocolate glazed doughnut with spri...</td>\n",
" <td>a man eating a donut\\n</td>\n",
" <td>0.599321</td>\n",
" <td>0.5</td>\n",
" <td>man eating chocolate glazed doughnut with spri...</td>\n",
" <td>a man with glasses eating a doughnut with spri...</td>\n",
" <td>0.599321</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>108952</th>\n",
" <td>Catcher crouching down in the dirt</td>\n",
" <td>the catcher is squatting</td>\n",
" <td>0.713759</td>\n",
" <td>0.0</td>\n",
" <td>Catcher crouching down in the dirt</td>\n",
" <td>a baseball player is throwing a ball\\n</td>\n",
" <td>0.599297</td>\n",
" <td>0.0</td>\n",
" <td>Catcher crouching down in the dirt</td>\n",
" <td>a blurry picture of a table with a bunch of st...</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>Catcher crouching down in the dirt</td>\n",
" <td>a baseball player is swinging a bat\\n</td>\n",
" <td>0.648913</td>\n",
" <td>0.0</td>\n",
" <td>Catcher crouching down in the dirt</td>\n",
" <td>a blurry image of a baseball player in a unifo...</td>\n",
" <td>0.563707</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>188897</th>\n",
" <td>ladels and whisk hanging from ceiling</td>\n",
" <td>utensils hanging from the ceiling</td>\n",
" <td>0.599189</td>\n",
" <td>0.5</td>\n",
" <td>ladels and whisk hanging from ceiling</td>\n",
" <td>a kitchen with a mixer and a whisk hanging fro...</td>\n",
" <td>0.599189</td>\n",
" <td>0.5</td>\n",
" <td>ladels and whisk hanging from ceiling</td>\n",
" <td>a close up of a mixer with a whisk and a bowl\\n</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>ladels and whisk hanging from ceiling</td>\n",
" <td>a kitchen with a stove and a mixer\\n</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>ladels and whisk hanging from ceiling</td>\n",
" <td>a ceiling fan and a metal whisk hanging from a...</td>\n",
" <td>0.599189</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>139590</th>\n",
" <td>a cutting boarding leaning against a wall</td>\n",
" <td>a wooden cutting board</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>a cutting boarding leaning against a wall</td>\n",
" <td>a wooden cutting board sitting on top of a sink\\n</td>\n",
" <td>0.599170</td>\n",
" <td>0.0</td>\n",
" <td>a cutting boarding leaning against a wall</td>\n",
" <td>a man is sitting on a chair with a book in fro...</td>\n",
" <td>0.599170</td>\n",
" <td>0.0</td>\n",
" <td>a cutting boarding leaning against a wall</td>\n",
" <td>a sink with a faucet and a wooden cutting board\\n</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>a cutting boarding leaning against a wall</td>\n",
" <td>a close up of a sink with a faucet and a towel\\n</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>184970</th>\n",
" <td>Guy wearing white shirt and tie</td>\n",
" <td>a man wearing a white shirt</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>Guy wearing white shirt and tie</td>\n",
" <td>a man wearing a white shirt\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>Guy wearing white shirt and tie</td>\n",
" <td>a man in a white shirt and tie standing next t...</td>\n",
" <td>0.757276</td>\n",
" <td>0.5</td>\n",
" <td>Guy wearing white shirt and tie</td>\n",
" <td>a man wearing a white shirt\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>Guy wearing white shirt and tie</td>\n",
" <td>a man in a white shirt and tie standing outside\\n</td>\n",
" <td>0.757276</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>114386</th>\n",
" <td>The brown and white bow tie the girl is wearing.</td>\n",
" <td>the bow tie is black and white</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>The brown and white bow tie the girl is wearing.</td>\n",
" <td>a man wearing a bow tie\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>The brown and white bow tie the girl is wearing.</td>\n",
" <td>a close up of a man wearing a white shirt and ...</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>The brown and white bow tie the girl is wearing.</td>\n",
" <td>a man wearing a bow tie\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>The brown and white bow tie the girl is wearing.</td>\n",
" <td>a person wearing a brown bow tie with a white ...</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>49809</th>\n",
" <td>the man is wearing a vest and tie</td>\n",
" <td>a man wearing a tie</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>the man is wearing a vest and tie</td>\n",
" <td>man wearing a black vest\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>the man is wearing a vest and tie</td>\n",
" <td>a man in a suit and tie taking a selfie\\n</td>\n",
" <td>0.734603</td>\n",
" <td>0.5</td>\n",
" <td>the man is wearing a vest and tie</td>\n",
" <td>a man wearing a vest\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>the man is wearing a vest and tie</td>\n",
" <td>a man in a vest and tie taking a selfie\\n</td>\n",
" <td>0.734603</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>89413</th>\n",
" <td>Man is wearing a suit and tie</td>\n",
" <td>a man wearing a suit</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>Man is wearing a suit and tie</td>\n",
" <td>man wearing a suit\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>Man is wearing a suit and tie</td>\n",
" <td>a man in a suit and tie taking a selfie\\n</td>\n",
" <td>0.734603</td>\n",
" <td>0.5</td>\n",
" <td>Man is wearing a suit and tie</td>\n",
" <td>man wearing a suit\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>Man is wearing a suit and tie</td>\n",
" <td>a man in a suit taking a selfie in a mirror\\n</td>\n",
" <td>0.272746</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>169682</th>\n",
" <td>A man is wearing a vest and tie</td>\n",
" <td>a man wearing a vest</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>A man is wearing a vest and tie</td>\n",
" <td>a man wearing a vest\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>A man is wearing a vest and tie</td>\n",
" <td>a man in a sweater vest and tie sitting at a t...</td>\n",
" <td>0.776905</td>\n",
" <td>0.5</td>\n",
" <td>A man is wearing a vest and tie</td>\n",
" <td>a man wearing a vest\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>A man is wearing a vest and tie</td>\n",
" <td>a man in a sweater and tie sitting at a table\\n</td>\n",
" <td>0.776905</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>231217</th>\n",
" <td>man wearing suit and tie</td>\n",
" <td>a man wearing a suit</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>man wearing suit and tie</td>\n",
" <td>a man wearing a tie\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>man wearing suit and tie</td>\n",
" <td>a man in a suit and tie sitting at a table wit...</td>\n",
" <td>0.776905</td>\n",
" <td>0.5</td>\n",
" <td>man wearing suit and tie</td>\n",
" <td>a man wearing a suit and tie\\n</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>man wearing suit and tie</td>\n",
" <td>a man in a suit and tie sitting at a table\\n</td>\n",
" <td>0.776905</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>159392</th>\n",
" <td>person wearing an orange and red plaid shirt a...</td>\n",
" <td>a man wearing a red and white striped shirt</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>person wearing an orange and red plaid shirt a...</td>\n",
" <td>a man wearing a tie\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>person wearing an orange and red plaid shirt a...</td>\n",
" <td>a young man in a tie and plaid shirt holding a...</td>\n",
" <td>0.352133</td>\n",
" <td>0.0</td>\n",
" <td>person wearing an orange and red plaid shirt a...</td>\n",
" <td>a man wearing a tie\\n</td>\n",
" <td>0.599068</td>\n",
" <td>0.5</td>\n",
" <td>person wearing an orange and red plaid shirt a...</td>\n",
" <td>a man in a tie and plaid shirt standing next t...</td>\n",
" <td>0.288216</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>137457</th>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a balding man in a plaid shirt</td>\n",
" <td>0.216295</td>\n",
" <td>0.0</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table with a pl...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table with food...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>137455</th>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a woman wearing a gray shirt</td>\n",
" <td>0.346079</td>\n",
" <td>0.0</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table with plat...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a woman wearing a green sweater\\n</td>\n",
" <td>0.346079</td>\n",
" <td>0.0</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table eating fo...</td>\n",
" <td>0.739933</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>137462</th>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a man wearing a white shirt</td>\n",
" <td>0.346079</td>\n",
" <td>0.0</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a man sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a man sitting at a table with a woman and a pl...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a man sitting at a table with a woman and a ch...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a man sitting at a table with a plate of food ...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>137461</th>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a woman sitting at a table</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table with food...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>a person sitting at a table to eat</td>\n",
" <td>a group of people sitting at a table with food...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>180683</th>\n",
" <td>Two people sitting down to eat food</td>\n",
" <td>two people sitting at a table</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>Two people sitting down to eat food</td>\n",
" <td>a person sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>Two people sitting down to eat food</td>\n",
" <td>a person sitting at a table with a plate of fo...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>Two people sitting down to eat food</td>\n",
" <td>a person is sitting at a table\\n</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" <td>Two people sitting down to eat food</td>\n",
" <td>a blurry image of a person sitting at a table ...</td>\n",
" <td>0.598928</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>205409</th>\n",
" <td>man wearing suit and bow tie</td>\n",
" <td>a man wearing a bow tie</td>\n",
" <td>0.598670</td>\n",
" <td>0.5</td>\n",
" <td>man wearing suit and bow tie</td>\n",
" <td>man wearing a gray jacket\\n</td>\n",
" <td>0.598670</td>\n",
" <td>0.5</td>\n",
" <td>man wearing suit and bow tie</td>\n",
" <td>a group of people standing around a man with a...</td>\n",
" <td>0.327370</td>\n",
" <td>0.0</td>\n",
" <td>man wearing suit and bow tie</td>\n",
" <td>a group of people standing together\\n</td>\n",
" <td>0.327370</td>\n",
" <td>0.0</td>\n",
" <td>man wearing suit and bow tie</td>\n",
" <td>a group of a man in a suit and bow tie standin...</td>\n",
" <td>0.757276</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21273</th>\n",
" <td>A truck pulling a white trailer.</td>\n",
" <td>a truck is behind the train</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>A truck pulling a white trailer.</td>\n",
" <td>a truck driving down the road with a trailer a...</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>A truck pulling a white trailer.</td>\n",
" <td>a blurry picture of a truck driving down a str...</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>A truck pulling a white trailer.</td>\n",
" <td>a truck is driving down a road with a trailer\\n</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>A truck pulling a white trailer.</td>\n",
" <td>a truck is driving down the road with a traile...</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21264</th>\n",
" <td>Truck pulling a trailer behind and to the left...</td>\n",
" <td>a truck is behind the train</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>Truck pulling a trailer behind and to the left...</td>\n",
" <td>a truck driving down the road with a trailer a...</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>Truck pulling a trailer behind and to the left...</td>\n",
" <td>a blurry picture of a truck driving down a str...</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>Truck pulling a trailer behind and to the left...</td>\n",
" <td>a truck is driving down a road with a trailer\\n</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>Truck pulling a trailer behind and to the left...</td>\n",
" <td>a truck is driving down the road with a traile...</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>94950</th>\n",
" <td>A car pulling out.</td>\n",
" <td>a car on the street</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>A car pulling out.</td>\n",
" <td>a car is driving down the street at night\\n</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>A car pulling out.</td>\n",
" <td>a blurry image of a street with cars parked on...</td>\n",
" <td>0.332013</td>\n",
" <td>0.0</td>\n",
" <td>A car pulling out.</td>\n",
" <td>a car is parked on the street\\n</td>\n",
" <td>0.332013</td>\n",
" <td>0.0</td>\n",
" <td>A car pulling out.</td>\n",
" <td>a blurry image of a street with cars parked on...</td>\n",
" <td>0.332013</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>136389</th>\n",
" <td>two horses pulling the carriage</td>\n",
" <td>two horses pulling a carriage</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>two horses pulling the carriage</td>\n",
" <td>a man driving a horse and carriage\\n</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>two horses pulling the carriage</td>\n",
" <td>a couple of horses pulling a carriage with a m...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>two horses pulling the carriage</td>\n",
" <td>a horse pulling a carriage\\n</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>two horses pulling the carriage</td>\n",
" <td>a man riding a horse drawn carriage with a wom...</td>\n",
" <td>0.569881</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>136406</th>\n",
" <td>two horses pulling wagon</td>\n",
" <td>two horses pulling a carriage</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>two horses pulling wagon</td>\n",
" <td>a man driving a horse drawn carriage\\n</td>\n",
" <td>0.598614</td>\n",
" <td>0.0</td>\n",
" <td>two horses pulling wagon</td>\n",
" <td>a couple of horses pulling a carriage with a m...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>two horses pulling wagon</td>\n",
" <td>a man riding a horse\\n</td>\n",
" <td>0.569881</td>\n",
" <td>0.0</td>\n",
" <td>two horses pulling wagon</td>\n",
" <td>a man riding a horse drawn carriage with a wom...</td>\n",
" <td>0.569881</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14635</th>\n",
" <td>snow covered benches make for a cold seat</td>\n",
" <td>a bench in the snow</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>snow covered benches make for a cold seat</td>\n",
" <td>a bench covered in snow\\n</td>\n",
" <td>0.598407</td>\n",
" <td>0.5</td>\n",
" <td>snow covered benches make for a cold seat</td>\n",
" <td>a bench covered in snow on a snowy day\\n</td>\n",
" <td>0.598407</td>\n",
" <td>0.5</td>\n",
" <td>snow covered benches make for a cold seat</td>\n",
" <td>a bench covered in snow\\n</td>\n",
" <td>0.598407</td>\n",
" <td>0.5</td>\n",
" <td>snow covered benches make for a cold seat</td>\n",
" <td>a bench covered in snow with a person sitting ...</td>\n",
" <td>0.607207</td>\n",
" <td>0.5</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9215</th>\n",
" <td>animal running in gras</td>\n",
" <td>head of a sheep</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>animal running in gras</td>\n",
" <td>a cat is laying on the floor in front of a mir...</td>\n",
" <td>0.598188</td>\n",
" <td>0.0</td>\n",
" <td>animal running in gras</td>\n",
" <td>a blurry picture of a cat sitting on a bench\\n</td>\n",
" <td>0.611494</td>\n",
" <td>0.0</td>\n",
" <td>animal running in gras</td>\n",
" <td>a cat is laying on the floor with its head down\\n</td>\n",
" <td>0.598188</td>\n",
" <td>0.0</td>\n",
" <td>animal running in gras</td>\n",
" <td>a blurry picture of a white dog sitting on a c...</td>\n",
" <td>0.611494</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>228895</th>\n",
" <td>Baby lying on a black changing pad</td>\n",
" <td>the baby is laying on a black pillow</td>\n",
" <td>0.598003</td>\n",
" <td>0.0</td>\n",
" <td>Baby lying on a black changing pad</td>\n",
" <td>a baby laying on a couch\\n</td>\n",
" <td>0.598003</td>\n",
" <td>0.0</td>\n",
" <td>Baby lying on a black changing pad</td>\n",
" <td>a baby laying on a black bag with a teddy bear\\n</td>\n",
" <td>0.598003</td>\n",
" <td>0.0</td>\n",
" <td>Baby lying on a black changing pad</td>\n",
" <td>a baby is laying on a black suitcase\\n</td>\n",
" <td>0.598003</td>\n",
" <td>0.0</td>\n",
" <td>Baby lying on a black changing pad</td>\n",
" <td>a baby laying on a black cushion with a teddy ...</td>\n",
" <td>0.598003</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>192830</th>\n",
" <td>a baby elephant hiding by an adult</td>\n",
" <td>a baby elephant</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>a baby elephant hiding by an adult</td>\n",
" <td>a large elephant standing in a dirt field\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>a baby elephant hiding by an adult</td>\n",
" <td>a blurry picture of an elephant standing next ...</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>a baby elephant hiding by an adult</td>\n",
" <td>a large elephant standing in a field\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>a baby elephant hiding by an adult</td>\n",
" <td>a close up of an elephant standing in a field ...</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29036</th>\n",
" <td>Bird is hiding it's head.</td>\n",
" <td>bird standing in the water</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>Bird is hiding it's head.</td>\n",
" <td>a duck standing in the water\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>Bird is hiding it's head.</td>\n",
" <td>a blurry picture of a duck standing on a rock\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>Bird is hiding it's head.</td>\n",
" <td>a duck is standing in the water\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>Bird is hiding it's head.</td>\n",
" <td>a duck with its head down looking at something...</td>\n",
" <td>0.542623</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26194</th>\n",
" <td>a sheep hiding behind two others</td>\n",
" <td>sheep is next to sheep</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>a sheep hiding behind two others</td>\n",
" <td>two sheep standing on a hill\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>a sheep hiding behind two others</td>\n",
" <td>two sheep standing in a field near a lake\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>a sheep hiding behind two others</td>\n",
" <td>two sheep standing on a hill\\n</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" <td>a sheep hiding behind two others</td>\n",
" <td>two sheep standing in a field next to a body o...</td>\n",
" <td>0.597975</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>85692</th>\n",
" <td>a man ordering lunch</td>\n",
" <td>man standing next to truck</td>\n",
" <td>0.597907</td>\n",
" <td>0.0</td>\n",
" <td>a man ordering lunch</td>\n",
" <td>a man standing next to a food truck\\n</td>\n",
" <td>0.597907</td>\n",
" <td>0.0</td>\n",
" <td>a man ordering lunch</td>\n",
" <td>a man standing next to a red truck with a sign...</td>\n",
" <td>0.597907</td>\n",
" <td>0.0</td>\n",
" <td>a man ordering lunch</td>\n",
" <td>a man is standing in front of a food truck\\n</td>\n",
" <td>0.597907</td>\n",
" <td>0.0</td>\n",
" <td>a man ordering lunch</td>\n",
" <td>a man standing in front of a food truck with a...</td>\n",
" <td>0.597907</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>173379</th>\n",
" <td>People behind a plane yelling at it</td>\n",
" <td>people on the grass</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>People behind a plane yelling at it</td>\n",
" <td>a group of people standing in front of a plane\\n</td>\n",
" <td>0.597888</td>\n",
" <td>0.0</td>\n",
" <td>People behind a plane yelling at it</td>\n",
" <td>a blurry image of a couple of people standing ...</td>\n",
" <td>0.597888</td>\n",
" <td>0.0</td>\n",
" <td>People behind a plane yelling at it</td>\n",
" <td>a group of people standing in front of a plane\\n</td>\n",
" <td>0.597888</td>\n",
" <td>0.0</td>\n",
" <td>People behind a plane yelling at it</td>\n",
" <td>a group of people standing in a field next to ...</td>\n",
" <td>0.597888</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>79582</th>\n",
" <td>vending booth with vendor</td>\n",
" <td>man standing in front of building</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with vendor</td>\n",
" <td>a man and woman standing in front of a wooden ...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with vendor</td>\n",
" <td>a man is standing in front of a small wooden b...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with vendor</td>\n",
" <td>a man and woman standing in front of a christm...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with vendor</td>\n",
" <td>a man and woman standing in front of a wooden ...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>79587</th>\n",
" <td>vending booth with Christmas decorations</td>\n",
" <td>a tree in front of a building</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with Christmas decorations</td>\n",
" <td>a man standing in front of a wooden stand\\n</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with Christmas decorations</td>\n",
" <td>a man is standing in front of a small wooden b...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with Christmas decorations</td>\n",
" <td>a man is walking past a christmas market stall\\n</td>\n",
" <td>0.421981</td>\n",
" <td>0.0</td>\n",
" <td>vending booth with Christmas decorations</td>\n",
" <td>a man in a black jacket standing in front of a...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>147455</th>\n",
" <td>it is raining in the photo</td>\n",
" <td>the picture is black and white</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>it is raining in the photo</td>\n",
" <td>a group of people standing under umbrellas in ...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>it is raining in the photo</td>\n",
" <td>a group of people with umbrellas walking down ...</td>\n",
" <td>0.478900</td>\n",
" <td>0.0</td>\n",
" <td>it is raining in the photo</td>\n",
" <td>a group of people walking under umbrellas in t...</td>\n",
" <td>0.478900</td>\n",
" <td>0.0</td>\n",
" <td>it is raining in the photo</td>\n",
" <td>a group of people walking under umbrellas in a...</td>\n",
" <td>0.478900</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>237606</th>\n",
" <td>it is raining outside</td>\n",
" <td>people standing in a field</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>it is raining outside</td>\n",
" <td>people standing in a field\\n</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>it is raining outside</td>\n",
" <td>a group of people standing in a field with umb...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>it is raining outside</td>\n",
" <td>a group of people standing in a field with umb...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" <td>it is raining outside</td>\n",
" <td>a group of people standing in a field with umb...</td>\n",
" <td>0.597869</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16019</th>\n",
" <td>Red, brick building abutting parking lot.</td>\n",
" <td>a brick building in the background</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>Red, brick building abutting parking lot.</td>\n",
" <td>a man is riding a skateboard\\n</td>\n",
" <td>0.597608</td>\n",
" <td>0.0</td>\n",
" <td>Red, brick building abutting parking lot.</td>\n",
" <td>a man is walking down the street with a red ha...</td>\n",
" <td>0.639604</td>\n",
" <td>0.0</td>\n",
" <td>Red, brick building abutting parking lot.</td>\n",
" <td>a man is riding a skateboard down a street\\n</td>\n",
" <td>0.597608</td>\n",
" <td>0.0</td>\n",
" <td>Red, brick building abutting parking lot.</td>\n",
" <td>a man in a red shirt standing next to a brick ...</td>\n",
" <td>0.745295</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>78876</th>\n",
" <td>A very small wave hitting the shore</td>\n",
" <td>the waves are white</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>A very small wave hitting the shore</td>\n",
" <td>a person on a surfboard riding a wave\\n</td>\n",
" <td>0.597366</td>\n",
" <td>0.0</td>\n",
" <td>A very small wave hitting the shore</td>\n",
" <td>a close up of a bird flying over a field of gr...</td>\n",
" <td>0.575007</td>\n",
" <td>0.0</td>\n",
" <td>A very small wave hitting the shore</td>\n",
" <td>a person riding a surfboard on the beach\\n</td>\n",
" <td>0.597366</td>\n",
" <td>0.0</td>\n",
" <td>A very small wave hitting the shore</td>\n",
" <td>a blurry picture of a person surfing on a wave\\n</td>\n",
" <td>0.299601</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>169051</th>\n",
" <td>white spray hitting shore</td>\n",
" <td>the water is white in color</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>white spray hitting shore</td>\n",
" <td>a blurry image of a surfer riding a wave\\n</td>\n",
" <td>0.597366</td>\n",
" <td>0.0</td>\n",
" <td>white spray hitting shore</td>\n",
" <td>a blurry picture of a bird sitting on a tree\\n</td>\n",
" <td>0.641927</td>\n",
" <td>0.0</td>\n",
" <td>white spray hitting shore</td>\n",
" <td>a man riding a surfboard in the ocean\\n</td>\n",
" <td>0.597366</td>\n",
" <td>0.0</td>\n",
" <td>white spray hitting shore</td>\n",
" <td>a blurry photo of a surfer riding a wave on a ...</td>\n",
" <td>0.597366</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>145362</th>\n",
" <td>water hitting the shore</td>\n",
" <td>the water is white</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>water hitting the shore</td>\n",
" <td>a man is riding a skateboard down a street\\n</td>\n",
" <td>0.597366</td>\n",
" <td>0.0</td>\n",
" <td>water hitting the shore</td>\n",
" <td>a close up of a bird sitting on a tree branch\\n</td>\n",
" <td>0.641927</td>\n",
" <td>0.0</td>\n",
" <td>water hitting the shore</td>\n",
" <td>a man riding a skateboard on a street\\n</td>\n",
" <td>0.597366</td>\n",
" <td>0.0</td>\n",
" <td>water hitting the shore</td>\n",
" <td>a man standing in front of a mirror with a tow...</td>\n",
" <td>0.628202</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>116306</th>\n",
" <td>Woman is sitting down</td>\n",
" <td>a woman talking on a cell phone</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>Woman is sitting down</td>\n",
" <td>a woman talking on a cell phone\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>Woman is sitting down</td>\n",
" <td>a woman sitting at a table talking on a cell p...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>Woman is sitting down</td>\n",
" <td>a woman sitting on a bench talking on a cell p...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>Woman is sitting down</td>\n",
" <td>a woman sitting in a chair talking on a cell p...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>109084</th>\n",
" <td>three men talking</td>\n",
" <td>three men sitting on a bench</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>three men talking</td>\n",
" <td>three men sitting on a bench\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>three men talking</td>\n",
" <td>three older men sitting on a bench together wi...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>three men talking</td>\n",
" <td>three men sitting on a bench\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>three men talking</td>\n",
" <td>three men sitting on a bench with one man with...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>132127</th>\n",
" <td>the woman is talking on a phone</td>\n",
" <td>white cell phone in woman's hand</td>\n",
" <td>0.000000</td>\n",
" <td>0.0</td>\n",
" <td>the woman is talking on a phone</td>\n",
" <td>a woman is sitting on a couch with her legs cr...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>the woman is talking on a phone</td>\n",
" <td>a close up of a person walking down a street\\n</td>\n",
" <td>0.627215</td>\n",
" <td>0.0</td>\n",
" <td>the woman is talking on a phone</td>\n",
" <td>a woman is holding a cell phone in her hand\\n</td>\n",
" <td>0.467930</td>\n",
" <td>0.0</td>\n",
" <td>the woman is talking on a phone</td>\n",
" <td>a person wrapped in bandages with a white towe...</td>\n",
" <td>0.281386</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>214439</th>\n",
" <td>A man talking on a mobile phone</td>\n",
" <td>a man wearing a white t-shirt</td>\n",
" <td>0.515410</td>\n",
" <td>0.0</td>\n",
" <td>A man talking on a mobile phone</td>\n",
" <td>a man sitting on a chair\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>A man talking on a mobile phone</td>\n",
" <td>a man sitting on a chair with a suitcase next ...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>A man talking on a mobile phone</td>\n",
" <td>a man sitting on a chair with luggage next to ...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>A man talking on a mobile phone</td>\n",
" <td>a man sitting on a chair with a suitcase next ...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>136372</th>\n",
" <td>people talking in front of store</td>\n",
" <td>two people talking on the sidewalk</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>people talking in front of store</td>\n",
" <td>a man and woman sitting on a bench\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>people talking in front of store</td>\n",
" <td>a man and woman sitting on a bench next to a f...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>people talking in front of store</td>\n",
" <td>a man and woman sitting on a bench\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>people talking in front of store</td>\n",
" <td>a man and woman sitting on a bench with a cell...</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>72783</th>\n",
" <td>guy talking on his cellphone</td>\n",
" <td>a man sitting on the floor</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>guy talking on his cellphone</td>\n",
" <td>a man sitting on the floor\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>guy talking on his cellphone</td>\n",
" <td>a man sitting on the floor talking on a cell p...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>guy talking on his cellphone</td>\n",
" <td>a man sitting on the ground\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>guy talking on his cellphone</td>\n",
" <td>a man sitting on the ground talking on a cell ...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>72788</th>\n",
" <td>young man in black t-shirt and jeans talking o...</td>\n",
" <td>a man wearing a black shirt</td>\n",
" <td>0.515410</td>\n",
" <td>0.0</td>\n",
" <td>young man in black t-shirt and jeans talking o...</td>\n",
" <td>a man sitting on the floor\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>young man in black t-shirt and jeans talking o...</td>\n",
" <td>a man sitting on the floor talking on a cell p...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" <td>young man in black t-shirt and jeans talking o...</td>\n",
" <td>a man sitting on the ground\\n</td>\n",
" <td>0.597239</td>\n",
" <td>0.0</td>\n",
" <td>young man in black t-shirt and jeans talking o...</td>\n",
" <td>a man sitting on the ground talking on a cell ...</td>\n",
" <td>1.000000</td>\n",
" <td>1.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" sca-ref \\\n",
"12766 truck hauling an airplane's cargo \n",
"238035 sliding glass door \n",
"13302 Tree trunk providing shade \n",
"123060 railing is green \n",
"96716 person siting on the side \n",
"123993 man eating chocolate glazed doughnut with spri... \n",
"108952 Catcher crouching down in the dirt \n",
"188897 ladels and whisk hanging from ceiling \n",
"139590 a cutting boarding leaning against a wall \n",
"184970 Guy wearing white shirt and tie \n",
"114386 The brown and white bow tie the girl is wearing. \n",
"49809 the man is wearing a vest and tie \n",
"89413 Man is wearing a suit and tie \n",
"169682 A man is wearing a vest and tie \n",
"231217 man wearing suit and tie \n",
"159392 person wearing an orange and red plaid shirt a... \n",
"137457 a person sitting at a table to eat \n",
"137455 a person sitting at a table to eat \n",
"137462 a person sitting at a table to eat \n",
"137461 a person sitting at a table to eat \n",
"180683 Two people sitting down to eat food \n",
"205409 man wearing suit and bow tie \n",
"21273 A truck pulling a white trailer. \n",
"21264 Truck pulling a trailer behind and to the left... \n",
"94950 A car pulling out. \n",
"136389 two horses pulling the carriage \n",
"136406 two horses pulling wagon \n",
"14635 snow covered benches make for a cold seat \n",
"9215 animal running in gras \n",
"228895 Baby lying on a black changing pad \n",
"192830 a baby elephant hiding by an adult \n",
"29036 Bird is hiding it's head. \n",
"26194 a sheep hiding behind two others \n",
"85692 a man ordering lunch \n",
"173379 People behind a plane yelling at it \n",
"79582 vending booth with vendor \n",
"79587 vending booth with Christmas decorations \n",
"147455 it is raining in the photo \n",
"237606 it is raining outside \n",
"16019 Red, brick building abutting parking lot. \n",
"78876 A very small wave hitting the shore \n",
"169051 white spray hitting shore \n",
"145362 water hitting the shore \n",
"116306 Woman is sitting down \n",
"109084 three men talking \n",
"132127 the woman is talking on a phone \n",
"214439 A man talking on a mobile phone \n",
"136372 people talking in front of store \n",
"72783 guy talking on his cellphone \n",
"72788 young man in black t-shirt and jeans talking o... \n",
"\n",
" sca-pred sca-verb_distance \\\n",
"12766 A truck is next to the plane. 0.000000 \n",
"238035 the window is open 0.000000 \n",
"13302 the trunk of a tree 0.000000 \n",
"123060 a green fence on the side of the platform 0.000000 \n",
"96716 a man standing in front of a wall 0.742729 \n",
"123993 a man eating a donut 0.599321 \n",
"108952 the catcher is squatting 0.713759 \n",
"188897 utensils hanging from the ceiling 0.599189 \n",
"139590 a wooden cutting board 0.000000 \n",
"184970 a man wearing a white shirt 0.599068 \n",
"114386 the bow tie is black and white 0.000000 \n",
"49809 a man wearing a tie 0.599068 \n",
"89413 a man wearing a suit 0.599068 \n",
"169682 a man wearing a vest 0.599068 \n",
"231217 a man wearing a suit 0.599068 \n",
"159392 a man wearing a red and white striped shirt 0.599068 \n",
"137457 a balding man in a plaid shirt 0.216295 \n",
"137455 a woman wearing a gray shirt 0.346079 \n",
"137462 a man wearing a white shirt 0.346079 \n",
"137461 a woman sitting at a table 0.598928 \n",
"180683 two people sitting at a table 0.598928 \n",
"205409 a man wearing a bow tie 0.598670 \n",
"21273 a truck is behind the train 0.000000 \n",
"21264 a truck is behind the train 0.000000 \n",
"94950 a car on the street 0.000000 \n",
"136389 two horses pulling a carriage 1.000000 \n",
"136406 two horses pulling a carriage 1.000000 \n",
"14635 a bench in the snow 0.000000 \n",
"9215 head of a sheep 0.000000 \n",
"228895 the baby is laying on a black pillow 0.598003 \n",
"192830 a baby elephant 0.000000 \n",
"29036 bird standing in the water 0.597975 \n",
"26194 sheep is next to sheep 0.000000 \n",
"85692 man standing next to truck 0.597907 \n",
"173379 people on the grass 0.000000 \n",
"79582 man standing in front of building 0.597869 \n",
"79587 a tree in front of a building 0.000000 \n",
"147455 the picture is black and white 0.000000 \n",
"237606 people standing in a field 0.597869 \n",
"16019 a brick building in the background 0.000000 \n",
"78876 the waves are white 0.000000 \n",
"169051 the water is white in color 0.000000 \n",
"145362 the water is white 0.000000 \n",
"116306 a woman talking on a cell phone 0.597239 \n",
"109084 three men sitting on a bench 0.597239 \n",
"132127 white cell phone in woman's hand 0.000000 \n",
"214439 a man wearing a white t-shirt 0.515410 \n",
"136372 two people talking on the sidewalk 1.000000 \n",
"72783 a man sitting on the floor 0.597239 \n",
"72788 a man wearing a black shirt 0.515410 \n",
"\n",
" sca-verb_recall blip2-opt-2.7b-ref \\\n",
"12766 0.0 truck hauling an airplane's cargo \n",
"238035 0.0 sliding glass door \n",
"13302 0.0 Tree trunk providing shade \n",
"123060 0.0 railing is green \n",
"96716 0.0 person siting on the side \n",
"123993 0.5 man eating chocolate glazed doughnut with spri... \n",
"108952 0.0 Catcher crouching down in the dirt \n",
"188897 0.5 ladels and whisk hanging from ceiling \n",
"139590 0.0 a cutting boarding leaning against a wall \n",
"184970 0.5 Guy wearing white shirt and tie \n",
"114386 0.0 The brown and white bow tie the girl is wearing. \n",
"49809 0.5 the man is wearing a vest and tie \n",
"89413 0.5 Man is wearing a suit and tie \n",
"169682 0.5 A man is wearing a vest and tie \n",
"231217 0.5 man wearing suit and tie \n",
"159392 0.5 person wearing an orange and red plaid shirt a... \n",
"137457 0.0 a person sitting at a table to eat \n",
"137455 0.0 a person sitting at a table to eat \n",
"137462 0.0 a person sitting at a table to eat \n",
"137461 0.5 a person sitting at a table to eat \n",
"180683 0.5 Two people sitting down to eat food \n",
"205409 0.5 man wearing suit and bow tie \n",
"21273 0.0 A truck pulling a white trailer. \n",
"21264 0.0 Truck pulling a trailer behind and to the left... \n",
"94950 0.0 A car pulling out. \n",
"136389 1.0 two horses pulling the carriage \n",
"136406 1.0 two horses pulling wagon \n",
"14635 0.0 snow covered benches make for a cold seat \n",
"9215 0.0 animal running in gras \n",
"228895 0.0 Baby lying on a black changing pad \n",
"192830 0.0 a baby elephant hiding by an adult \n",
"29036 0.0 Bird is hiding it's head. \n",
"26194 0.0 a sheep hiding behind two others \n",
"85692 0.0 a man ordering lunch \n",
"173379 0.0 People behind a plane yelling at it \n",
"79582 0.0 vending booth with vendor \n",
"79587 0.0 vending booth with Christmas decorations \n",
"147455 0.0 it is raining in the photo \n",
"237606 0.0 it is raining outside \n",
"16019 0.0 Red, brick building abutting parking lot. \n",
"78876 0.0 A very small wave hitting the shore \n",
"169051 0.0 white spray hitting shore \n",
"145362 0.0 water hitting the shore \n",
"116306 0.0 Woman is sitting down \n",
"109084 0.0 three men talking \n",
"132127 0.0 the woman is talking on a phone \n",
"214439 0.0 A man talking on a mobile phone \n",
"136372 1.0 people talking in front of store \n",
"72783 0.0 guy talking on his cellphone \n",
"72788 0.0 young man in black t-shirt and jeans talking o... \n",
"\n",
" blip2-opt-2.7b-pred \\\n",
"12766 a truck is driving down the road\\n \n",
"238035 a man is holding a white towel\\n \n",
"13302 a man is standing in front of a building\\n \n",
"123060 a train is pulling into a station\\n \n",
"96716 a man is painting a wall\\n \n",
"123993 a man eating a doughnut\\n \n",
"108952 a baseball player is throwing a ball\\n \n",
"188897 a kitchen with a mixer and a whisk hanging fro... \n",
"139590 a wooden cutting board sitting on top of a sink\\n \n",
"184970 a man wearing a white shirt\\n \n",
"114386 a man wearing a bow tie\\n \n",
"49809 man wearing a black vest\\n \n",
"89413 man wearing a suit\\n \n",
"169682 a man wearing a vest\\n \n",
"231217 a man wearing a tie\\n \n",
"159392 a man wearing a tie\\n \n",
"137457 a group of people sitting at a table\\n \n",
"137455 a group of people sitting at a table\\n \n",
"137462 a man sitting at a table\\n \n",
"137461 a group of people sitting at a table\\n \n",
"180683 a person sitting at a table\\n \n",
"205409 man wearing a gray jacket\\n \n",
"21273 a truck driving down the road with a trailer a... \n",
"21264 a truck driving down the road with a trailer a... \n",
"94950 a car is driving down the street at night\\n \n",
"136389 a man driving a horse and carriage\\n \n",
"136406 a man driving a horse drawn carriage\\n \n",
"14635 a bench covered in snow\\n \n",
"9215 a cat is laying on the floor in front of a mir... \n",
"228895 a baby laying on a couch\\n \n",
"192830 a large elephant standing in a dirt field\\n \n",
"29036 a duck standing in the water\\n \n",
"26194 two sheep standing on a hill\\n \n",
"85692 a man standing next to a food truck\\n \n",
"173379 a group of people standing in front of a plane\\n \n",
"79582 a man and woman standing in front of a wooden ... \n",
"79587 a man standing in front of a wooden stand\\n \n",
"147455 a group of people standing under umbrellas in ... \n",
"237606 people standing in a field\\n \n",
"16019 a man is riding a skateboard\\n \n",
"78876 a person on a surfboard riding a wave\\n \n",
"169051 a blurry image of a surfer riding a wave\\n \n",
"145362 a man is riding a skateboard down a street\\n \n",
"116306 a woman talking on a cell phone\\n \n",
"109084 three men sitting on a bench\\n \n",
"132127 a woman is sitting on a couch with her legs cr... \n",
"214439 a man sitting on a chair\\n \n",
"136372 a man and woman sitting on a bench\\n \n",
"72783 a man sitting on the floor\\n \n",
"72788 a man sitting on the floor\\n \n",
"\n",
" blip2-opt-2.7b-verb_distance blip2-opt-2.7b-verb_recall \\\n",
"12766 0.599886 0.0 \n",
"238035 0.599672 0.0 \n",
"13302 0.599651 0.0 \n",
"123060 0.599623 0.0 \n",
"96716 0.599327 0.0 \n",
"123993 0.599321 0.5 \n",
"108952 0.599297 0.0 \n",
"188897 0.599189 0.5 \n",
"139590 0.599170 0.0 \n",
"184970 0.599068 0.5 \n",
"114386 0.599068 0.5 \n",
"49809 0.599068 0.5 \n",
"89413 0.599068 0.5 \n",
"169682 0.599068 0.5 \n",
"231217 0.599068 0.5 \n",
"159392 0.599068 0.5 \n",
"137457 0.598928 0.5 \n",
"137455 0.598928 0.5 \n",
"137462 0.598928 0.5 \n",
"137461 0.598928 0.5 \n",
"180683 0.598928 0.5 \n",
"205409 0.598670 0.5 \n",
"21273 0.598614 0.0 \n",
"21264 0.598614 0.0 \n",
"94950 0.598614 0.0 \n",
"136389 0.598614 0.0 \n",
"136406 0.598614 0.0 \n",
"14635 0.598407 0.5 \n",
"9215 0.598188 0.0 \n",
"228895 0.598003 0.0 \n",
"192830 0.597975 0.0 \n",
"29036 0.597975 0.0 \n",
"26194 0.597975 0.0 \n",
"85692 0.597907 0.0 \n",
"173379 0.597888 0.0 \n",
"79582 0.597869 0.0 \n",
"79587 0.597869 0.0 \n",
"147455 0.597869 0.0 \n",
"237606 0.597869 0.0 \n",
"16019 0.597608 0.0 \n",
"78876 0.597366 0.0 \n",
"169051 0.597366 0.0 \n",
"145362 0.597366 0.0 \n",
"116306 0.597239 0.0 \n",
"109084 0.597239 0.0 \n",
"132127 0.597239 0.0 \n",
"214439 0.597239 0.0 \n",
"136372 0.597239 0.0 \n",
"72783 0.597239 0.0 \n",
"72788 0.597239 0.0 \n",
"\n",
" blip2-opt-2.7b-coco-ref \\\n",
"12766 truck hauling an airplane's cargo \n",
"238035 sliding glass door \n",
"13302 Tree trunk providing shade \n",
"123060 railing is green \n",
"96716 person siting on the side \n",
"123993 man eating chocolate glazed doughnut with spri... \n",
"108952 Catcher crouching down in the dirt \n",
"188897 ladels and whisk hanging from ceiling \n",
"139590 a cutting boarding leaning against a wall \n",
"184970 Guy wearing white shirt and tie \n",
"114386 The brown and white bow tie the girl is wearing. \n",
"49809 the man is wearing a vest and tie \n",
"89413 Man is wearing a suit and tie \n",
"169682 A man is wearing a vest and tie \n",
"231217 man wearing suit and tie \n",
"159392 person wearing an orange and red plaid shirt a... \n",
"137457 a person sitting at a table to eat \n",
"137455 a person sitting at a table to eat \n",
"137462 a person sitting at a table to eat \n",
"137461 a person sitting at a table to eat \n",
"180683 Two people sitting down to eat food \n",
"205409 man wearing suit and bow tie \n",
"21273 A truck pulling a white trailer. \n",
"21264 Truck pulling a trailer behind and to the left... \n",
"94950 A car pulling out. \n",
"136389 two horses pulling the carriage \n",
"136406 two horses pulling wagon \n",
"14635 snow covered benches make for a cold seat \n",
"9215 animal running in gras \n",
"228895 Baby lying on a black changing pad \n",
"192830 a baby elephant hiding by an adult \n",
"29036 Bird is hiding it's head. \n",
"26194 a sheep hiding behind two others \n",
"85692 a man ordering lunch \n",
"173379 People behind a plane yelling at it \n",
"79582 vending booth with vendor \n",
"79587 vending booth with Christmas decorations \n",
"147455 it is raining in the photo \n",
"237606 it is raining outside \n",
"16019 Red, brick building abutting parking lot. \n",
"78876 A very small wave hitting the shore \n",
"169051 white spray hitting shore \n",
"145362 water hitting the shore \n",
"116306 Woman is sitting down \n",
"109084 three men talking \n",
"132127 the woman is talking on a phone \n",
"214439 A man talking on a mobile phone \n",
"136372 people talking in front of store \n",
"72783 guy talking on his cellphone \n",
"72788 young man in black t-shirt and jeans talking o... \n",
"\n",
" blip2-opt-2.7b-coco-pred \\\n",
"12766 a truck is carrying boxes on the back of it\\n \n",
"238035 a blurry picture of a cell phone with a red li... \n",
"13302 a blurry image of a giraffe standing in a field\\n \n",
"123060 a man is walking down a sidewalk with a skateb... \n",
"96716 a woman is sitting on a chair in a bathroom\\n \n",
"123993 a man eating a doughnut with sprinkles on it\\n \n",
"108952 a blurry picture of a table with a bunch of st... \n",
"188897 a close up of a mixer with a whisk and a bowl\\n \n",
"139590 a man is sitting on a chair with a book in fro... \n",
"184970 a man in a white shirt and tie standing next t... \n",
"114386 a close up of a man wearing a white shirt and ... \n",
"49809 a man in a suit and tie taking a selfie\\n \n",
"89413 a man in a suit and tie taking a selfie\\n \n",
"169682 a man in a sweater vest and tie sitting at a t... \n",
"231217 a man in a suit and tie sitting at a table wit... \n",
"159392 a young man in a tie and plaid shirt holding a... \n",
"137457 a group of people sitting at a table with a pl... \n",
"137455 a group of people sitting at a table with plat... \n",
"137462 a man sitting at a table with a woman and a pl... \n",
"137461 a group of people sitting at a table with food... \n",
"180683 a person sitting at a table with a plate of fo... \n",
"205409 a group of people standing around a man with a... \n",
"21273 a blurry picture of a truck driving down a str... \n",
"21264 a blurry picture of a truck driving down a str... \n",
"94950 a blurry image of a street with cars parked on... \n",
"136389 a couple of horses pulling a carriage with a m... \n",
"136406 a couple of horses pulling a carriage with a m... \n",
"14635 a bench covered in snow on a snowy day\\n \n",
"9215 a blurry picture of a cat sitting on a bench\\n \n",
"228895 a baby laying on a black bag with a teddy bear\\n \n",
"192830 a blurry picture of an elephant standing next ... \n",
"29036 a blurry picture of a duck standing on a rock\\n \n",
"26194 two sheep standing in a field near a lake\\n \n",
"85692 a man standing next to a red truck with a sign... \n",
"173379 a blurry image of a couple of people standing ... \n",
"79582 a man is standing in front of a small wooden b... \n",
"79587 a man is standing in front of a small wooden b... \n",
"147455 a group of people with umbrellas walking down ... \n",
"237606 a group of people standing in a field with umb... \n",
"16019 a man is walking down the street with a red ha... \n",
"78876 a close up of a bird flying over a field of gr... \n",
"169051 a blurry picture of a bird sitting on a tree\\n \n",
"145362 a close up of a bird sitting on a tree branch\\n \n",
"116306 a woman sitting at a table talking on a cell p... \n",
"109084 three older men sitting on a bench together wi... \n",
"132127 a close up of a person walking down a street\\n \n",
"214439 a man sitting on a chair with a suitcase next ... \n",
"136372 a man and woman sitting on a bench next to a f... \n",
"72783 a man sitting on the floor talking on a cell p... \n",
"72788 a man sitting on the floor talking on a cell p... \n",
"\n",
" blip2-opt-2.7b-coco-verb_distance blip2-opt-2.7b-coco-verb_recall \\\n",
"12766 0.726537 0.0 \n",
"238035 0.000000 0.0 \n",
"13302 0.599651 0.0 \n",
"123060 0.495665 0.0 \n",
"96716 0.656225 0.0 \n",
"123993 0.599321 0.5 \n",
"108952 0.000000 0.0 \n",
"188897 0.000000 0.0 \n",
"139590 0.599170 0.0 \n",
"184970 0.757276 0.5 \n",
"114386 0.599068 0.5 \n",
"49809 0.734603 0.5 \n",
"89413 0.734603 0.5 \n",
"169682 0.776905 0.5 \n",
"231217 0.776905 0.5 \n",
"159392 0.352133 0.0 \n",
"137457 0.598928 0.5 \n",
"137455 0.598928 0.5 \n",
"137462 0.598928 0.5 \n",
"137461 0.598928 0.5 \n",
"180683 0.598928 0.5 \n",
"205409 0.327370 0.0 \n",
"21273 0.598614 0.0 \n",
"21264 0.598614 0.0 \n",
"94950 0.332013 0.0 \n",
"136389 1.000000 1.0 \n",
"136406 1.000000 1.0 \n",
"14635 0.598407 0.5 \n",
"9215 0.611494 0.0 \n",
"228895 0.598003 0.0 \n",
"192830 0.597975 0.0 \n",
"29036 0.597975 0.0 \n",
"26194 0.597975 0.0 \n",
"85692 0.597907 0.0 \n",
"173379 0.597888 0.0 \n",
"79582 0.597869 0.0 \n",
"79587 0.597869 0.0 \n",
"147455 0.478900 0.0 \n",
"237606 0.597869 0.0 \n",
"16019 0.639604 0.0 \n",
"78876 0.575007 0.0 \n",
"169051 0.641927 0.0 \n",
"145362 0.641927 0.0 \n",
"116306 1.000000 1.0 \n",
"109084 0.597239 0.0 \n",
"132127 0.627215 0.0 \n",
"214439 0.597239 0.0 \n",
"136372 0.597239 0.0 \n",
"72783 1.000000 1.0 \n",
"72788 1.000000 1.0 \n",
"\n",
" blip2-opt-6.7b-ref \\\n",
"12766 truck hauling an airplane's cargo \n",
"238035 sliding glass door \n",
"13302 Tree trunk providing shade \n",
"123060 railing is green \n",
"96716 person siting on the side \n",
"123993 man eating chocolate glazed doughnut with spri... \n",
"108952 Catcher crouching down in the dirt \n",
"188897 ladels and whisk hanging from ceiling \n",
"139590 a cutting boarding leaning against a wall \n",
"184970 Guy wearing white shirt and tie \n",
"114386 The brown and white bow tie the girl is wearing. \n",
"49809 the man is wearing a vest and tie \n",
"89413 Man is wearing a suit and tie \n",
"169682 A man is wearing a vest and tie \n",
"231217 man wearing suit and tie \n",
"159392 person wearing an orange and red plaid shirt a... \n",
"137457 a person sitting at a table to eat \n",
"137455 a person sitting at a table to eat \n",
"137462 a person sitting at a table to eat \n",
"137461 a person sitting at a table to eat \n",
"180683 Two people sitting down to eat food \n",
"205409 man wearing suit and bow tie \n",
"21273 A truck pulling a white trailer. \n",
"21264 Truck pulling a trailer behind and to the left... \n",
"94950 A car pulling out. \n",
"136389 two horses pulling the carriage \n",
"136406 two horses pulling wagon \n",
"14635 snow covered benches make for a cold seat \n",
"9215 animal running in gras \n",
"228895 Baby lying on a black changing pad \n",
"192830 a baby elephant hiding by an adult \n",
"29036 Bird is hiding it's head. \n",
"26194 a sheep hiding behind two others \n",
"85692 a man ordering lunch \n",
"173379 People behind a plane yelling at it \n",
"79582 vending booth with vendor \n",
"79587 vending booth with Christmas decorations \n",
"147455 it is raining in the photo \n",
"237606 it is raining outside \n",
"16019 Red, brick building abutting parking lot. \n",
"78876 A very small wave hitting the shore \n",
"169051 white spray hitting shore \n",
"145362 water hitting the shore \n",
"116306 Woman is sitting down \n",
"109084 three men talking \n",
"132127 the woman is talking on a phone \n",
"214439 A man talking on a mobile phone \n",
"136372 people talking in front of store \n",
"72783 guy talking on his cellphone \n",
"72788 young man in black t-shirt and jeans talking o... \n",
"\n",
" blip2-opt-6.7b-pred \\\n",
"12766 a truck with a load of boxes on the back\\n \n",
"238035 a person is holding a cell phone in front of a... \n",
"13302 a person is standing in front of a building\\n \n",
"123060 a train is coming\\n \n",
"96716 a man standing in front of a large white board\\n \n",
"123993 a man eating a donut\\n \n",
"108952 a baseball player is swinging a bat\\n \n",
"188897 a kitchen with a stove and a mixer\\n \n",
"139590 a sink with a faucet and a wooden cutting board\\n \n",
"184970 a man wearing a white shirt\\n \n",
"114386 a man wearing a bow tie\\n \n",
"49809 a man wearing a vest\\n \n",
"89413 man wearing a suit\\n \n",
"169682 a man wearing a vest\\n \n",
"231217 a man wearing a suit and tie\\n \n",
"159392 a man wearing a tie\\n \n",
"137457 a group of people sitting at a table\\n \n",
"137455 a woman wearing a green sweater\\n \n",
"137462 a man sitting at a table with a woman and a ch... \n",
"137461 a group of people sitting at a table\\n \n",
"180683 a person is sitting at a table\\n \n",
"205409 a group of people standing together\\n \n",
"21273 a truck is driving down a road with a trailer\\n \n",
"21264 a truck is driving down a road with a trailer\\n \n",
"94950 a car is parked on the street\\n \n",
"136389 a horse pulling a carriage\\n \n",
"136406 a man riding a horse\\n \n",
"14635 a bench covered in snow\\n \n",
"9215 a cat is laying on the floor with its head down\\n \n",
"228895 a baby is laying on a black suitcase\\n \n",
"192830 a large elephant standing in a field\\n \n",
"29036 a duck is standing in the water\\n \n",
"26194 two sheep standing on a hill\\n \n",
"85692 a man is standing in front of a food truck\\n \n",
"173379 a group of people standing in front of a plane\\n \n",
"79582 a man and woman standing in front of a christm... \n",
"79587 a man is walking past a christmas market stall\\n \n",
"147455 a group of people walking under umbrellas in t... \n",
"237606 a group of people standing in a field with umb... \n",
"16019 a man is riding a skateboard down a street\\n \n",
"78876 a person riding a surfboard on the beach\\n \n",
"169051 a man riding a surfboard in the ocean\\n \n",
"145362 a man riding a skateboard on a street\\n \n",
"116306 a woman sitting on a bench talking on a cell p... \n",
"109084 three men sitting on a bench\\n \n",
"132127 a woman is holding a cell phone in her hand\\n \n",
"214439 a man sitting on a chair with luggage next to ... \n",
"136372 a man and woman sitting on a bench\\n \n",
"72783 a man sitting on the ground\\n \n",
"72788 a man sitting on the ground\\n \n",
"\n",
" blip2-opt-6.7b-verb_distance blip2-opt-6.7b-verb_recall \\\n",
"12766 0.000000 0.0 \n",
"238035 0.599672 0.0 \n",
"13302 0.599651 0.0 \n",
"123060 0.418080 0.0 \n",
"96716 0.742729 0.0 \n",
"123993 0.599321 0.5 \n",
"108952 0.648913 0.0 \n",
"188897 0.000000 0.0 \n",
"139590 0.000000 0.0 \n",
"184970 0.599068 0.5 \n",
"114386 0.599068 0.5 \n",
"49809 0.599068 0.5 \n",
"89413 0.599068 0.5 \n",
"169682 0.599068 0.5 \n",
"231217 1.000000 1.0 \n",
"159392 0.599068 0.5 \n",
"137457 0.598928 0.5 \n",
"137455 0.346079 0.0 \n",
"137462 0.598928 0.5 \n",
"137461 0.598928 0.5 \n",
"180683 0.598928 0.5 \n",
"205409 0.327370 0.0 \n",
"21273 0.598614 0.0 \n",
"21264 0.598614 0.0 \n",
"94950 0.332013 0.0 \n",
"136389 1.000000 1.0 \n",
"136406 0.569881 0.0 \n",
"14635 0.598407 0.5 \n",
"9215 0.598188 0.0 \n",
"228895 0.598003 0.0 \n",
"192830 0.597975 0.0 \n",
"29036 0.597975 0.0 \n",
"26194 0.597975 0.0 \n",
"85692 0.597907 0.0 \n",
"173379 0.597888 0.0 \n",
"79582 0.597869 0.0 \n",
"79587 0.421981 0.0 \n",
"147455 0.478900 0.0 \n",
"237606 0.597869 0.0 \n",
"16019 0.597608 0.0 \n",
"78876 0.597366 0.0 \n",
"169051 0.597366 0.0 \n",
"145362 0.597366 0.0 \n",
"116306 1.000000 1.0 \n",
"109084 0.597239 0.0 \n",
"132127 0.467930 0.0 \n",
"214439 0.597239 0.0 \n",
"136372 0.597239 0.0 \n",
"72783 0.597239 0.0 \n",
"72788 0.597239 0.0 \n",
"\n",
" blip2-opt-6.7b-coco-ref \\\n",
"12766 truck hauling an airplane's cargo \n",
"238035 sliding glass door \n",
"13302 Tree trunk providing shade \n",
"123060 railing is green \n",
"96716 person siting on the side \n",
"123993 man eating chocolate glazed doughnut with spri... \n",
"108952 Catcher crouching down in the dirt \n",
"188897 ladels and whisk hanging from ceiling \n",
"139590 a cutting boarding leaning against a wall \n",
"184970 Guy wearing white shirt and tie \n",
"114386 The brown and white bow tie the girl is wearing. \n",
"49809 the man is wearing a vest and tie \n",
"89413 Man is wearing a suit and tie \n",
"169682 A man is wearing a vest and tie \n",
"231217 man wearing suit and tie \n",
"159392 person wearing an orange and red plaid shirt a... \n",
"137457 a person sitting at a table to eat \n",
"137455 a person sitting at a table to eat \n",
"137462 a person sitting at a table to eat \n",
"137461 a person sitting at a table to eat \n",
"180683 Two people sitting down to eat food \n",
"205409 man wearing suit and bow tie \n",
"21273 A truck pulling a white trailer. \n",
"21264 Truck pulling a trailer behind and to the left... \n",
"94950 A car pulling out. \n",
"136389 two horses pulling the carriage \n",
"136406 two horses pulling wagon \n",
"14635 snow covered benches make for a cold seat \n",
"9215 animal running in gras \n",
"228895 Baby lying on a black changing pad \n",
"192830 a baby elephant hiding by an adult \n",
"29036 Bird is hiding it's head. \n",
"26194 a sheep hiding behind two others \n",
"85692 a man ordering lunch \n",
"173379 People behind a plane yelling at it \n",
"79582 vending booth with vendor \n",
"79587 vending booth with Christmas decorations \n",
"147455 it is raining in the photo \n",
"237606 it is raining outside \n",
"16019 Red, brick building abutting parking lot. \n",
"78876 A very small wave hitting the shore \n",
"169051 white spray hitting shore \n",
"145362 water hitting the shore \n",
"116306 Woman is sitting down \n",
"109084 three men talking \n",
"132127 the woman is talking on a phone \n",
"214439 A man talking on a mobile phone \n",
"136372 people talking in front of store \n",
"72783 guy talking on his cellphone \n",
"72788 young man in black t-shirt and jeans talking o... \n",
"\n",
" blip2-opt-6.7b-coco-pred \\\n",
"12766 a truck with a load of furniture on the back o... \n",
"238035 a blurry picture of a man standing in front of... \n",
"13302 a man standing in the shade of a tree with a s... \n",
"123060 a man walking down a sidewalk next to a green ... \n",
"96716 a woman standing in front of a large white boa... \n",
"123993 a man with glasses eating a doughnut with spri... \n",
"108952 a blurry image of a baseball player in a unifo... \n",
"188897 a ceiling fan and a metal whisk hanging from a... \n",
"139590 a close up of a sink with a faucet and a towel\\n \n",
"184970 a man in a white shirt and tie standing outside\\n \n",
"114386 a person wearing a brown bow tie with a white ... \n",
"49809 a man in a vest and tie taking a selfie\\n \n",
"89413 a man in a suit taking a selfie in a mirror\\n \n",
"169682 a man in a sweater and tie sitting at a table\\n \n",
"231217 a man in a suit and tie sitting at a table\\n \n",
"159392 a man in a tie and plaid shirt standing next t... \n",
"137457 a group of people sitting at a table with food... \n",
"137455 a group of people sitting at a table eating fo... \n",
"137462 a man sitting at a table with a plate of food ... \n",
"137461 a group of people sitting at a table with food... \n",
"180683 a blurry image of a person sitting at a table ... \n",
"205409 a group of a man in a suit and bow tie standin... \n",
"21273 a truck is driving down the road with a traile... \n",
"21264 a truck is driving down the road with a traile... \n",
"94950 a blurry image of a street with cars parked on... \n",
"136389 a man riding a horse drawn carriage with a wom... \n",
"136406 a man riding a horse drawn carriage with a wom... \n",
"14635 a bench covered in snow with a person sitting ... \n",
"9215 a blurry picture of a white dog sitting on a c... \n",
"228895 a baby laying on a black cushion with a teddy ... \n",
"192830 a close up of an elephant standing in a field ... \n",
"29036 a duck with its head down looking at something... \n",
"26194 two sheep standing in a field next to a body o... \n",
"85692 a man standing in front of a food truck with a... \n",
"173379 a group of people standing in a field next to ... \n",
"79582 a man and woman standing in front of a wooden ... \n",
"79587 a man in a black jacket standing in front of a... \n",
"147455 a group of people walking under umbrellas in a... \n",
"237606 a group of people standing in a field with umb... \n",
"16019 a man in a red shirt standing next to a brick ... \n",
"78876 a blurry picture of a person surfing on a wave\\n \n",
"169051 a blurry photo of a surfer riding a wave on a ... \n",
"145362 a man standing in front of a mirror with a tow... \n",
"116306 a woman sitting in a chair talking on a cell p... \n",
"109084 three men sitting on a bench with one man with... \n",
"132127 a person wrapped in bandages with a white towe... \n",
"214439 a man sitting on a chair with a suitcase next ... \n",
"136372 a man and woman sitting on a bench with a cell... \n",
"72783 a man sitting on the ground talking on a cell ... \n",
"72788 a man sitting on the ground talking on a cell ... \n",
"\n",
" blip2-opt-6.7b-coco-verb_distance blip2-opt-6.7b-coco-verb_recall \n",
"12766 0.000000 0.0 \n",
"238035 0.612457 0.0 \n",
"13302 0.599651 0.0 \n",
"123060 0.495665 0.0 \n",
"96716 0.742729 0.0 \n",
"123993 0.599321 0.5 \n",
"108952 0.563707 0.0 \n",
"188897 0.599189 0.5 \n",
"139590 0.000000 0.0 \n",
"184970 0.757276 0.5 \n",
"114386 0.599068 0.5 \n",
"49809 0.734603 0.5 \n",
"89413 0.272746 0.0 \n",
"169682 0.776905 0.5 \n",
"231217 0.776905 0.5 \n",
"159392 0.288216 0.0 \n",
"137457 0.598928 0.5 \n",
"137455 0.739933 0.5 \n",
"137462 0.598928 0.5 \n",
"137461 0.598928 0.5 \n",
"180683 0.598928 0.5 \n",
"205409 0.757276 0.5 \n",
"21273 0.598614 0.0 \n",
"21264 0.598614 0.0 \n",
"94950 0.332013 0.0 \n",
"136389 0.569881 0.0 \n",
"136406 0.569881 0.0 \n",
"14635 0.607207 0.5 \n",
"9215 0.611494 0.0 \n",
"228895 0.598003 0.0 \n",
"192830 0.597975 0.0 \n",
"29036 0.542623 0.0 \n",
"26194 0.597975 0.0 \n",
"85692 0.597907 0.0 \n",
"173379 0.597888 0.0 \n",
"79582 0.597869 0.0 \n",
"79587 0.597869 0.0 \n",
"147455 0.478900 0.0 \n",
"237606 0.597869 0.0 \n",
"16019 0.745295 0.0 \n",
"78876 0.299601 0.0 \n",
"169051 0.597366 0.0 \n",
"145362 0.628202 0.0 \n",
"116306 1.000000 1.0 \n",
"109084 0.597239 0.0 \n",
"132127 0.281386 0.0 \n",
"214439 0.597239 0.0 \n",
"136372 0.597239 0.0 \n",
"72783 1.000000 1.0 \n",
"72788 1.000000 1.0 "
]
},
"execution_count": 72,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df.loc[(df['blip2-opt-2.7b-verb_distance'] <= 0.6) & (df['blip2-opt-2.7b-verb_distance'] >= 0.4)].sort_values(by='blip2-opt-2.7b-verb_distance', ascending=False).head(50)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "sca-v2",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
|