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

UnboundLocalError: local variable 'rbox' referenced before assignment #23

Open
yanhaoerer opened this issue Jun 3, 2023 · 1 comment

Comments

@yanhaoerer
Copy link

看到有issues有类似的问题,数据2007_train.txt内容为这样,正确吗?
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10002.bmp 176,800,210,778,63,558,29,580,8 325,1023,370,1023,225,802,192,824,8 267,750,298,729,147,503,116,524,8 441,1013,468,995,303,748,276,766,19 1023,560,1023,517,781,655,801,689,8 151,485,222,444,212,426,141,467,1 317,579,338,565,296,503,275,517,1
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10003.bmp 107,229,125,236,173,102,156,96,99 168,92,267,134,275,116,175,74,47
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10004.bmp 498,521,271,460,265,484,492,544,22
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10005.bmp 189,844,159,865,60,726,90,705,104 322,1023,284,1023,190,891,214,874,18 287,1023,248,1023,164,907,189,889,18
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10006.bmp 515,964,796,788,817,820,536,996,19 301,371,564,347,568,393,305,417,36 674,908,800,826,817,852,692,934,1 129,385,266,371,268,394,132,408,108 478,174,505,159,545,227,517,243,1 320,153,478,136,481,164,323,181,1 309,127,468,110,471,136,311,154,1 530,258,557,242,597,310,569,326,1
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10008.bmp 646,763,605,781,493,531,533,513,15
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10009.bmp 354,467,297,467,297,453,354,453,40 422,475,360,475,360,464,422,464,50 358,456,420,454,420,465,359,467,50 362,443,424,442,424,453,363,454,50 386,374,374,363,416,312,429,323,13 401,382,387,371,430,319,444,331,13
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10011.bmp 48,32,36,59,292,161,304,134,57 36,59,27,81,283,183,292,161,57
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10013.bmp 978,753,990,763,884,886,872,876,22 878,372,889,383,774,498,763,487,22 1023,240,1023,260,929,351,918,340,22 504,614,492,624,384,503,395,493,22 343,432,329,444,218,309,233,297,22 212,141,234,154,193,224,171,210,1
D:\bisai\boat\yolov7-obb-master\VOCdevkit/VOC2007/JPEGImages/10014.bmp 913,282,930,292,959,245,942,234,3

@Egrt
Copy link
Owner

Egrt commented Jun 4, 2023

需要检查是否有空标签,存在只有图片地址而没有标签则需要删掉这行

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

No branches or pull requests

2 participants