This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ade_palette(): | |
"""ADE20K palette that maps each class to RGB values.""" | |
return [[120, 120, 120], [180, 120, 120], [6, 230, 230], [80, 50, 50], | |
[4, 200, 3], [120, 120, 80], [140, 140, 140], [204, 5, 255], | |
[230, 230, 230], [4, 250, 7], [224, 5, 255], [235, 255, 7], | |
[150, 5, 61], [120, 120, 70], [8, 255, 51], [255, 6, 82], | |
[143, 255, 140], [204, 255, 4], [255, 51, 7], [204, 70, 3], | |
[0, 102, 200], [61, 230, 250], [255, 6, 51], [11, 102, 255], | |
[255, 7, 71], [255, 9, 224], [9, 7, 230], [220, 220, 220], | |
[255, 9, 92], [112, 9, 255], [8, 255, 214], [7, 255, 224], |