Skip to content

Instantly share code, notes, and snippets.

View erfan-zekri's full-sized avatar
💭
Something good is going to happen

Erfan Zekri Esfahani erfan-zekri

💭
Something good is going to happen
View GitHub Profile
@erfan-zekri
erfan-zekri / ade_palette.py
Last active August 15, 2023 11:16
ADE Color Palette Python
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],