Cascade-RPN icon indicating copy to clipboard operation
Cascade-RPN copied to clipboard

Question regarding bbox_overlaps.py

Open kartikJ-9 opened this issue 5 years ago • 1 comments

I am trying to implement Cascade RPN with the most recent mmdetection. I have a custom dataset with 4 different id for detection. After running train.py script, after the 1st epoch I am getting the following error:

" File "/home/user/Downloads/mmdetection-master/mmdet/core/evaluation/bbox_overlaps.py", line 33, in bbox_overlaps area2 = (bboxes2[:, 2] - bboxes2[:, 0] + 1) * ( IndexError: too many indices for array "

Is it because I am using a CustomDataset? What changes I should do to make it work for my own dataset?

I have a epoch_1.pth file generated but I am not able to get mAP chart as expected for the detection task. I am new to this project and any help with this would be appreciated .Thanks.

image

image

kartikJ-9 avatar Jul 17 '20 06:07 kartikJ-9

I suggest running on COCO dataset first. If you can run COCO dataset normally, then you can change to your own dataset more easily.

thangvubk avatar Jul 30 '20 06:07 thangvubk