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

[Feature] add bdd100K datasets #3158

Merged
merged 6 commits into from
Jul 14, 2023

Conversation

CastleDream
Copy link
Contributor

@CastleDream CastleDream commented Jul 2, 2023

Motivation

Integrate BDD100K dataset. It shares the same classes as Cityscapes, and it's commonly used for evaluating segmentation/detection tasks in driving scenes, such as in RobustNet, WildNet.

Enhancement for Add BDD100K Dataset #2808

@CastleDream CastleDream changed the title [Backlog] add bdd100K datasets #3155 [Backlog] add bdd100K datasets #2808 Jul 2, 2023
@CastleDream CastleDream changed the title [Backlog] add bdd100K datasets #2808 [Backlog] add bdd100K datasets Jul 2, 2023
@CastleDream CastleDream changed the title [Backlog] add bdd100K datasets [Enhancement] add bdd100K datasets Jul 2, 2023
Comment on lines 10 to 20
classes=('road', 'sidewalk', 'building', 'wall', 'fence', 'pole',
'traffic light', 'traffic sign', 'vegetation', 'terrain',
'sky', 'person', 'rider', 'car', 'truck', 'bus', 'train',
'motorcycle', 'bicycle', 'Unlabeled'),
palette=[[128, 64, 128], [244, 35, 232], [70, 70, 70], [102, 102, 156],
[190, 153, 153], [153, 153, 153], [250, 170,
30], [220, 220, 0],
[107, 142, 35], [152, 251, 152], [70, 130, 180],
[220, 20, 60], [255, 0, 0], [0, 0, 142], [0, 0, 70],
[0, 60, 100], [0, 80, 100], [0, 0, 230], [119, 11, 32],
[0, 0, 0]])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we remove the Unlabeled class?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes,we should keep consistent with Cityscapes. In [bdd100k/label.py]
(https://github.com/bdd100k/bdd100k/blob/master/bdd100k/label/label.py#L42C47-L42C47) mentions:

# Our extended list of label types. Our train id is compatible with Cityscapes
labels = [
    #       name                     id    trainId   category catId
    #       hasInstances   ignoreInEval   color
    Label("unlabeled", 0, 255, "void", 0, False, True, (0, 0, 0)),

but i am confused that why some dataset.py, for example in datasets/mapillary.py, including Unlabeled, and most other dataset.py, didn't include.

and in the openMMLabCamp classes video, the teacher also add Unlabeled when import custom dataset..

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might depend on the requirements at the time of creating the dataset, and if there is a need to accurately recognize the background class, then it is necessary to include this class.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine, thanks for your apply!

@xiexinch xiexinch changed the title [Enhancement] add bdd100K datasets [Feature] add bdd100K datasets Jul 13, 2023
@xiexinch xiexinch merged commit 057155d into open-mmlab:dev-1.x Jul 14, 2023
8 of 10 checks passed
@CastleDream CastleDream deleted the CastleDream/ADD_BDD100K branch July 14, 2023 06:28
@CastleDream CastleDream restored the CastleDream/ADD_BDD100K branch July 23, 2023 07:12
nahidnazifi87 pushed a commit to nahidnazifi87/mmsegmentation_playground that referenced this pull request Apr 5, 2024
## Motivation
Integrate [BDD100K](https://paperswithcode.com/dataset/bdd100k) dataset.
It shares the same classes as Cityscapes, and it's commonly used for
evaluating segmentation/detection tasks in driving scenes, such as in
[RobustNet](https://arxiv.org/abs/2103.15597),
[WildNet](https://github.com/suhyeonlee/WildNet).

Enhancement for Add BDD100K Dataset open-mmlab#2808

---------

Co-authored-by: xiexinch <[email protected]>
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

Successfully merging this pull request may close these issues.

None yet

3 participants