In the train phase 2, there is an error AttributeError: 'pascal_voc' object has no attribute 'set_roidb' happening in the code imdb.set_roidb(roidb). The location of this code is as follows:
# train_metarcnn.py if args.phase == 2: roidb = filter_class_roidb(roidb, args.shots, imdb) ratio_list, ratio_index = rank_roidb_ratio(roidb) imdb.set_roidb(roidb)
So, what should I do to sovle this?
In the train phase 2, there is an error AttributeError: 'pascal_voc' object has no attribute 'set_roidb' happening in the code
imdb.set_roidb(roidb)
. The location of this code is as follows:# train_metarcnn.py if args.phase == 2: roidb = filter_class_roidb(roidb, args.shots, imdb) ratio_list, ratio_index = rank_roidb_ratio(roidb) imdb.set_roidb(roidb)
So, what should I do to sovle this?