Update app.py
Browse files
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 |
-
[
|
21 |
-
[
|
22 |
-
[
|
23 |
-
[
|
24 |
-
[
|
25 |
-
[
|
26 |
-
[
|
27 |
-
[
|
28 |
-
[
|
29 |
-
[
|
30 |
-
[
|
31 |
-
[
|
32 |
-
[
|
33 |
-
[56,
|
34 |
-
[200,
|
35 |
-
[
|
36 |
-
[
|
37 |
-
[45,
|
38 |
-
[
|
|
|
|
|
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 |
|