Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding bbox_overlaps.py #18

Open
kartikJ-9 opened this issue Jul 17, 2020 · 1 comment
Open

Question regarding bbox_overlaps.py #18

kartikJ-9 opened this issue Jul 17, 2020 · 1 comment

Comments

@kartikJ-9
Copy link

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

@thangvubk
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants