PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

update tools/x2coco.py shell

Open liyongchao911 opened this issue 1 year ago • 1 comments

line 193 was " labels_str = f.read().split()", this will lead to a wrong result when use it for voc dataset transfer to coco, because the image labels in the file are segment by '\n" when wrote to the file. if use a default seg(" "), when the label is like "haski dog", will result to error!

liyongchao911 avatar May 05 '23 00:05 liyongchao911

Thanks for your contribution!

paddle-bot[bot] avatar May 05 '23 00:05 paddle-bot[bot]

可以提新的PR到develop

lyuwenyu avatar Feb 29 '24 07:02 lyuwenyu