성원 commited on
Commit
0eeb6ec
·
1 Parent(s): 95a7f01
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
- [255, 0, 0],
21
- [255, 94, 0],
22
- [255, 187, 0],
23
- [255, 228, 0],
24
- [171, 242, 0],
25
- [29, 219, 22],
26
- [0, 216, 255],
27
- [0, 84, 255],
28
- [1, 0, 255],
29
- [95, 0, 255],
30
- [255, 0, 221],
31
- [255, 0, 127],
32
- [0, 0, 0],
33
- [255, 216, 216],
34
- [250, 244, 192],
35
- [212, 244, 250],
36
- [232, 217, 255],
37
- [255, 217, 236],
38
  ]
39
 
40
  labels_list = []
 
17
  def ade_palette():
18
  """ADE20K palette that maps each class to RGB values."""
19
  return [
20
+ [0, 0, 0],
21
+ [0, 0, 0],
22
+ [0, 0, 0],
23
+ [0, 0, 0],
24
+ [0, 0, 0],
25
+ [0, 0, 0],
26
+ [0, 0, 0],
27
+ [0, 0, 0],
28
+ [0, 0, 0],
29
+ [0, 0, 0],
30
+ [0, 0, 0],
31
+ [0, 0, 0],
32
+ [0, 0, 0],
33
+ [0, 0, 0],
34
+ [0, 0, 0],
35
+ [0, 0, 0],
36
+ [0, 0, 0],
37
+ [0, 0, 0],
38
  ]
39
 
40
  labels_list = []