James332 commited on
Commit
6300436
1 Parent(s): b0741f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -19
app.py CHANGED
@@ -17,25 +17,27 @@ 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
- [156, 200, 56],
 
 
39
 
40
  ]
41
 
 
17
  def ade_palette():
18
  """ADE20K palette that maps each class to RGB values."""
19
  return [
20
+ [32, 90, 210],
21
+ [56, 123, 67],
22
+ [180, 56, 123],
23
+ [123, 67, 45],
24
+ [45, 134, 200],
25
+ [67, 56, 123],
26
+ [78, 123, 67],
27
+ [32, 210, 90],
28
+ [45, 56, 189],
29
+ [123, 56, 123],
30
+ [56, 156, 200],
31
+ [189, 56, 45],
32
+ [112, 200, 56],
33
+ [56, 123, 45],
34
+ [200, 32, 90],
35
+ [123, 45, 78],
36
+ [200, 156, 56],
37
+ [45, 67, 123],
38
+ [56, 45, 78],
39
+
40
+
41
 
42
  ]
43