app.py
CHANGED
@@ -17,25 +17,25 @@ model = TFSegformerForSemanticSegmentation.from_pretrained(
|
|
17 |
def ade_palette():
|
18 |
"""ADE20K palette that maps each class to RGB values."""
|
19 |
return [
|
20 |
-
[
|
21 |
-
[
|
22 |
-
[
|
23 |
-
[
|
24 |
[78, 56, 123],
|
25 |
[210, 32, 89],
|
26 |
[90, 180, 56],
|
27 |
-
[
|
28 |
[33, 147, 176],
|
29 |
[255, 183, 76],
|
30 |
-
[
|
31 |
[190, 60, 45],
|
32 |
[134, 112, 200],
|
33 |
-
[
|
34 |
[200, 56, 123],
|
35 |
[87, 92, 204],
|
36 |
-
[
|
37 |
-
[
|
38 |
-
[
|
39 |
|
40 |
]
|
41 |
|
|
|
17 |
def ade_palette():
|
18 |
"""ADE20K palette that maps each class to RGB values."""
|
19 |
return [
|
20 |
+
[255, 178, 217],
|
21 |
+
[243, 97, 220],
|
22 |
+
[153, 0, 133],
|
23 |
+
[255, 217, 250],
|
24 |
[78, 56, 123],
|
25 |
[210, 32, 89],
|
26 |
[90, 180, 56],
|
27 |
+
[242, 203, 97],
|
28 |
[33, 147, 176],
|
29 |
[255, 183, 76],
|
30 |
+
[255, 0, 127],
|
31 |
[190, 60, 45],
|
32 |
[134, 112, 200],
|
33 |
+
[153, 0, 133],
|
34 |
[200, 56, 123],
|
35 |
[87, 92, 204],
|
36 |
+
[255, 0, 221],
|
37 |
+
[134, 229, 127],
|
38 |
+
[103, 153, 255],
|
39 |
|
40 |
]
|
41 |
|