def get_voc(args): from symimdb.pascal_voc import PascalVOC if not args.imageset: args.imageset = '2007_trainval' args.rcnn_num_classes = len(PascalVOC.classes) isets = args.imageset.split('+') roidb = [] for iset in isets: imdb = PascalVOC(iset, 'data', 'data/VOCdevkit') imdb.append_flipped_images() roidb.extend(imdb.roidb) return roidb
def get_voc(args): from symimdb.pascal_voc import PascalVOC if not args.imageset: args.imageset = '2007_test' args.rcnn_num_classes = len(PascalVOC.classes) return PascalVOC(args.imageset, 'data', 'data/VOCdevkit')