efficientdet-pytorch icon indicating copy to clipboard operation
efficientdet-pytorch copied to clipboard

你好,在获得训练用的2007_train.txt、2007_val.txt存在一些问题

Open 1353309942 opened this issue 3 years ago • 2 comments

你好,在使用voc_annotation.py生成用于训练用的2007_train.txt、2007_val.txt时,如果数据集中存在negative image set,即影像无对应的地物目标时,会报错xml.etree.ElementTree.ParseError: no element found: line 1, column 0,大概是可能因为图像中没有用于训练的目标,那么在生成的时候要把这些图片给跳过吗?

1353309942 avatar Oct 26 '22 11:10 1353309942

应该是你没有目标的xml格式不是正确的缘故

bubbliiiing avatar Oct 30 '22 08:10 bubbliiiing

请问您解决您的问题了吗?我现在也遇到了同样的问题

ZCZST01 avatar Nov 07 '23 17:11 ZCZST01