UnYong00 commited on
Commit
37a6890
·
1 Parent(s): b6c1771
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -17,24 +17,24 @@ model = TFSegformerForSemanticSegmentation.from_pretrained(
17
  def ade_palette():
18
  """ADE20K palette that maps each class to RGB values."""
19
  return [
20
- [204, 87, 92],
21
- [112, 185, 212],
22
- [45, 189, 106],
23
- [234, 123, 67],
24
- [78, 56, 123],
25
- [210, 32, 89],
26
- [90, 180, 56],
27
- [155, 102, 200],
28
- [33, 147, 176],
29
- [255, 183, 76],
30
- [67, 123, 89],
31
- [190, 60, 45],
32
- [134, 112, 200],
33
- [56, 45, 189],
34
- [200, 56, 123],
35
- [87, 92, 204],
36
- [120, 56, 123],
37
- [45, 78, 123]
38
  ]
39
 
40
  labels_list = []
 
17
  def ade_palette():
18
  """ADE20K palette that maps each class to RGB values."""
19
  return [
20
+ [255, 0, 0],
21
+ [85, 0, 0],
22
+ [255, 193, 158],
23
+ [255, 94, 0],
24
+ [255, 228, 0],
25
+ [29, 219, 22],
26
+ [71, 102, 0],
27
+ [54, 255, 255],
28
+ [0, 84, 255],
29
+ [3, 0, 102],
30
+ [183, 120, 255],
31
+ [95, 0, 255],
32
+ [255, 178, 217],
33
+ [255, 72, 255],
34
+ [153, 0, 76],
35
+ [140, 140, 140],
36
+ [25, 25, 25],
37
+ [255, 255, 255],
38
  ]
39
 
40
  labels_list = []