chainercv icon indicating copy to clipboard operation
chainercv copied to clipboard

ADE20k's label names are not appropriate

Open soskek opened this issue 7 years ago • 2 comments

For example, the list ade20k_semantic_segmentation_label_names has two "tree" https://github.com/chainer/chainercv/blob/master/chainercv/datasets/ade20k/ade20k_utils.py#L27 https://github.com/chainer/chainercv/blob/master/chainercv/datasets/ade20k/ade20k_utils.py#L95

Some values are different from the original in https://github.com/CSAILVision/sceneparsing.

soskek avatar Feb 28 '19 02:02 soskek

https://github.com/CSAILVision/sceneparsing/blob/master/objectInfo150.txt The current values may be extracted from the last column of this file, followed by splitting it with a blank and picking the last element. So, class palm, palm tree is converted to tree.

soskek avatar Feb 28 '19 03:02 soskek

I remember extracting label names from that text file. (also in csv format https://github.com/CSAILVision/semantic-segmentation-pytorch/blob/master/data/object150_info.csv) I should have been more carefully with parsing names.

yuyu2172 avatar Feb 28 '19 09:02 yuyu2172