Getting Assertion Error
See original GitHub issueAppending horizontally-flipped training examples... wrote gt roidb to /data/shivamash/faster-rcnn.pytorch/data/cache/voc_2007_trainval_gt_roidb.pkl Traceback (most recent call last): File "train_plane.py", line 206, in <module> imdb, roidb, ratio_list, ratio_index = combined_roidb(args.imdb_name) File "/data/shivamash/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 116, in combined_roidb roidbs = [get_roidb(s) for s in imdb_names.split('+')] File "/data/shivamash/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 113, in get_roidb roidb = get_training_roidb(imdb) File "/data/shivamash/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 97, in get_training_roidb imdb.append_flipped_images() File "/data/shivamash/faster-rcnn.pytorch/lib/datasets/imdb.py", line 123, in append_flipped_images assert (boxes[:, 2] >= boxes[:, 0]).all() AssertionError
I am training on a different dataset. I have prepared them in PASCAL_VOC format. Can you suggest why I am getting this error?
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Yes, my dataset bounding boxes had negative points and also x_max<x_min. I have fixed them. Thank you very much for your help.
I am also getting same error. I checked the file. In below xml file i am getting error. I think data is right. What other possible solution you can suggest. I have modified Pascal_Voc.py file.