CasiaFan / Dataset_to_VOC_converter

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

Error arguments vbb2voc.py #22

Open alejandrods opened 4 years ago

alejandrods commented 4 years ago

Hi,

I think there is a mistake in the order of the arguments in the main function of vbb2voc.py file. In the main function you call the parse_anno_file function:

parse_anno_file(args.seq_dir, args.vbb_dir, frame_out, anno_out, person_type)

However, the arguments of this functions are:

def parse_anno_file(vbb_inputdir, seq_inputdir, vbb_outputdir, seq_outputdir, person_types=None):

I think there is a mistake in the sequence of these arguments. If you want I can open a pull request.

Thank you!

CasiaFan commented 4 years ago

@alejandrods Thanks for pointing out this mistake!