-
Notifications
You must be signed in to change notification settings - Fork 65
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
No instance of 'pedestrian' in ins_seg/polygon/ins_seg_val.json and ins_seg_train.json #141
Comments
There is really no To mapping it, you may call |
It is actually not a legacy issue. We tried to adopt cityscapes labels for segmentation. In cityscapes, the label is called |
Thank you for the quick replies.
So I think that changing the "categories" json object in the generated coco files should resolve this issue. PS: Is the above command to convert correct? I'm using Detectron2 to train Mask-RCNN on BDD's Instance Segmentation. |
Hello @XiaLiPKU, |
Yes, these command are correct |
to_coco functions has included this conversion, so you don't have to explicitly call it. So, what do you mean by " but there are no instances of it in annotations"? |
Yes, there are no instances with category_id as 1 after the conversion using to_coco. |
Can confirm @deepakksingh , to_coco breaks person annotations. Here are the annotation class counts for the 8 classes after to_coco in the training set (7000 images):
Aside from the missing class, there are also severe class imbalances, and many noisy annotations (e.g. class objects not segmented, noisy segmentation mask edges, random annotations of bushes/trees labeled as trains/cars) in the training and val folds, which makes training and evaluating a model for instance segmentation very difficult. I believe they will need to correct these annotations for this dataset to be viable for instance segmentation, or they will need to publish a list of the problematic images/annotations. In their paper, they also report performance well below the COCO benchmark (scores that are less than half of COCO SOTA), implying that the combination of class imbalance and noisy annotations is causing real problems (this task should certainly not be harder than COCO, even if it is scarce). I also experienced similar issues with the seg_track_20 dataset. Hopefully these issues can be resolved quickly, this dataset has a lot of untapped potential. |
Thanks for your findings, there are really bugs in to_scalabel.py. Now you may need to pull the lasted version to your local repo |
Thank you @XiaLiPKU. I pulled the latest commit and converted it. Now the converted json has instances for all the 8 categories needed for instance segmentation.
|
Could the authors(@fyu) kindly verify this?
I downloaded the latest annotations of instance segmentation along with the latest image set and wanted to train mask-rcnn.
I notice that there are no instances of 'pedestrian' which is category id: 1.
Could someone please cross-check this.
The text was updated successfully, but these errors were encountered: