Cuogeihong / CEASC

The official implementation of CEASC
Apache License 2.0
99 stars 12 forks source link

Dataset format problem. #3

Open johnran103 opened 1 year ago

johnran103 commented 1 year ago

I think UFPMP-Det coco format train-set made a mistake. take 9999937_00000_d_0000077.txt as a example. UFPMP-Det coco format: [[9, 499, 15, 27], [150, 463, 37, 42], [165, 404, 15, 22], [176, 426, 15, 23], [219, 441, 76, 33], [522, 480, 80, 41], [673, 601, 224, 128], [727, 798, 343, 243], [883, 526, 85, 49], [1326, 228, 11, 13], [1335, 221, 29, 19], [1381, 207, 36, 23], [1455, 843, 39, 32], [1465, 837, 23, 25], [1476, 871, 31, 34], [1478, 867, 23, 29], [1568, 178, 46, 42], [1577, 841, 38, 34], [1587, 165, 99, 34], [1588, 830, 18, 35], [1624, 159, 39, 20], [1638, 218, 45, 27], [1649, 316, 59, 30], [1684, 207, 48, 27], [1764, 138, 52, 20], [1775, 120, 73, 31], [1786, 185, 42, 23], [1866, 289, 49, 34]] correct coco format is: [[10, 500, 14, 26], [151, 464, 36, 41], [166, 405, 14, 21], [177, 427, 14, 22], [220, 442, 75, 32], [523, 481, 79, 40], [674, 602, 223, 127], [728, 799, 342, 242], [884, 527, 84, 48], [1327, 229, 10, 12], [1336, 222, 28, 18], [1382, 208, 35, 22], [1456, 844, 38, 31], [1466, 838, 22, 24], [1477, 872, 30, 33], [1479, 868, 22, 28], [1569, 179, 45, 41], [1578, 842, 37, 33], [1588, 166, 98, 33], [1589, 831, 17, 34], [1625, 160, 38, 19], [1639, 219, 44, 26], [1650, 317, 58, 29], [1685, 208, 47, 26], [1765, 139, 51, 19], [1776, 121, 72, 30], [1787, 186, 41, 22], [1867, 290, 48, 33]] because cat 9999937_00000_d_0000077.txt result is: 151,464,36,41,1,6,0,0 220,442,75,32,1,6,0,0 523,481,79,40,1,4,0,1 166,405,14,21,1,10,0,1 177,427,14,22,1,10,0,1 674,602,223,127,1,6,0,1 884,527,84,48,1,4,0,0 1382,208,35,22,1,5,0,0 1336,222,28,18,1,7,0,0 1327,229,10,12,1,10,0,0 1569,179,45,41,1,6,0,0 1588,166,98,33,1,6,0,1 1625,160,38,19,1,4,0,0 1650,317,58,29,1,4,0,0 1639,219,44,26,1,5,0,1 1685,208,47,26,1,6,0,1 728,799,342,242,1,6,0,0 1867,290,48,33,1,4,1,0 1776,121,72,30,1,6,0,1 1765,139,51,19,1,5,0,0 1787,186,41,22,1,4,0,1 1466,838,22,24,1,2,0,1 1456,844,38,31,1,10,0,1 1479,868,22,28,1,2,0,1 1477,872,30,33,1,10,0,1 1578,842,37,33,1,3,0,0 1589,831,17,34,1,2,0,1 10,500,14,26,1,1,0,0 Extra 1s have been added to annotation.

Cuogeihong commented 1 year ago

I consulted the UFPMP-Det author, he has noticed the bug but experiments showed that the error had little effect.

Cuogeihong commented 1 year ago

By the way, I didn't encounter this problem using the script.

Would you pleasse explain how the error occurred or assist the UFPMP-Det author pointing out the code error?

johnran103 commented 1 year ago

I use the same script as you do. So, I don't know where the problem is.