PaddlePaddle/PaddleDetection

x2coco 当VOC的label_list中包含空格时,标签不完整

rsj123 opened this issue · 0 comments

问题确认 Search before asking

  • 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

Bug组件 Bug Component

Other

Bug描述 Describe the Bug

x2coco 当VOC的label_list中包含空格时,标签不完整
会将标签分隔开,例如一个标签Test label会变为Test与label
可参见数据集https://github.com/sekilab/RoadDamageDetector
其中label包含

D00
Repair
D20
D50
D40
D10
D43
D44
Block crack

在#3827中也有提及

复现环境 Environment

PaddleDetection 2.7

Bug描述确认 Bug description confirmation

  • 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • 我愿意提交PR!I'd like to help by submitting a PR!