Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练集在训练的时候报这个错误 #8668

Closed
XD-mu opened this issue Dec 20, 2022 · 12 comments
Closed

训练集在训练的时候报这个错误 #8668

XD-mu opened this issue Dec 20, 2022 · 12 comments

Comments

@XD-mu
Copy link

XD-mu commented Dec 20, 2022

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem

  • 系统环境/System Environment:windows10
  • 版本号/Version:Paddle: PaddleOCR: 问题相关组件/Related components:
  • 运行指令/Command Code:python tools/train.py -c (那个配置文件)
  • 完整报错/Complete Error Message:
    ppocr ERROR: When parsing line Dense text dataset/56.png [{"transcription": "GND", "points": [[7, 66], [20, 66], [20, 103], [7, 103]], "difficult": false}, {"transcription": "D14_TX1", "points": [[26, 50], [45, 50], [45, 126], [26, 126]], "difficult": false}, {"transcription": "D14_TX1", "points": [[47, 52], [64, 52], [64, 125], [47, 125]], "difficult": false}, {"transcription": "D14_TX1", "points": [[67, 50], [84, 50], [84, 123], [67, 123]], "difficult": false}, {"transcription": "GND", "points": [[85, 63], [104, 63], [104, 105], [85, 105]], "difficult": false}, {"transcription": "GND", "points": [[145, 61], [164, 61], [164, 106], [145, 106]], "difficult": false}, {"transcription": "D14_PRE", "points": [[182, 50], [204, 50], [204, 128], [182, 128]], "difficult": false}, {"transcription": "GND", "points": [[225, 61], [242, 61], [242, 105], [225, 105]], "difficult": false}, {"transcription": "D14_DINRXP", "points": [[244, 17], [261, 17], [261, 128], [244, 128]], "difficult": false}, {"transcription": "D14_DINRXN", "points": [[264, 15], [284, 15], [284, 125], [264, 125]], "difficult": false}, {"transcription": "GND", "points": [[284, 65], [299, 65], [299, 102], [284, 102]], "difficult": false}, {"transcription": "D14_RXD0", "points": [[303, 37], [322, 37], [322, 127], [303, 127]], "difficult": false}, {"transcription": "D14_RXD1", "points": [[322, 35], [342, 35], [342, 123], [322, 123]], "difficult": false}, {"transcription": "D14_RXD2", "points": [[342, 34], [364, 34], [364, 125], [342, 125]], "difficult": false}, {"transcription": "69", "points": [[4, 131], [26, 131], [26, 155], [4, 155]], "difficult": false}, {"transcription": "68", "points": [[28, 133], [45, 133], [45, 153], [28, 153]], "difficult": false}, {"transcription": "67", "points": [[48, 130], [64, 130], [64, 158], [48, 158]], "difficult": false}, {"transcription": "66", "points": [[66, 131], [86, 131], [86, 156], [66, 156]], "difficult": false}, {"transcription": "65", "points": [[87, 131], [105, 131], [105, 156], [87, 156]], "difficult": false}, {"transcription": "64", "points": [[105, 133], [122, 133], [122, 153], [105, 153]], "difficult": false}, {"transcription": "63", "points": [[123, 133], [140, 133], [140, 154], [123, 154]], "difficult": false}, {"transcription": "62", "points": [[142, 133], [164, 133], [164, 155], [142, 155]], "difficult": false}, {"transcription": "61", "points": [[162, 133], [179, 133], [179, 156], [162, 156]], "difficult": false}, {"transcription": "60", "points": [[186, 133], [205, 133], [205, 154], [186, 154]], "difficult": false}, {"transcription": "59", "points": [[206, 132], [222, 132], [222, 152], [206, 152]], "difficult": false}, {"transcription": "58", "points": [[225, 133], [240, 133], [240, 155], [225, 155]], "difficult": false}, {"transcription": "57", "points": [[245, 135], [262, 135], [262, 153], [245, 153]], "difficult": false}, {"transcription": "56", "points": [[266, 134], [284, 134], [284, 155], [266, 155]], "difficult": false}, {"transcription": "55", "points": [[283, 134], [300, 134], [300, 155], [283, 155]], "difficult": false}, {"transcription": "54", "points": [[304, 135], [322, 135], [322, 156], [304, 156]], "difficult": false}, {"transcription": "53", "points": [[323, 135], [342, 135], [342, 154], [323, 154]], "difficult": false}, {"transcription": "52", "points": [[345, 135], [358, 135], [358, 154], [345, 154]], "difficult": false}, {"transcription": "GND", "points": [[17, 185], [38, 185], [38, 222], [17, 222]], "difficult": false}, {"transcription": "TXD2", "points": [[39, 182], [58, 182], [58, 231], [39, 231]], "difficult": false}, {"transcription": "TXD1", "points": [[59, 184], [77, 184], [77, 230], [59, 230]], "difficult": false}, {"transcription": "TXD0", "points": [[81, 182], [100, 182], [100, 234], [81, 234]], "difficult": false}, {"transcription": "GNDA", "points": [[101, 182], [119, 182], [119, 239], [101, 239]], "difficult": false}, {"transcription": "DOUTTXP", "points": [[120, 185], [140, 185], [140, 275], [120, 275]], "difficult": false}, {"transcription": "DOUTTXN", "points": [[140, 183], [158, 183], [158, 277], [140, 277]], "difficult": false}, {"transcription": "GNDA", "points": [[156, 185], [177, 185], [177, 240], [156, 240]], "difficult": false}, {"transcription": "VDDA", "points": [[176, 186], [195, 186], [195, 240], [176, 240]], "difficult": false}, {"transcription": "PRE", "points": [[198, 182], [217, 182], [217, 225], [198, 225]], "difficult": false}, {"transcription": "VDDA", "points": [[218, 183], [238, 183], [238, 239], [218, 239]], "difficult": false}, {"transcription": "GNDA", "points": [[236, 183], [254, 183], [254, 243], [236, 243]], "difficult": false}, {"transcription": "DINRXP", "points": [[257, 185], [274, 185], [274, 250], [257, 250]], "difficult": false}, {"transcription": "DINRXN", "points": [[275, 185], [295, 185], [295, 260], [275, 260]], "difficult": false}, {"transcription": "GNDA", "points": [[298, 182], [318, 182], [318, 235], [298, 235]], "difficult": false}, {"transcription": "RXD0", "points": [[314, 183], [335, 183], [335, 234], [314, 234]], "difficult": false}, {"transcription": "RXD1", "points": [[334, 184], [355, 184], [355, 233], [334, 233]], "difficult": false}, {"transcription": "RXD2", "points": [[355, 184], [375, 184], [375, 233], [355, 233]], "difficult": false}, {"transcription": "GND", "points": [[382, 208], [425, 208], [425, 229], [382, 229]], "difficult": false}, {"transcription": "VDD", "points": [[377, 229], [420, 229], [420, 249], [377, 249]], "difficult": false}, {"transcription": "RXD3", "points": [[367, 249], [422, 249], [422, 272], [367, 272]], "difficult": false}, {"transcription": "RXD4", "points": [[367, 270], [420, 270], [420, 291], [367, 291]], "difficult": false}, {"transcription": "RXD5", "points": [[368, 291], [419, 291], [419, 310], [368, 310]], "difficult": false}, {"transcription": "RXD6", "points": [[367, 313], [423, 313], [423, 330], [367, 330]], "difficult": false}, {"transcription": "GND", "points": [[367, 328], [426, 328], [426, 345], [367, 345]], "difficult": false}, {"transcription": "RXD7", "points": [[367, 346], [419, 346], [419, 367], [367, 367]], "difficult": false}, {"transcription": "RX_CLK", "points": [[352, 365], [423, 365], [423, 388], [352, 388]], "difficult": false}, {"transcription": "RXD8", "points": [[353, 388], [422, 388], [422, 409], [353, 409]], "difficult": false}, {"transcription": "RXD9", "points": [[357, 410], [423, 410], [423, 425], [357, 425]], "difficult": false}, {"transcription": "VDD", "points": [[359, 424], [421, 424], [421, 442], [359, 442]], "difficult": false}, {"transcription": "RXD10", "points": [[352, 445], [421, 445], [421, 465], [352, 465]], "difficult": false}, {"transcription": "VDD", "points": [[8, 229], [49, 229], [49, 248], [8, 248]], "difficult": false}, {"transcription": "TXD3", "points": [[8, 249], [56, 249], [56, 268], [8, 268]], "difficult": false}, {"transcription": "TXD4", "points": [[5, 270], [62, 270], [62, 287], [5, 287]], "difficult": false}, {"transcription": "TXD5", "points": [[7, 288], [60, 288], [60, 305], [7, 305]], "difficult": false}, {"transcription": "GND", "points": [[7, 307], [49, 307], [49, 327], [7, 327]], "difficult": false}, {"transcription": "TXD6", "points": [[3, 328], [58, 328], [58, 346], [3, 346]], "difficult": false}, {"transcription": "TXD7", "points": [[5, 346], [58, 346], [58, 365], [5, 365]], "difficult": false}, {"transcription": "GTX_CLK", "points": [[9, 367], [98, 367], [98, 389], [9, 389]], "difficult": false}, {"transcription": "VDD", "points": [[7, 391], [51, 391], [51, 408], [7, 408]], "difficult": false}, {"transcription": "TXD8", "points": [[7, 409], [57, 409], [57, 425], [7, 425]], "difficult": false}, {"transcription": "TXD9", "points": [[7, 426], [54, 426], [54, 444], [7, 444]], "difficult": false}, {"transcription": "TXD10", "points": [[7, 443], [71, 443], [71, 466], [7, 466]], "difficult": false}, {"transcription": "GND", "points": [[8, 470], [59, 470], [59, 486], [8, 486]], "difficult": false}, {"transcription": "TXD11", "points": [[9, 486], [72, 486], [72, 502], [9, 502]], "difficult": false}, {"transcription": "TXD12", "points": [[6, 504], [79, 504], [79, 526], [6, 526]], "difficult": false}, {"transcription": "TXD13", "points": [[4, 523], [80, 523], [80, 541], [4, 541]], "difficult": false}, {"transcription": "GND", "points": [[8, 546], [54, 546], [54, 567], [8, 567]], "difficult": false}, {"transcription": "RXD11", "points": [[360, 472], [421, 472], [421, 487], [360, 487]], "difficult": false}, {"transcription": "RXD12", "points": [[362, 491], [420, 491], [420, 506], [362, 506]], "difficult": false}, {"transcription": "RXD13", "points": [[360, 505], [421, 505], [421, 529], [360, 529]], "difficult": false}, {"transcription": "GND", "points": [[364, 526], [424, 526], [424, 545], [364, 545]], "difficult": false}, {"transcription": "TXD14", "points": [[58, 555], [80, 555], [80, 609], [58, 609]], "difficult": false}, {"transcription": "GND", "points": [[81, 568], [98, 568], [98, 609], [81, 609]], "difficult": false}, {"transcription": "TXD15", "points": [[99, 557], [118, 557], [118, 609], [99, 609]], "difficult": false}, {"transcription": "TKMSE", "points": [[121, 548], [137, 548], [137, 609], [121, 609]], "difficult": false}, {"transcription": "LOOPEN", "points": [[138, 540], [157, 540], [157, 609], [138, 609]], "difficult": false}, {"transcription": "TKLSE", "points": [[159, 554], [177, 554], [177, 609], [159, 609]], "difficult": false}, {"transcription": "VDD", "points": [[177, 570], [195, 570], [195, 609], [177, 609]], "difficult": false}, {"transcription": "ENABLK", "points": [[196, 544], [214, 544], [214, 609], [196, 609]], "difficult": false}, {"transcription": "LCKREFN", "points": [[218, 532], [236, 532], [236, 609], [218, 609]], "difficult": false}, {"transcription": "PRBSE", "points": [[239, 546], [257, 546], [257, 609], [239, 609]], "difficult": false}, {"transcription": "TESTEN", "points": [[257, 545], [278, 545], [278, 609], [257, 609]], "difficult": false}, {"transcription": "GND", "points": [[275, 568], [295, 568], [295, 609], [275, 609]], "difficult": false}, {"transcription": "RKLSE", "points": [[298, 554], [318, 554], [318, 609], [298, 609]], "difficult": false}, {"transcription": "RKMSE", "points": [[314, 547], [335, 547], [335, 609], [314, 609]], "difficult": false}, {"transcription": "RXD14", "points": [[335, 557], [356, 557], [356, 609], [335, 609]], "difficult": false}, {"transcription": "RXD15", "points": [[352, 555], [373, 555], [373, 609], [352, 609]], "difficult": false}, {"transcription": "GND", "points": [[377, 574], [396, 574], [396, 609], [377, 609]], "difficult": false}]
    , error happened with msg: Traceback (most recent call last):
    File "F:\OCR_Project\PaddleOCR-release-2.6\ppocr\data\simple_dataset.py", line 137, in getitem
    outs = transform(data, self.ops)
    File "F:\OCR_Project\PaddleOCR-release-2.6\ppocr\data\imaug_init_.py", line 56, in transform
    data = op(data)
    File "F:\OCR_Project\PaddleOCR-release-2.6\ppocr\data\imaug\make_border_map.py", line 60, in call
    self.draw_border_map(text_polys[i], canvas, mask=mask)
    File "F:\OCR_Project\PaddleOCR-release-2.6\ppocr\data\imaug\make_border_map.py", line 81, in draw_border_map
    padded_polygon = np.array(padding.Execute(distance)[0])
    IndexError: list index out of range
@XD-mu
Copy link
Author

XD-mu commented Dec 20, 2022

这个怎么解决呀,我觉得是训练集的问题,但是不知道怎么去调试

@XD-mu
Copy link
Author

XD-mu commented Dec 20, 2022

或者是我训练集设置的单个样本内的信息过多,但是这个在哪里可以改成不限数呢?

@andyjiang1116
Copy link
Collaborator

@XD-mu
Copy link
Author

XD-mu commented Dec 20, 2022

嗯呢我试试哈

@XD-mu
Copy link
Author

XD-mu commented Dec 20, 2022

我用的paddleocrLabel来标注的生成的标签文件

@XD-mu
Copy link
Author

XD-mu commented Dec 20, 2022

我这个Label文件应该也没标错吧

@XD-mu
Copy link
Author

XD-mu commented Dec 20, 2022

Dense text dataset/22.png [{"transcription": "GND", "points": [[456, 129], [499, 127], [504, 139], [456, 140]], "difficult": false}, {"transcription": "1", "points": [[88, 143], [126, 143], [126, 152], [88, 152]], "difficult": false}, {"transcription": "TXD3", "points": [[132, 162], [169, 161], [165, 172], [132, 169]], "difficult": false}, {"transcription": "RXD3", "points": [[381, 160], [414, 160], [414, 174], [381, 174]], "difficult": false}, {"transcription": "D111_TX1", "points": [[26, 181], [118, 184], [117, 200], [25, 197]], "difficult": false}, {"transcription": "D111_TX1", "points": [[25, 168], [128, 168], [129, 184], [30, 183]], "difficult": false}, {"transcription": "TXD5", "points": [[134, 187], [168, 185], [171, 198], [135, 200]], "difficult": false}, {"transcription": "RXD4", "points": [[382, 175], [414, 175], [414, 187], [382, 187]], "difficult": false}, {"transcription": "RXD5", "points": [[386, 189], [415, 189], [415, 201], [386, 201]], "difficult": false}, {"transcription": "D111_TX1", "points": [[26, 211], [132, 211], [132, 224], [26, 224]], "difficult": false}, {"transcription": "RXD6", "points": [[382, 202], [414, 202], [414, 214], [382, 214]], "difficult": false}, {"transcription": "TXD6", "points": [[133, 215], [168, 215], [168, 226], [133, 226]], "difficult": false}, {"transcription": "GND", "points": [[391, 214], [412, 215], [412, 227], [389, 224]], "difficult": false}, {"transcription": "RXD7", "points": [[381, 228], [414, 228], [414, 241], [381, 241]], "difficult": false}, {"transcription": "GTX_CLK", "points": [[137, 240], [189, 240], [189, 254], [137, 254]], "difficult": false}, {"transcription": "RX_CLK", "points": [[370, 244], [417, 244], [417, 255], [370, 255]], "difficult": false}, {"transcription": "D111_TX1", "points": [[14, 264], [131, 264], [131, 273], [14, 273]], "difficult": false}, {"transcription": "TXD8", "points": [[136, 283], [167, 283], [167, 268], [136, 268]], "difficult": false}, {"transcription": "D111_TX2", "points": [[25, 277], [120, 277], [120, 290], [25, 290]], "difficult": false}, {"transcription": "VDD", "points": [[385, 283], [418, 283], [418, 296], [385, 296]], "difficult": false}, {"transcription": "TXD10", "points": [[135, 295], [169, 295], [169, 307], [135, 307]], "difficult": false}, {"transcription": "RXD10", "points": [[379, 294], [416, 294], [416, 309], [379, 309]], "difficult": false}, {"transcription": "GND", "points": [[27, 304], [53, 305], [53, 314], [26, 313]], "difficult": false}, {"transcription": "D111_TX2", "points": [[6, 317], [91, 317], [95, 326], [6, 330]], "difficult": false}, {"transcription": "D111_TX2", "points": [[26, 331], [122, 331], [122, 345], [26, 345]], "difficult": false}, {"transcription": "D111_TX2", "points": [[24, 341], [77, 341], [77, 361], [24, 361]], "difficult": false}, {"transcription": "GND", "points": [[24, 351], [58, 353], [56, 376], [22, 374]], "difficult": false}, {"transcription": "TXD13", "points": [[131, 347], [173, 347], [173, 361], [131, 361]], "difficult": false}, {"transcription": "GND", "points": [[134, 362], [163, 362], [163, 377], [133, 377]], "difficult": false}, {"transcription": "17", "points": [[102, 356], [130, 356], [130, 368], [102, 368]], "difficult": false}, {"transcription": "C297GND", "points": [[276, 531], [357, 533], [357, 551], [275, 549]], "difficult": false}, {"transcription": "VCC2.5_11", "points": [[24, 250], [116, 250], [116, 261], [24, 261]], "difficult": false}, {"transcription": "D111_TX1", "points": [[28, 223], [115, 223], [115, 234], [28, 234]], "difficult": false}, {"transcription": "8", "points": [[103, 238], [119, 238], [119, 248], [103, 248]], "difficult": false}, {"transcription": "GND", "points": [[24, 197], [121, 197], [121, 206], [24, 206]], "difficult": false}, {"transcription": "D111_TX1", "points": [[22, 155], [121, 155], [121, 166], [22, 166]], "difficult": false}, {"transcription": "TXD4", "points": [[167, 183], [135, 183], [135, 174], [167, 174]], "difficult": false}, {"transcription": "VDD", "points": [[163, 159], [135, 159], [135, 148], [163, 148]], "difficult": false}, {"transcription": "GND", "points": [[163, 211], [134, 211], [134, 200], [163, 200]], "difficult": false}, {"transcription": "TXD7", "points": [[171, 238], [134, 238], [134, 228], [171, 228]], "difficult": false}, {"transcription": "VDD", "points": [[163, 268], [134, 268], [134, 256], [163, 256]], "difficult": false}, {"transcription": "TXD9", "points": [[170, 293], [135, 293], [135, 281], [170, 281]], "difficult": false}, {"transcription": "GND", "points": [[166, 308], [136, 308], [136, 321], [166, 321]], "difficult": false}, {"transcription": "14", "points": [[97, 319], [119, 319], [119, 328], [97, 328]], "difficult": false}, {"transcription": "13", "points": [[98, 305], [119, 305], [119, 313], [98, 313]], "difficult": false}, {"transcription": "12", "points": [[99, 293], [114, 293], [114, 302], [99, 302]], "difficult": false}, {"transcription": "11", "points": [[97, 277], [111, 277], [111, 289], [97, 289]], "difficult": false}, {"transcription": "TXD11", "points": [[173, 334], [135, 334], [135, 323], [173, 323]], "difficult": false}, {"transcription": "TXD12", "points": [[175, 346], [133, 346], [133, 335], [175, 335]], "difficult": false}, {"transcription": "16", "points": [[99, 346], [116, 346], [116, 356], [99, 356]], "difficult": false}, {"transcription": "6", "points": [[106, 212], [120, 212], [120, 221], [106, 221]], "difficult": false}, {"transcription": "TXD14", "points": [[169, 370], [181, 370], [181, 409], [169, 409]], "difficult": false}, {"transcription": "GND", "points": [[183, 381], [195, 381], [195, 407], [183, 407]], "difficult": false}, {"transcription": "TXD15", "points": [[197, 370], [209, 370], [209, 409], [197, 409]], "difficult": false}, {"transcription": "TKMSB", "points": [[209, 365], [223, 365], [223, 408], [209, 408]], "difficult": false}, {"transcription": "1QOPEN", "points": [[222, 360], [236, 360], [236, 405], [222, 405]], "difficult": false}, {"transcription": "TKLSB", "points": [[237, 368], [250, 368], [250, 409], [237, 409]], "difficult": false}, {"transcription": "VDD", "points": [[251, 381], [262, 381], [262, 406], [251, 406]], "difficult": false}, {"transcription": "ENABLE", "points": [[263, 358], [277, 358], [277, 411], [263, 411]], "difficult": false}, {"transcription": "DCKREFN", "points": [[275, 351], [290, 351], [290, 417], [275, 417]], "difficult": false}, {"transcription": "PRBSEN", "points": [[291, 356], [303, 356], [303, 410], [291, 410]], "difficult": false}, {"transcription": "TESTEN", "points": [[304, 360], [318, 360], [318, 409], [304, 409]], "difficult": false}, {"transcription": "GND", "points": [[320, 377], [329, 377], [329, 406], [320, 406]], "difficult": false}, {"transcription": "RKLSB", "points": [[332, 365], [344, 365], [344, 405], [332, 405]], "difficult": false}, {"transcription": "RKMSB", "points": [[346, 362], [359, 362], [359, 409], [346, 409]], "difficult": false}, {"transcription": "RXD15", "points": [[356, 368], [371, 368], [371, 411], [356, 411]], "difficult": false}, {"transcription": "RXD14", "points": [[371, 366], [383, 366], [383, 408], [371, 408]], "difficult": false}, {"transcription": "GND", "points": [[384, 384], [404, 384], [404, 413], [384, 413]], "difficult": false}, {"transcription": "18", "points": [[153, 426], [174, 426], [174, 446], [153, 446]], "difficult": false}, {"transcription": "19", "points": [[176, 430], [187, 430], [187, 446], [176, 446]], "difficult": false}, {"transcription": "20", "points": [[189, 431], [200, 431], [200, 445], [189, 445]], "difficult": false}, {"transcription": "21", "points": [[201, 429], [214, 429], [214, 444], [201, 444]], "difficult": false}, {"transcription": "22", "points": [[214, 429], [228, 429], [228, 442], [214, 442]], "difficult": false}, {"transcription": "23", "points": [[230, 429], [243, 429], [243, 447], [230, 447]], "difficult": false}, {"transcription": "24", "points": [[242, 432], [254, 432], [254, 445], [242, 445]], "difficult": false}, {"transcription": "25", "points": [[254, 430], [268, 430], [268, 445], [254, 445]], "difficult": false}, {"transcription": "26", "points": [[267, 429], [283, 429], [283, 445], [267, 445]], "difficult": false}, {"transcription": "27", "points": [[285, 430], [296, 430], [296, 445], [285, 445]], "difficult": false}, {"transcription": "28", "points": [[296, 432], [311, 432], [311, 444], [296, 444]], "difficult": false}, {"transcription": "29", "points": [[310, 431], [324, 431], [324, 447], [310, 447]], "difficult": false}, {"transcription": "30", "points": [[322, 433], [336, 433], [336, 445], [322, 445]], "difficult": false}, {"transcription": "31", "points": [[334, 428], [349, 428], [349, 446], [334, 446]], "difficult": false}, {"transcription": "32", "points": [[350, 429], [366, 429], [366, 443], [350, 443]], "difficult": false}, {"transcription": "33", "points": [[364, 428], [375, 428], [375, 443], [364, 443]], "difficult": false}, {"transcription": "34", "points": [[377, 430], [390, 430], [390, 445], [377, 445]], "difficult": false}, {"transcription": "D111_TX2", "points": [[160, 463], [173, 463], [173, 519], [160, 519]], "difficult": false}, {"transcription": "GND", "points": [[174, 476], [187, 476], [187, 504], [174, 504]], "difficult": false}, {"transcription": "D111_TX2", "points": [[188, 464], [200, 464], [200, 521], [188, 521]], "difficult": false}, {"transcription": "D111_TX2", "points": [[201, 464], [213, 464], [213, 519], [201, 519]], "difficult": false}, {"transcription": "D111_LOOPEN", "points": [[229, 520], [213, 520], [213, 444], [229, 444]], "difficult": false}, {"transcription": "D111_TX2", "points": [[229, 462], [241, 462], [241, 521], [229, 521]], "difficult": false}, {"transcription": "VCC2.5_11", "points": [[242, 462], [255, 462], [255, 517], [242, 517]], "difficult": false}, {"transcription": "D11_ENABLH", "points": [[253, 445], [267, 445], [267, 518], [253, 518]], "difficult": false}, {"transcription": "D11_LCKREF", "points": [[269, 445], [281, 445], [281, 517], [269, 517]], "difficult": false}, {"transcription": "D11_PRBSEN", "points": [[281, 446], [295, 446], [295, 521], [281, 521]], "difficult": false}, {"transcription": "D11_TFSTEN", "points": [[296, 445], [308, 445], [308, 519], [296, 519]], "difficult": false}, {"transcription": "GND", "points": [[310, 470], [321, 470], [321, 507], [310, 507]], "difficult": false}, {"transcription": "D11_RKLSB", "points": [[324, 448], [335, 448], [335, 521], [324, 521]], "difficult": false}, {"transcription": "D11_RKMSB", "points": [[336, 448], [349, 448], [349, 521], [336, 521]], "difficult": false}, {"transcription": "D11_RXD15", "points": [[349, 450], [361, 450], [361, 520], [349, 520]], "difficult": false}, {"transcription": "D11_RXD14", "points": [[365, 449], [377, 449], [377, 520], [365, 520]], "difficult": false}, {"transcription": "GND", "points": [[379, 489], [390, 489], [390, 518], [379, 518]], "difficult": false}, {"transcription": "GND", "points": [[412, 450], [448, 450], [448, 464], [412, 464]], "difficult": false}, {"transcription": "R1", "points": [[467, 445], [488, 445], [488, 461], [467, 461]], "difficult": false}, {"transcription": "D111_TX1", "points": [[512, 450], [567, 450], [567, 467], [512, 467]], "difficult": false}, {"transcription": "GND", "points": [[412, 489], [442, 489], [442, 510], [412, 510]], "difficult": false}, {"transcription": "R2", "points": [[466, 487], [485, 487], [485, 500], [466, 500]], "difficult": false}, {"transcription": "D111_TX2", "points": [[506, 490], [569, 490], [569, 509], [506, 509]], "difficult": false}, {"transcription": "GND", "points": [[392, 131], [419, 131], [419, 145], [392, 145]], "difficult": false}, {"transcription": "VDD", "points": [[388, 149], [417, 149], [417, 159], [388, 159]], "difficult": false}, {"transcription": "RXD8", "points": [[383, 257], [421, 257], [421, 270], [383, 270]], "difficult": false}, {"transcription": "RXD9", "points": [[384, 271], [415, 271], [415, 282], [384, 282]], "difficult": false}, {"transcription": "RXD11", "points": [[374, 308], [415, 308], [415, 322], [374, 322]], "difficult": false}, {"transcription": "RXD12", "points": [[379, 324], [415, 324], [415, 337], [379, 337]], "difficult": false}, {"transcription": "RXD13", "points": [[377, 337], [418, 337], [418, 349], [377, 349]], "difficult": false}, {"transcription": "GND", "points": [[382, 350], [413, 350], [413, 362], [382, 362]], "difficult": false}, {"transcription": "51", "points": [[434, 127], [452, 127], [452, 142], [434, 142]], "difficult": false}, {"transcription": "50", "points": [[433, 141], [454, 141], [454, 154], [433, 154]], "difficult": false}, {"transcription": "49", "points": [[435, 157], [452, 157], [452, 166], [435, 166]], "difficult": false}, {"transcription": "48", "points": [[435, 169], [453, 169], [453, 179], [435, 179]], "difficult": false}, {"transcription": "47", "points": [[436, 182], [452, 182], [452, 194], [436, 194]], "difficult": false}, {"transcription": "46", "points": [[435, 197], [452, 197], [452, 207], [435, 207]], "difficult": false}, {"transcription": "45", "points": [[435, 210], [452, 210], [452, 221], [435, 221]], "difficult": false}, {"transcription": "44", "points": [[434, 223], [452, 223], [452, 234], [434, 234]], "difficult": false}, {"transcription": "43", "points": [[434, 236], [452, 236], [452, 249], [434, 249]], "difficult": false}, {"transcription": "42", "points": [[433, 250], [452, 250], [452, 264], [433, 264]], "difficult": false}, {"transcription": "41", "points": [[436, 265], [452, 265], [452, 276], [436, 276]], "difficult": false}, {"transcription": "40", "points": [[436, 278], [452, 278], [452, 290], [436, 290]], "difficult": false}, {"transcription": "39", "points": [[437, 292], [452, 292], [452, 303], [437, 303]], "difficult": false}, {"transcription": "38", "points": [[437, 304], [451, 304], [451, 317], [437, 317]], "difficult": false}, {"transcription": "37", "points": [[437, 317], [451, 317], [451, 330], [437, 330]], "difficult": false}, {"transcription": "36", "points": [[437, 332], [453, 332], [453, 344], [437, 344]], "difficult": false}, {"transcription": "35", "points": [[437, 344], [452, 344], [452, 356], [437, 356]], "difficult": false}, {"transcription": "VCC2.5_11", "points": [[455, 140], [517, 140], [517, 153], [455, 153]], "difficult": false}, {"transcription": "D11_RXD3", "points": [[458, 156], [520, 156], [520, 167], [458, 167]], "difficult": false}, {"transcription": "D11_RXD4", "points": [[458, 170], [523, 170], [523, 181], [458, 181]], "difficult": false}, {"transcription": "D11_RXD5", "points": [[459, 181], [523, 181], [523, 194], [459, 194]], "difficult": false}, {"transcription": "D11_RXD6", "points": [[458, 194], [526, 194], [526, 207], [458, 207]], "difficult": false}, {"transcription": "GND", "points": [[455, 207], [491, 207], [491, 219], [455, 219]], "difficult": false}, {"transcription": "D11_RXD7", "points": [[457, 222], [521, 222], [521, 234], [457, 234]], "difficult": false}, {"transcription": "D11_RX_CLK", "points": [[457, 236], [532, 236], [532, 248], [457, 248]], "difficult": false}, {"transcription": "D11_RXD8", "points": [[457, 249], [521, 249], [521, 262], [457, 262]], "difficult": false}, {"transcription": "D11_RXD9", "points": [[457, 263], [520, 263], [520, 277], [457, 277]], "difficult": false}, {"transcription": "VCC2.5_11", "points": [[458, 277], [516, 277], [516, 289], [458, 289]], "difficult": false}, {"transcription": "D11_RXD10", "points": [[458, 289], [525, 289], [525, 302], [458, 302]], "difficult": false}, {"transcription": "D11_RXD11", "points": [[458, 304], [527, 304], [527, 316], [458, 316]], "difficult": false}, {"transcription": "D11_RXD12", "points": [[457, 317], [527, 317], [527, 329], [457, 329]], "difficult": false}, {"transcription": "D11_RXD13", "points": [[456, 332], [525, 332], [525, 344], [456, 344]], "difficult": false}, {"transcription": "GND", "points": [[455, 344], [496, 344], [496, 357], [455, 357]], "difficult": false}, {"transcription": "GND", "points": [[554, 331], [568, 331], [568, 359], [554, 359]], "difficult": false}, {"transcription": "C301", "points": [[561, 303], [585, 303], [585, 316], [561, 316]], "difficult": false}, {"transcription": "GND", "points": [[554, 191], [571, 191], [571, 223], [554, 223]], "difficult": false}, {"transcription": "C300", "points": [[557, 162], [592, 162], [592, 186], [557, 186]], "difficult": false}, {"transcription": "D111≠", "points": [[417, 102], [456, 102], [456, 113], [417, 113]], "difficult": false}, {"transcription": "GND", "points": [[139, 115], [154, 115], [154, 144], [139, 144]], "difficult": false}, {"transcription": "TXD2", "points": [[156, 116], [169, 116], [169, 150], [156, 150]], "difficult": false}, {"transcription": "TXD1", "points": [[171, 117], [181, 117], [181, 149], [171, 149]], "difficult": false}, {"transcription": "TXD0", "points": [[184, 114], [197, 114], [197, 151], [184, 151]], "difficult": false}, {"transcription": "GNDA", "points": [[198, 114], [209, 114], [209, 157], [198, 157]], "difficult": false}, {"transcription": "DOUTTXP", "points": [[211, 115], [223, 115], [223, 177], [211, 177]], "difficult": false}, {"transcription": "DOUTTXN", "points": [[223, 117], [237, 117], [237, 180], [223, 180]], "difficult": false}, {"transcription": "GNDA", "points": [[239, 117], [249, 117], [249, 152], [239, 152]], "difficult": false}, {"transcription": "VDDA", "points": [[252, 117], [263, 117], [263, 155], [252, 155]], "difficult": false}, {"transcription": "PRE", "points": [[267, 115], [277, 115], [277, 140], [267, 140]], "difficult": false}, {"transcription": "VDDA", "points": [[279, 117], [291, 117], [291, 152], [279, 152]], "difficult": false}, {"transcription": "GNDA", "points": [[293, 116], [303, 116], [303, 153], [293, 153]], "difficult": false}, {"transcription": "DINRXP", "points": [[305, 119], [318, 119], [318, 165], [305, 165]], "difficult": false}, {"transcription": "DINRXN", "points": [[319, 115], [330, 115], [330, 166], [319, 166]], "difficult": false}, {"transcription": "GNDA", "points": [[333, 117], [344, 117], [344, 151], [333, 151]], "difficult": false}, {"transcription": "RXD0", "points": [[346, 114], [357, 114], [357, 152], [346, 152]], "difficult": false}, {"transcription": "RXD1", "points": [[359, 114], [372, 114], [372, 152], [359, 152]], "difficult": false}, {"transcription": "RXD2", "points": [[373, 116], [386, 116], [386, 148], [373, 148]], "difficult": false}, {"transcription": "GND", "points": [[125, 34], [146, 34], [146, 64], [125, 64]], "difficult": false}, {"transcription": "D111_TX1", "points": [[147, 17], [159, 17], [159, 73], [147, 73]], "difficult": false}, {"transcription": "D111_TX1", "points": [[161, 17], [174, 17], [174, 77], [161, 77]], "difficult": false}, {"transcription": "D111_TX1", "points": [[175, 16], [187, 16], [187, 79], [175, 79]], "difficult": false}, {"transcription": "GND", "points": [[189, 34], [200, 34], [200, 65], [189, 65]], "difficult": false}, {"transcription": "D11_DOUTTX", "points": [[213, 76], [203, 76], [203, 0], [213, 0]], "difficult": false}, {"transcription": "D11_DOUTTX", "points": [[228, 77], [216, 77], [216, 0], [228, 0]], "difficult": false}, {"transcription": "GND", "points": [[241, 68], [229, 68], [229, 27], [241, 27]], "difficult": false}, {"transcription": "D11_PRH", "points": [[257, 21], [269, 21], [269, 80], [257, 80]], "difficult": false}, {"transcription": "GND", "points": [[284, 32], [294, 32], [294, 66], [284, 66]], "difficult": false}, {"transcription": "D11_DINRXP", "points": [[295, 1], [309, 1], [309, 74], [295, 74]], "difficult": false}, {"transcription": "D11_DIXRXN", "points": [[319, 76], [308, 76], [308, 0], [319, 0]], "difficult": false}, {"transcription": "GND", "points": [[321, 23], [336, 23], [336, 64], [321, 64]], "difficult": false}, {"transcription": "D11_RXD0", "points": [[335, 9], [349, 9], [349, 76], [335, 76]], "difficult": false}, {"transcription": "D11_RXD1", "points": [[349, 14], [364, 14], [364, 77], [349, 77]], "difficult": false}, {"transcription": "D11_RXD2", "points": [[362, 16], [377, 16], [377, 79], [362, 79]], "difficult": false}, {"transcription": "69", "points": [[132, 81], [144, 81], [144, 94], [132, 94]], "difficult": false}, {"transcription": "68", "points": [[148, 82], [158, 82], [158, 94], [148, 94]], "difficult": false}, {"transcription": "67", "points": [[160, 80], [175, 80], [175, 96], [160, 96]], "difficult": false}, {"transcription": "66", "points": [[175, 83], [189, 83], [189, 97], [175, 97]], "difficult": false}, {"transcription": "65", "points": [[187, 82], [202, 82], [202, 97], [187, 97]], "difficult": false}, {"transcription": "64", "points": [[201, 81], [215, 81], [215, 94], [201, 94]], "difficult": false}, {"transcription": "63", "points": [[217, 82], [227, 82], [227, 96], [217, 96]], "difficult": false}, {"transcription": "62", "points": [[229, 81], [242, 81], [242, 94], [229, 94]], "difficult": false}, {"transcription": "61", "points": [[243, 83], [256, 83], [256, 98], [243, 98]], "difficult": false}, {"transcription": "60", "points": [[255, 80], [269, 80], [269, 97], [255, 97]], "difficult": false}, {"transcription": "59", "points": [[268, 80], [282, 80], [282, 96], [268, 96]], "difficult": false}, {"transcription": "58", "points": [[283, 80], [294, 80], [294, 96], [283, 96]], "difficult": false}, {"transcription": "57", "points": [[297, 80], [309, 80], [309, 96], [297, 96]], "difficult": false}, {"transcription": "56", "points": [[311, 81], [322, 81], [322, 96], [311, 96]], "difficult": false}, {"transcription": "55", "points": [[324, 82], [335, 82], [335, 95], [324, 95]], "difficult": false}, {"transcription": "54", "points": [[337, 79], [348, 79], [348, 95], [337, 95]], "difficult": false}, {"transcription": "53", "points": [[352, 82], [362, 82], [362, 95], [352, 95]], "difficult": false}, {"transcription": "52", "points": [[363, 82], [375, 82], [375, 94], [363, 94]], "difficult": false}, {"transcription": "VCC2.5", "points": [[401, 32], [445, 32], [445, 50], [401, 50]], "difficult": false}, {"transcription": "1.5*", "points": [[462, 29], [497, 29], [497, 40], [462, 40]], "difficult": false}, {"transcription": "VCC2.5_11A", "points": [[549, 29], [613, 29], [613, 49], [549, 49]], "difficult": false}, {"transcription": "RXD15", "points": [[351, 363], [366, 363], [366, 406], [351, 406]], "difficult": false}]

@XD-mu
Copy link
Author

XD-mu commented Dec 20, 2022

后面那个"difficult": falsew我不知道为啥会有,paddleocrLabel默认生成的

@andyjiang1116
Copy link
Collaborator

Dense text dataset/22.png

图片路径尽量不要用空格,difficult不用管

@XD-mu
Copy link
Author

XD-mu commented Dec 30, 2022

还是不行(捂脸)

@OpenOneV
Copy link

Dense text dataset/22.png

图片路径尽量不要用空格,difficult不用管

同问 @andyjpaddle ,我也是当一张图片对应的标签太多的时候好像就会报这个错误。 是一个叫draw_border_map的transform数据变换list index out of range,就是它padding.Execute(distance)是空的list。

了解了一下:

fonttools/pyclipper#46
是pyclipper用的clipper太老了。clipper2据说能支持更大的数据范围。但是pyclipper作者没时间更新。

@Will439
Copy link

Will439 commented Jun 14, 2024

我把epoch_num设置成150甚至更小就会报这个错误,我把epoch_num设置成500就没有这个错误了。这是为什么啊?
epoch_num: &epoch_num 150时报错
企业微信截图_17183523441292
epoch_num: &epoch_num 300时报错
企业微信截图_17183522947241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants