raceback (most recent call last):
File "/home/lfz/DOTA_devkit_YOLO/ResultMerge.py", line 197, in
mergebypoly(r'/home/lfz/yolov5_obb/runs/detect/exp13/labels', r'/home/lfz/yolov5_obb/runs/detect/exp13/labels2')
File "/home/lfz/DOTA_devkit_YOLO/ResultMerge.py", line 192, in mergebypoly
mergebase(srcpath,
File "/home/lfz/DOTA_devkit_YOLO/ResultMerge.py", line 146, in mergebase
x_y_2 = re.findall(r'\d+', x_y[0]) # 匹配subname中的字符串 eg: x_y_2= ['0','0']
IndexError: list index out of range
raceback (most recent call last): File "/home/lfz/DOTA_devkit_YOLO/ResultMerge.py", line 197, in
mergebypoly(r'/home/lfz/yolov5_obb/runs/detect/exp13/labels', r'/home/lfz/yolov5_obb/runs/detect/exp13/labels2')
File "/home/lfz/DOTA_devkit_YOLO/ResultMerge.py", line 192, in mergebypoly
mergebase(srcpath,
File "/home/lfz/DOTA_devkit_YOLO/ResultMerge.py", line 146, in mergebase
x_y_2 = re.findall(r'\d+', x_y[0]) # 匹配subname中的字符串 eg: x_y_2= ['0','0']
IndexError: list index out of range
用ResultMerge_multi_process.py也会报同样的错