CasiaFan / Dataset_to_VOC_converter

Scripts to convert datasets (Caltech pedestrian, MS COCO, HDA) to PASCAL VOC format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error arguments vbb2voc.py

alejandrods opened this issue · comments

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!

@alejandrods Thanks for pointing out this mistake!