CasiaFan / Dataset_to_VOC_converter

Scripts to convert datasets (Caltech pedestrian, MS COCO, HDA) to PASCAL VOC format
MIT License
193 stars 57 forks source link

xml file still contains 'people' type even the 'person_types' was set to ['person'] #11

Open SharonZhu opened 6 years ago

SharonZhu commented 6 years ago

For Caltech converting, I have set person_types to ['person'] in main: person_types = ["person"] parse_anno_file(vbb_inputdir, seq_inputdir, vbb_outputdir, seq_outputdir, person_types=person_types)

However, the xml file is:

image

CasiaFan commented 6 years ago

@SharonZhu emm, I cannot replicate the error you met. Maybe redirect output to a new place to eliminate history residues if you run this script previously.