ijkguo / mx-rcnn

Parallel Faster R-CNN implementation with MXNet.
Other
669 stars 292 forks source link

IndexError: list index out of range #54

Closed breeze5428 closed 7 years ago

breeze5428 commented 7 years ago

I trained mx-rcnn with my data, encountering the following error:

voc_2007_trainval gt roidb loaded from data/cache/voc_2007_trainval_gt_roidb.pkl append flipped images to roidb filtered 220000 roidb entries: 220000 -> 0 Traceback (most recent call last): File "train_end2end.py", line 184, in main() File "train_end2end.py", line 181, in main lr=args.lr, lr_step=args.lr_step) File "train_end2end.py", line 52, in train_net anchor_ratios=config.ANCHOR_RATIOS, aspect_grouping=config.TRAIN.ASPECT_GROUPING) File "/home/weiliu/projects/traffSgn/mx-rcnn/rcnn/core/loader.py", line 269, in init self.get_batch() File "/home/weiliu/projects/traffSgn/mx-rcnn/rcnn/core/loader.py", line 355, in get_batch iroidb = [roidb[i] for i in range(islice.start, islice.stop)] IndexError: list index out of range

I don not know how to solve it. Is there any advice? Thank you in advance.

ijkguo commented 7 years ago

Note "filtered 220000 roidb entries: 220000 -> 0". Something is wrong.

breeze5428 commented 7 years ago

Thank you. The error is fixed. Something is wrong with my ,xml files.